Use Xmanager to connect to Linux in RHEL5.4

Source: Internet
Author: User
Rhel5 is different from rhel4! Set display in rhel4, and Xmanager will be able to connect to rhel5. You need to configure/usr/share/TPD/defaults. conf. If this parameter is not set, Xmanager cannot be connected. [Xdmcp] Enable = 1 // Add the/usr/share/TPD/defaults. conf file to make sure there are the following lines: Enable = true

Rhel5 is different from rhel4! Set display in rhel4 to connect Xmanager

Rhel5 requires/usr/share/TPD/defaults. conf. If this parameter is not set, Xmanager cannot be connected.

[Xdmcp]
Enable = 1 // Add this row

Modify the/usr/share/TPD/defaults. conf file to ensure that the file contains the following lines:
Enable = true // The original value is Enable = false
DisplaysPerHost = 10 // The original row is commented out and the value is 2
Port = 177 // the original line is commented out

Modify the/etc/inittab file, change the default level to 5, and add the following lines: after the actual experiment changes 5 to 3, xmanager can still be removed.
X: 5: respawn:/usr/sbin/TPD

[Security]
AllowRoot = true
AllowRemoteRoot = true
If the firewall is enabled, run the following command to open port 177:
Iptables-a input-p udp -- dport 177-j ACCEPT

Servers iptables save

Restart, reboot

If the connection is successful, use # xclock to test whether a frame of a clock is displayed.

Under the Oracle user. bash_profile
You can add: DISPLAY = 192.168.0.100: 0.0

Note that 192.168.0.100 is the IP address of the local host (that is, the IP address of your laptop)

Reading:

RedHat Enterprise Linux 6.4 configure Xmanager 4 http://www.linuxidc.com/Linux/2013-05/85075.htm

Configure the Xmanager graphical interface http://www.linuxidc.com/Linux/2013-02/79340.htm under AIX 5.3

Connect to CentOS 5.5 http://www.linuxidc.com/Linux/2012-12/77035.htm with Xmanager

Xmanager Use Summary http://www.linuxidc.com/Linux/2012-11/74870.htm

Replacing Xmanager with Xming and logging on to Linux http://www.linuxidc.com/Linux/2012-10/72548.htm in Windows

For more information about RedHat, see RedHat topic page http://www.linuxidc.com/topicnews.aspx? Tid = 10

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.