Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: introductory sentence added; typo; clarifications

...

  • Xsession started via ssh
  • Xsession started via XCMCP

The following points are discussed in more detail:

Table of Contents
excludeTable of contents
stylesquare

...


StepCommand
1Start Xephyr.

$ Xephyr :20 -ac -screen 950x540

Parameters:

  • :20 - the DISPLAY variable is set to :20
  • -ac - no access control to the X-Server
  • -screen - the dimensions of the X-display (example only)

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

2Start an xterm inside Xephyr and create a SSH connection to HP-UX.

$ xterm -display :20  \
   -e ssh -Yf <user@hp-ux-ip-address> /usr/dt/bin/Xsession

3Wait for the password prompt inside the xterm window and enter the password for the HP-UX user.
4An X-Session for the user will open in the Xephyr window.

...


StepDescription
1Create a system-specific copy of the Xconfig file# cp /usr/dt/config/Xconfig /etc/dt/config/Xconfig
2Enable XDMCP.

Edit the file:

# vi etcvi /etc/dt/config/Xconfig

Locate the following line and insert a comment character, '#', at the beginning of the line.
        Dtlogin.requestPort: 0

Save the file.

3Restart the X-server.

# /etc/init.d/dtlogin restart

(If there is no dtlogin file in /etc/init.d, you first have to run
        /usr/dt/bin/dtconfig -e )

...


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

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<font-server-ip>: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
1Start Xephyr.

Use local font directories:

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

Use fontserver:

$ Xephyr :20 -ac -screen 950x540 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 (example only)
  • -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.

...


StepDescription
1

Start XLaunch from the Xming section in the Start menu.

Make sure that Xming is not already running before you start

2
  • Select the option One Window. This is one of the options supporting XDMCP.
  • Press Next to continue

3
  • Select XDMCP for the session.
  • Press Next to continue.

4
  • Enter the IP address or hostname of the virtual SPARC HP-UX system.
  • Press Next to continue.

5Finish the setup by continuing through the remainder of the sections (for this example all the defaults were accepted) and press Finish on the last configuration screen of XLaunch.
6The HP-UX graphical login screen is displayed and after logging in, you will see the graphical desktop.

...