Use xmanager to connect to centos
1. Take connecting to Centos6.5 as an example to disable the firewall first.
# Service iptables stop
# Chkconfig -- level 345 iptables off
2. Install XDM and use XDMCP to Manage X Display Sets
# Yum install xdm
3. Modify the/etc/X11/xdm/Xaccess file and find the following statement:
- # * # Anyhostcangetaloginwindow
Remove the # At the beginning of the line and make it:
- * # Anyhostcangetaloginwindow
4. Set the system to graphical mode and edit/etc/inittab,
# Vi/etc/inittab
- Id: 5: initdefault:
// Set the system running level to 5. If it is 5, no modification is required.
5. Modify the/etc/TPD/custom. conf file.
Find the following statement:
- [Xdmcp]
Add the following two lines to the sentence:
- Enable = true
- Port = 177
In
- [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