1
vi /etc/X11/xdm/Xaccess
Remove "#" * # any host can get a login window
2
vi /etc/X11/gdm/gdm.conf
或者 /etc/gdm/custom.conf
[xdmcp]
Enable=true
3
vi /etc/X11/xdm/xdm-config
Go to the last line.
Add "!" in the beginning of the line.
4 成为root用户 杀掉/usr/X11R6/bin/X进程,系统会重启X进程
kill `ps -ef|grep -v grep|grep "/usr/X11R6/bin/X" |awk '{print $2}'`
kill -USR1 `cat /var/run/gdm.pid`
完
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/271063/viewspace-1029767/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/271063/viewspace-1029767/