我正在使用 Ubuntu 11.10,lightdm。看来我的 XDMCP 服务设置正确,但无法连接。
我有以下内容/etc/lightdm/lightdm.conf:
[XDMCPServer]
enabled=true
Run Code Online (Sandbox Code Playgroud)
要重新启动 lightdm,发出以下命令:
sudo restart lightdm
Run Code Online (Sandbox Code Playgroud)
这会在 中生成以下日志文件/var/log/lightdm/lightdm.log:
[+0.01s] DEBUG: Launching X Server
[+0.01s] DEBUG: Launching process 6947: /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.01s] DEBUG: Waiting for ready signal from X server :0
[+0.01s] DEBUG: Starting XDMCP server on UDP/IP port 177
[+0.02s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.02s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.17s] DEBUG: Got signal 10 from process 6947
Run Code Online (Sandbox Code Playgroud)
没有错误。
到目前为止一切顺利……看起来 …