準(zhǔn)備軟件:
軟件下載地址:http://www.companysz.com/softs/60128.html
前置條件:
# cat /etc/issue
或cat /etc/redhat-release
(Linux查看版本當(dāng)前操作系統(tǒng)發(fā)行版信息)
查詢結(jié)果:
[root@localhost ~]# cat /etc/issue
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
Kernel /r on an /m
============如果你的配置同我一樣可以參考,否則不負(fù)責(zé)保證一定能配置成功=================
===========Step 1===============
修改/usr/share/gdm/defaults.conf文件
[行號(hào):214] AllowRemoteRoot=true
[行號(hào):216] AllowRemoteAutoLogin=true
[行號(hào):263] Enable=true
[行號(hào):279] DisplaysPerHost=10
[行號(hào):284] Port=177
===========Step 2===============
修改/etc/inittab文件
修改前
[53]#x:5:respawn:/etc/X11/prefdm -nodaemon
修改后
[53]x:5:respawn:/usr/sbin/gdm
然后用XStart連接即可。
===========Step 3===============
/etc/gdm/custom.conf
最好是用SSH工具保存
如果想用XDMCP方式,還需要更改如下配置:
[行號(hào):42][daemon]
[行號(hào):43]RemoteGreeter=/usr/libexec/gdmgreeter 《====新增
[行號(hào):44][security]
[行號(hào):45]AllowRemoteRoot=true 《====新增
[行號(hào):46][xdmcp]
[行號(hào):47]Enable=true 《====新增
[行號(hào):50][greeter]
[行號(hào):51]Brwser=true 《====新增
===========Step 4===============
使用如下命令重啟gdm服務(wù)
# /usr/sbin/gdm-restart
|
新聞熱點(diǎn)
疑難解答
圖片精選