The VNC configuration in the previous article is already very convenient, this article introduces the more simple Xmanager configuration, the Xmanager picture is good one loses.
Xmanager Server Configuration
Linux Remote Desktop (ii): VNC's xinetd Service setup configuration
The following two files are mainly modified (under root privileges):
(1)/usr/share/gdm/defaults.conf//gnome Manage default profiles, edit/etc/gdm/custom.conf, enable XDMCP
(2)/etc/inittab//inittab Process master configuration file
Step One:
(1) Set defaults.conf permissions
/usr/share/gdm/defaults.conf
(2) Modify the defaults.conf file
/usr/share/gdm/defaults.conf/usr/share/gdm/defaults.conf-/usr/share/gdm/defaults.conf
Modify the Content section of defaults.conf (or custom.conf):
[Security]allowroot=true // allow root login allowremoteroot=true // Allow root Telnet [Xdmcp]enable=truedisplaysperhost=ten // number of allowed terminals port=177
Step Two: Modify the Inittab file
# cat/etc/inittab| grep ID /etc/inittab/etc/inittab-/etc/inittab
Modify the section (refer to the VNC xinetd Service Setup Configuration step four (2) section):
Id:5:initdefault:
And in the last sentence,
X:5:respawn:/etc/x11/prefdm-nodaemon changed into X:5:RESPAWN:/USR/SBIN/GDM
Step three: Restart the GDM service
#/usr/sbin/GDM /usr/sbin/gdm-restart (restart GDM service) # GDM-restart (restart GDM, may enter the pure command interface, using /usr/sbin/gdm--ef | grep GDM (view GDM service)
Step Four:
(1) Adding firewall rules
Refer to step five of VNC's xinetd service setup configuration
0/00/0177 -j ACCEPT
(2) Save, restart, or shut down the firewall
#/sbin/service Iptables Save // Keep rules in/etc/sysconfig/iptables file #/sbin/service Iptables Restart // Restart firewall #/sbin/service iptables stop // Turn off firewall #/sbin/ Service iptables status // View Firewall State
(3) Check the 177 port monitoring situation
177/usr/sbin/lsof-i:177
If there are errors please also indicate, if there is infringement please inform, if you want to reprint please specify the source!
My blog: http://www.cnblogs.com/yllinux/
Linux Remote Desktop (iii)