Xmanager remotely logs on to the GNOME desktop of rhel5 Server

Source: Internet
Author: User
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:

    1. Enable = true
    2. Displaysperhost = 10
    3. 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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.