配置Redhat AS 4/5 上得Xmanager

白天折腾了一下午,也没有搞定xmanger on redhat as5上面的配置,就又找了一些资源,还没有验证,感觉上应该没有什么问题了。

 

1)http://it.megocollector.com/?p=740

相对于大多数的文章,不同之处在于桌面环境的不同导致不同的实现管理器,所以应该使用不同的配置。

 

2)http://support.attachmate.com/techdocs/1680.html,1)引用的文章,涉及到更多的系统类型,不过配置之后,好像不需要重启系统。

 

3)http://www.netsarang.com/products/xmg_faq.html#d-3,xmanager官方说明,不太详细,不过我认为最重要的一条,就是防火墙的配置,大多数都提到了177端口:iptables  -A  INPUT  -p udp -s 0/0 -d 0/0 --dport 177 -j ACCEPT

,但 6000~6010没有说到。

 

附加说明:很多文章说要修改/etc/inittab,并且添加x:5:respawn:/usr/bin/gdm,好像没有必要,因为缺省的

     ” x:5:respawn:/etc/X11/prefdm -nodaemon “

会启动相应桌面环境的显示管理器。

 


(有时候显示不出来,粘贴到下边)

For XDMCP connection to Red Hat 5 EL
1. XDM Configuration
1. Change runlevel to 5

Open/etc/inittab and set the initial runlevel to 5 as following:
id:5:initdefault:

2. Enable XDMCP

     For GDM:
   
Open /etc/gdm/custom.conf and set the Enable entry to 1 in the [xdmcp] section as following.
[xdmcp]
Enable=1

     For KDM:
   
Open /usr/share/config/kdm/Xaccess and remove the initial "#" character for the following line:
#* #any host can get a login window ==>
* #any host can get a login window
Open /usr/share/config/kdm/kdmrc and set the Enable entry to true in the [xdmcp] section as following.
[xdmcp]
Enable=true

2. Firewall (TCP/UDP Ports) Configuration
Open UDP port 177 from the PC to the remote host direction.
Open incoming TCP ports 6000~6010 from the remote host to your PC.
3. Reboot the remote host and start Xmanager
# init 3; init 5

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值