Refer to Brother ingood's Article <Xmanager RedHat Linux Connection issues on as4 Solution >, Thank you.
RHEL5. What is different from RHEL4 is that rhel5 does not containDirectory, Rhel5 for the configurationFilePut it here/usr/share/TPD/defaults. comf, which may be a problem for everyone.
Make sure the following configurations are available in/usr/share/TPD/defaults. conf:
- Enable = true
- Displaysperhost = 10
- Port = 177
CopyCode
Change the default level to 5 in the/etc/inittab:
ID: 5: initdefault:
Add the following sentence to the file:
X: 5: respawn:/usr/sbin/TPD
Then restartSystem. Then on WindowsRunXbrowser in xmanager2ProgramCreate an xmanager session in it, and enter the IP address in the host. Do not change other configurations (including the port number) to exit. Double-click the new xmanager session to view the logon interface:
Download(56.33 KB)
After entering the user name and password, you can log on to Gnome.
Download(130.74 KB)
Because it is a remote connection, the speed is slow.
The simpler method is to directly use gdmsetupCommandModify the gnome configuration.
On my rhel5 desktop, you can also remotely log on to the GNOME desktop on rhel5 server. Procedure:
Run the following command on the terminal on the desktop:
X: 1-quiet-query 192.168.20.2 &
Note: This command can be executed on character terminals or on gnome.
If there is a problem with the logon, You need to execute the xhost + command on the server. For more secure practices, see the xhost syntax. The xhost + command is just a convenient figure.
On the first terminal, the gnome logon interface on the server appears, which is the same as that on Windows XP xmanager.
Press CTRL + ALT + F7 to switch back to The GNOME desktop on the desktop. Press CTRL + ALT + F8 to switch to the GNOME desktop on the server. It feels cool! The first time I realized the greatness of XWindow!