...
Step | Command | |
---|---|---|
1 | Start Xephyr. |
Parameters:
For more information refer to the man-pages of your Linux system. |
2 | Start an xterm inside Xephyr and create a SSH connection to HP-UX. |
|
3 | Wait for the password prompt inside the xterm window and enter the password for the HP-UX user. | |
4 | An X-Session for the user will open in the Xephyr window. |
...
Step | Description | |
---|---|---|
1 | Create a system-specific copy of the Xconfig file | # cp /usr/dt/config/Xconfig /etc/dt/config/Xconfig |
2 | Enable XDMCP. | Edit the file:
Locate the following line and insert a comment character, '#', at the beginning of the line. Save the file. |
3 | Restart the X-server. |
(If there is no dtlogin file in /etc/init.d, you first have to run |
Font Considerations
Often, the system running the X-Server does not have all the necessary fonts to run HP-UX X-applications. In such cases, the graphical applications will not start. You can check if this is the case by monitoring the log file /usr/dt/Xerrors on the HP-UX guest system.
If fonts are missing, there are two ways to overcome the problem:
- Configure
...
- and activate the fontserver on HP-UX and include it in the fontpath on the system running the X-Server.
- Copy the missing fonts to the system running the X-Server and include them in the local fontpath.
Warning |
---|
Configuring a fontserver is preferable to copying the fonts. However, so far tests between X-Servers and the fontserver running on HP-UX were unsucessfull. Therefore, even though the description below is correct, it is unlikely to work until the cause of the problem has been identified. |
Configuring HP-UX as a Fontserver
To configure and activate the fontserver on HP-UX, perform the following steps:
Step | Command | ||||||||
---|---|---|---|---|---|---|---|---|---|
1 | Include the CDE fonts in the fontserver's catalogue. | Use a text editor to open the file
If not already there, append
to the end of the line beginning with
| |||||||
2 | Enable the automatic start of the fontserver at boot. | Use a text editor to open the file
If not already set, set the following variable to 1:
| |||||||
3 | (Re)start the fontserver. |
| |||||||
4 | Test if the fontserver responds to queries. | Enter the following command on the system running the X-Server:
This should produce output similar to the following:
|
By default, the fontserver runs on port 7000. This port must be allowed through any intermediate firewalls.
Once the fontserver responds to queries, it should be possible to add it to the fontpath of the X-Server (see below in the operating system specific sections).
Copying Missing Fonts to a Linux X-Server
To add HP-UX fonts to the Linux system running the X-Server perform the following steps:
Step | Command | |
---|---|---|
1 | Create a directory to store the additional fonts. | For example:
|
2 | Copy the missing fonts from the HP-UX guest to the new directory. | Example using the most likely missing fonts:
|
3 | Create an updated fonts.dir file. | For each newly created fonts directory execute the following command:
|
4 | Check 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):
To display the fontpath of the currently used X-Server, use the following command:
|
5 | Refresh the font cache. | Run the following command to refresh the font cache:
|
6 | Verify 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):
|
Connect to HP-UX from Linux
...
This section shows how to use Xephyr to connect to a HP-UX guest system using XDMCP.
Perform the following steps to start an Xsession via XDMCP.
Step | Command | |
---|---|---|
1 | Start Xephyr. | Use local font directories:
Use fontserver:
Parameters:
For more information refer to the man-pages of your Linux system. |
2 | A CDE login window will appear in the Xephyr window. |
Connect to HP-UX from Windows
...
This section shows how to use Xming to connect to a HP-UX guest system using XDMCP.
For this setup no fontserver was configured and no fonts were copied.
Step | Description | |
---|---|---|
1 | Start XLaunch from the Xming section in the Start menu. Make sure that Xming is not already running before you start | |
2 |
| |
3 |
| |
4 |
| |
5 | Finish 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. | |
6 | The HP-UX graphical login screen is displayed and after logging in, you will see the graphical desktop. |
Include Page | ||||
---|---|---|---|---|
|