OpenWindows Advanced User's Guide

E.3 Displaying a Remote Client on a VAX

You can run X11 clients on an OpenWindows machine and display them on a DECwindows server by setting the DISPLAY variable to the remote VAX system.

Before you can run any of the X11 clients you must compile and install the OpenWindows fonts in the DECwindows server. These fonts are available in the X11R5 release or in the optional font package with the OpenWindows software. Follow these steps to install the proper fonts in the DECwindows server:

  1. Install the optional OpenWindows font sources (of the font sources from the X11R5 release) on the OpenWindows machine.

  2. See the Solaris X Window System Developer's Guide for font installation instructions.

  3. Copy the font sources to a directory on the VAX system.

    $ cd /usr/openwin/share/src/fonts/misc$ dnicp *.bdf `decvax::[vaxdir]'
    

  4. Compile the cursor fonts on the VAX system.

    This results in files such as: olcursor.decw$font;1 olglyph10.decw$font;1...

    $ font olcursor.bdf
    $ font olglyph10.bdf
    ...
    

  5. Copy the fonts to the sysfont directory:

    $ set def sys$sysroot:[sysfont.decw.user_cursor16]
    $ copy [vaxdir]olcursor.decw$font;1 *
    


    Note -

    You must be logged in as "system" on the DEC VAX system to copy the fonts to the sysfont directory.


  6. You must also perform steps 2-4 for the rest of the cursor fonts and for the Lucida fonts in /usr/openwin/share/src/fonts/75dpi and /usr/openwin/share/src/fonts/100dpi.


    Note -

    The Lucida fonts should be installed in sys$sysroot:[sysfont.decw.user_75dpi] and sys$sysroot:[sysfont.decw.user_100dpi].


    The following list shows the minimum working set of fonts needed to be installed in order to run the OpenWindows DeskSet tools. If you are using default fonts for the applications you should only have to install these fonts. You can, however, install more fonts as needed.

    • olcursor.bdf

    • olglyph10.bdf

    • olglyph12.bdf

    • olglyph14.bdf

    • olglyph19.bdf

    • luBS08.bdf

    • luBS10.bdf

    • luBS12.bdf

    • luBS14.bdf

    • luRS08.bdf

    • luRS10.bdf

    • luFS12.bdf

    • lutBs12.bdf

    • lutRS10.bdf

    • lutRS12.bdf

  7. Restart the DECwindows server.

  8. You can verify that the fonts were installed by listing the available fonts in the DECwindows server:

    $ DISPLAY=decvax::0
    $ xlsfonts | grep Sun   (Cursor fonts)$ xlsfonts | grep Lucida
    

  9. Make sure you have given the OpenWindows node permission to display on the DECwindows server by using the Security Menu in the DECwindows Session Manager.

  10. Run an X11 application (for example, an OpenWindows DeskSet tool).

    $ DISPLAY=decvax::0
    $ mailtool
    


    Note -

    DNI_X_ENABLE must be set to the location of the DNI transport library libdni. See Step 1 under "E.1 Setting Up DECnet Internetworking", in this chapter.


    If an error message such as the one below is printed, you need to install that font in the DECwindows server in order to run the application.


    XView warning: Cannot load font
      `-b&h-lucida-medium-r-*-*-*-80-*-*-*-*-*-*' (Font package)

    This error message means font luRS10.bdf needs to be installed.

    See the Solaris X Window System Developer's Guide for more information on fonts.