白天折腾了一下午,也没有搞定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