在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地址登陸便可