Linux5x 配置 Xmanager 图形界面的方法

Linux5x 配置 Xmanager 图形界面的方法

首先编辑GDM配置文件

vi /etc/gdm/custom.conf

在相关属性里面添加相应的值

1)root 用户访问设置
[security]

AllowRemoteRoot=true

[xdmcp]

Enable=true

2)除root外用户设置
[security]    

DisallowTCP=false

AllowRemoteRoot=true

[xdmcp]
Enable=1  

Post=177

重启GDM

/usr/sbin/gdm-restart


Xmanager连接gdm用的是UDP的177端口,所以防火墙上一定要打开这个端口:

a.查看防火墙信息:
#/etc/init.d/iptables status
b.关闭防火墙服务:
#/etc/init.d/iptables stop
c.加端口:
#/sbin/iptables -I INPUT -p tcp --dport 177 -j ACCEPT

posted on 2011-07-29 08:36  Three Apple  阅读(183)  评论(0编辑  收藏  举报

导航