XDMCP迷思

我相信XDMCP是个好东西,基于X Windows伟大的C/S架构,速度、易用性都很强,但是,我的Gutsy主机、Gutsy客户端怎么就个小问题呢?

主机上的/etc/gdm/gdm.conf中[xdmcp]组中开启设置:

[xdmcp]
Enable=true

至于下面这两个选项我看是否设置没什么影响:

RemoteGreeter=/usr/lib/gdm/gdmlogin
DisallowTCP=false

设置好以后,用客户端,在登录界面Actions->Remote Login via XDMCP…,能看到主机,连接以后就是错误:

There already appears to be an X server running on display :2. Should another display number tried? Answering no will cause GDM to attempt starting the server on :2 again. (You can change console by pressing Ctrl-Alt plus a function key, such as Ctrl-Atl-F7 to go to console 7. X servers usually run on consoles 7 and higher.

不管选Yes还是No,最终都是重新回到GDM登录界面。

但是,但是啊,不管是在主机本机,还是在客户端,居然都可以用命令连接上:

X :1 -query host_machine_name

真是奇怪。另外如果一处远程桌面关闭,也会同时关闭使用相同:?标号的桌面,用的时候尽量错开。

One thought on “XDMCP迷思”

Leave a Reply

Your email address will not be published. Required fields are marked *