Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: typos, formatting

...


StepCommand
1Include the CDE fonts in the fontserver's cataloguecatalog.

Use a text editor to open the file

/etc/X11/fs/config

If not already there, append

,/usr/dt/config/xfonts/C

to the end of the line beginning with

catalogue =

2Enable the automatic start of the fontserver at boot.

Use a text editor to open the file

/etc/rc.config.d/xfs

If not already set, set the following variable to 1:

RUN_X_FONT_SERVER=1

3(Re)start the fontserver.

# /sbin/init.d/xfs stop

# /sbin/init.d/xfs start

4Test if the fontserver responds to queries.

Enter the following command on the system running the X-Server:

$ fslsfonts -server 192.168.2.88:7000 -fn '-dt*' | head

This should produce output similar to the following:

Code Block
languagetext
themeEclipse
-dt-application-bold-i-normal-sans-10-100-75-75-p-60-hp-roman8
-dt-application-bold-i-normal-sans-10-100-75-75-p-60-iso8859-1


...


StepCommand
1Create a directory to store the additional fonts. 

For example:

# mkdir /usr/share/fonts/hp-fonts1

# mkdir /usr/share/fonts/hp-fonts2

2Copy the missing fonts from the HP-UX guest to the new directory. 

Example using the most likely missing fonts:

# cd /usr/share/fonts/hp-fonts1

# scp <hp-ux-ip>:/usr/lib/X11/fonts/hp_roman8/75dpi/* .

# cd /usr/share/fonts/hp-fonts2

# scp <hp-ux-ip>:/usr/dt/config/xfonts/C/* .

3Create an updated fonts.dir file.

For each newly created fonts directory execute the following command:

# cd <directory containing the fonts>

# mkfontdir

4Check if fontpath can be added to X-Server.

Assuming you run a graphical user session on Linux, use the following command to add a new font directory to your server (until next restart):

# xset fp+ <directory containing the fonts>

To display the fontpath of the currently used X-Server, use the following command:

# xset q

5Refresh the font cache.

Run the following command to refresh the font cache:

# fc-cache -fv

6Verify whether your X-Server finds the fonts.

Assuming you run a graphical user session on Linux, use the following command to query the X-Server for known fonts (using HP-UX fontnames as an example):

# xlsfonts -fn '-dt*' | head

...


StepCommand
1Start Xephyr.

Use local font directories:

$ Xephyr :20 -ac -screen 950x540 -query <hp-ux-guest-ip> \
  -fp <new-font-directory1>, <new-font-directory2>,...

Use fontserver:

$ Xephyr :20 -ac -screen 950x540 -query <hp-ux-guest-ip> \
  -fp tcp/
<hp-ux-guest-ip>:7000/all

Parameters:

  • :20 - the DISPLAY variable is set to :20
  • -ac - no access control to the X-Server
  • -screen - the dimensions of the X-display
  • -query - requests an XDMCP session from the HP-UX guest
  • -fp - add the local fontpath for HP fonts or a fontserver

For more information refer to the man-pages of your Linux system.

2A CDE login window will appear in the Xephyr window.

...