Preparation: 1,centos 6.5 minimal Desktop
2. Configure CentOS to access the Internet or configure the CD local Yum source
Start: 1, use the command yum install XDM installation XDm
Manage X-Monitor collections with XDMCP support
2. Modify the/etc/x11/xdm/xaccess file to find the following statement: # * #any host can get a login window,
Remove the first # of this line and become: * #any host can get a login window
3. Modify the/etc/gdm/custom.conf file.
Find the following statement: [XDMCP], add the following two lines under this sentence:
Enable=true
port=177
Add under [Security]
Allowremoteroot=true
After modifying the custom.conf, GDM must be restarted before it can take effect. The specific practice is GDM in the kill process and then restarts GDM:
#/usr/sbin/gdm-restart
4, open the 177 port in the firewall, modify the/etc/sysconfig/iptables file,
In-a input-m state--state new-m tcp-p TCP--dport 22-j accept this line add the following two lines below
-A input-m state--state new-m tcp-p TCP--dport 6000:6010-j ACCEPT
-A input-m state--state new-m udp-p UDP--dport 177-j ACCEPT
Gaocheng, and finally restart the firewall (service iptables restart) to experience remote connection to the Linux desktop.
This article is from the "Black Patches" blog, so be sure to keep this source http://advice.blog.51cto.com/687465/1599595
Xmanager 4.0 connecting CentOS 6.5