Xmanager 4.0 connects to CentOS 6.5 and xmanagercentos
Preparation: 1, CentOS 6.5 minimal Desktop
2. Configure CentOS to access the Internet or configure the local yum source of the CD
Start: 1. Run the yum install xdm command to install XDM.
Use XDMCP support to manage X Display Sets
2. Modify the/etc/X11/xdm/Xaccess file and find the following statement: # * # any host can get a login window,
Remove the # sign at the beginning of this line and become: * # any host can get a login window
3. Modify the/etc/TPD/custom. conf file.
Find the following statement: [xdmcp], and add the following two lines under this sentence:
Enable = true
Port = 177
Under [security], add
AllowRemoteRoot = true
After you modify custom. conf, you must restart the system to make the modification take effect. The specific method is to kill the guid in the process, and then restart the target instance:
#/Usr/sbin/TPD-restart
4. enable port 177 in the firewall; modify the/etc/sysconfig/iptables file,
Add the following two rows to the row-a input-m state -- state NEW-m tcp-p tcp -- dport 22-j ACCEPT.
-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
After all, restart the firewall (service iptables restart) to remotely connect to the linux Desktop.
Other brilliant articles
JQuery tutorial (9)-copying element of DOM tree operations android learning notes (35) android AlertDialog create List dialog box [2] android shareSDK sso logon details of Sina and mysql index types-B-Tree index BroadcastReceiver the app crashed after AlertDialog