How to configure Redhat EL6 use XDMCP (Xmanager)

我使用的是Win7,防火墙"入站规则"中阻止了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.

[本日志由 Ideal.Li 于 2011-06-23 04:50 PM 编辑]
文章来自: 本站原创
引用通告: 查看所有引用 | 我要引用此文章
Tags: Redhat6 XDMCP Xmanager
相关日志:
评论: 0 | 引用: 0 | 查看次数: 8371
发表评论
昵 称:
密 码: 游客发言不需要密码.
邮 箱: 支持Gravatar头像.
网 址: 输入网址便于回访.
内 容:
验证码:
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.
字数限制 1000 字 | UBB代码 开启 | [img]标签 关闭