I'm using the CentOS 6.4 system.
Vi/etc/x11/xdm/xaccess
If this file does not execute
Yum-y Install XDm
This file is generated when the installation is complete
Editor files find this sentence
#* #any host can get a login window
Take the top # off and save the exit
In the edit /etc/gdm/custom.conf
[Daemon]
[Security]
allowremoteroot=true
[XDMCP]
port=177
enable=1
[GUI]
[Greeter]
[Chooser]
[Debug]
[Servers]
at last, the desktop was Gdm-restart, but I've tried several machines and I don't know why. Direct init 6
In the firewall/etc/sysconfig/iptables file, add:
-A rh-firewall-1-input-m state--state new-m tcp-p TCP--dport 6000:6010-j ACCEPT
-A rh-firewall-1-input-m state--state new-m udp-p UDP--dport 177-j ACCEPT
Restart Service iptables Restart
Open Xmanager New XDMCP
Done
This article is from the "Paper Gun Group" blog, please be sure to keep this source http://qiaivheise.blog.51cto.com/7743217/1550588
Xmanager connecting to the Linux desktop