准备软件:
软件下载地址:
前置条件:
	# cat /etc/issue 或cat /etc/redhat-release(linux查看版本当前操作系统发行版信息)
查询结果:
	[root@localhost ~]# cat /etc/issue
	red hat enterprise linux server release 5.8 (tikanga)
	kernel \\r on an \\m
============如果你的配置同我一样可以参考,否则不负责保证一定能配置成功=================
	===========step 1===============
	修改/usr/share/gdm/defaults.conf文件
	[行号:214] allowremoteroot=true
	[行号:216] allowremoteautologin=true
	[行号:263] enable=true
	[行号:279] displaysperhost=10
	[行号: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方式,还需要更改如下配置:
	[行号:42][daemon]
	[行号:43]remotegreeter=/usr/libexec/gdmgreeter 《====新增
	[行号:44][security]
	[行号:45]allowremoteroot=true 《====新增
	[行号:46][xdmcp]
	[行号:47]enable=true 《====新增
	[行号:50][greeter]
	[行号:51]brwser=true 《====新增
	===========step 4===============
	使用如下命令重启gdm服务
	# /usr/sbin/gdm-restart
	原文链接:http://www.cnblogs.com/autumn/articles/4623945.html
        

    		
            	
        
        
        