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