手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

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

[日期:2012-01-28] 来源:Linux社区  作者:Linux [字体:大 中 小]

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了

linux
相关资讯       redhat 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款