原来用redhat 9的时候,配置xmanager没有问题,很快就通了,后来服务器用as4,结果连了很久没连上, 主要产生的问题有3点: 1、自己客户端的防火墙问题,如果不行,你可以关闭xp的防火墙和你自己安装的防火墙(我的是macfee防火墙) 2、关闭或者配置,linux上的防火墙,service iptables stop,或者配置iptables允许177端口 3、按照如下步骤配置,特别是/etc/inittab 中设置x:5:respawn:/usr/bin/gdm这句(可在原句上修改) 4、碰到Maximum number of open XDMCP sessions from host问题时,修改/etc/X11/gdm/gdm.conf 中的DisplayPerHost数,比如DisplayPerHost=9。 5、别忘了重启机器来生效配置,也可用service来重启相关服务。机器重启后,记得防火墙是恢复到原配置的,请重新关闭,或者修改防火墙配置文件来使得规则重启也生效。
最后,提醒一下解决方法: 1、碰到问题要及时查看message里面的日志,可以用more /var/log/messages然后按/来find。 2、充分利用论坛和网络搜索功能 3、学会看英文faq!
祝大家的问题能迎刃而解!!。Happy new year!
Step 1. Set any host can get a login window.
- Open /etc/X11/xdm/Xaccess.
- Remove "#" # * #any host can get a login window
Step 2. Change runlevel to enable gdm.
- Open /etc/inittab file.
- Change the runlevel to 5 as following:
id:5:initdefault: - Replace with this x:5:respawn:/usr/bin/gdm
Step 3. GDM configuration (When the Linux is using gdm)
- Open /etc/X11/gdm/gdm.conf file. (/etc/gdm/custom.conf for Fedora Core 5)
- Go to the [xdmcp]section.
- Set the value of Enable option to true or 1.
- Set the value of “DisplayPerHost” option to desired maximum number such as 10(You will see the server is busy if the value is 1).
Step 4. Modify displayManager
- Open /etc/X11/xdm/xdm-config file.
- Go to the last line.
- Add "!" in the beginning of the line.
Step 5. Restart Linux
Step 6. Open XManager-Broadercast
Linux联盟收集整理 |