Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Perform the following steps to start an Xsession via SSH.


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

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 -bg black -fg white -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.

Using XDMCP

Before using the X-server, XDMCP must be enabled on the guest system. XDMCP allows the HP-UX dtlogin screen to be displayed on remote X-Servers upon request of the X-Server.

...

Perform the following steps to enable XDMCP on HP-UX:


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 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 )

Configure the Font Server

...