在centos6.0系统上设置
vim
修改custom.conf文件centos
vim /etc/gdm/custom.confide
在[security]下面添加debug
AllowRemoteRoot=trueip
在[xdmcp]下面添加ci
Port=177it
Enable=1class
修改完后效果以下:登录
[daemon]bug
[security]
AllowRemoteRoot=true
[xdmcp]
Port=177
Enable=1
[greeter]
[chooser]
[debug]
保存退出
2.修改inittab文件
vim /etc/inittab
确保最后一行是
id:5:initdefault:
保存
3.重启系统
4.打开xbrowser直接输入ip地址登陆便可