Sto usando Ubuntu 11.10, lightdm. Sembra che il mio servizio XDMCP sia configurato correttamente, ma non si connette.
Ho quanto segue in /etc/lightdm/lightdm.conf
:
[XDMCPServer]
enabled=true
Per riavviare lightdm viene emesso il seguente comando:
sudo restart lightdm
Questo produce il seguente file di registro in /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
Nessun errore.
Fin qui tutto bene.. sembra che il servizio XDMCP sia stato avviato.
Tuttavia, anche se sembra che sia stato avviato senza alcun errore, non riesce a connettersi. Il problema potrebbe essere correlato al nulla in ascolto sulla porta TCP 6000?
netstat -l rivela quanto segue:
udp 0 0 *:xdmcp *:*
udp 0 0 *:34000 *:*
udp 0 0 *:mdns *:*
udp6 0 0 [::]:xdmcp [::]:*
che mostra la porta xdmcp 177 in ascolto, ma niente in netstat mostra la porta TCP 6000 in ascolto:
netstat -l | grep 6000
non restituisce nulla.
XDMCP non dovrebbe essere in ascolto sulla porta 6000?
Un client che tenta di connettersi è appena scaduto.
La parte divertente è che prima funzionava e non riusciamo a pensare a nessuna modifica alla configurazione che avrebbe avuto effetto su XDMCP. La risoluzione dei problemi sembra indicare che la porta 6000 non sia in ascolto, ma non abbiamo mai verificato che questa porta fosse utilizzata in precedenza quando funzionava.
Risposta accettata:
Hai anche bisogno di
[SeatDefaults]
xserver-allow-tcp=true