在centos6.0系統上設置
修改custom.conf文件
vim /etc/gdm/custom.conf
在[security]下面添加
AllowRemoteRoot=true
在[xdmcp]下面添加
Port=177
Enable=1
修改完後效果如下:
[daemon]
[security]
AllowRemoteRoot=true
[xdmcp]
Port=177
Enable=1
[greeter]
[chooser]
[debug]
保存退出
2.修改inittab文件
vim /etc/inittab
確保最後一行是
id:5:initdefault:
保存
3.重啓系統
4.打開xbrowser直接輸入ip地址登錄即可