2007年4月13日星期五

Xmanager找不到装有Linux的机器

Q:在win2000上装有Xmanager,另一台机器装有Linux,但是运行Xmanager时,机器列表中找不到装有Linux的那台主机,是不是Linux机器中哪一项服务没有开?有没有更好的可以仿真软件?

A:This is my note about how to enable XDMCP on Redhat. Different Linux distribution has different steps.
-----------------------To enable XDMCP on Redhat, follow these steps:
(1) In /etc/X11/fs/config, comment out the "no-listen" line so it looks like: # don't listen to TCP ports by default for security reasons #no-listen = tcp
(2) In /etc/X11/xdm/xdm-config, comment out the "DisplayManager.requestPort" line so it looks like: !DisplayManager.requestPort: 0
(3) In /etc/X11/xdm/Xaccess, uncomment the "*" line so it looks like: * # any host can get a login window
(4) Activate gdm XDMCP by editing /etc/X11/gdm/gdm.conf. Your new line should look like the following. You should also have ";/port=177" is at the end of the xdmcp block. [xdmcp] Enable=true
(5) Restart your Linux box by running "reboot" or simply restart your gdm (don't know how yet).
From a Windows box, config your X manager to XDMCP-query your Linux machine, or broadcast. You should find your Linux box.

没有评论: