Red Hat Enterprise Linux 6使用 XDMCP (Xmanager)的一些设置

Red Hat Enterprise Linux 6 is different from Red hat Enterprise Linux 5.X

1. Open /etc/gdm/custom.conf and edit the security and xdmcp section like the followings:

[security] 
DisallowTCP=false

[xdmcp] 

Enable=true   ;其实只添加这行也可以 

Port=177


2. Add UDP port 177 to the Allow list on firewall.


防火墙关闭的就不用修改 

/etc/sysconfig/ipchains文件中加入以下语句: 

-A input -p udp -s 0/0 -d 0/0 177 -j accept


3. As an admin, do 'init 3' and then, 'init 5'


修改/etc/inittab,将 

id:3:initdefault: 

修改为: 

id:5:initdefault:


If you have enabled XDMCP and open UDP 177 on the server, make sure gdm is running. Use 'ps -aef | grep dm' and it should give you the display manager that is running on the server.


If it it not running, please make sure the display manager such as gdm or kdm is installed on the machine. Red Hat 6 does not install display manager by default.


如果改完了不好用请重起一下机器就OK了



-------------关闭防火墙

/etc/init.d/iptables status

会得到一系列信息,说明防火墙开着。

/etc/init.d/iptables stop

永久关闭:

chkconfig --level 35 iptables off

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/196700/viewspace-745425/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/196700/viewspace-745425/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值