Comment 65 for bug 150193

Revision history for this message
brunus (reg-paolobrunello) wrote : Re: Remote Login via XDMCP is not working in Ubuntu Gusty/7.10

Hi Jose Armando,
make sure both machine have xnest (and openssh server) installed, and that you activated the XDMCP distant login on both. Make sure that the -geometry option is small enough to fit into your remote machine resolution (so, try 800x600). I also have a Dapper and a Gutsy and I managed to connect this way in both ways (A to B and B to A).
Display :0 is the default display, used by the user logged locally on the target machine. You may try to connect to display :1, :2 or :3 whenever you get a /tmp/.Xn-lock error which simply means that display is already in use. In fact, when you log out abruptly, the machine doesn't automatically free up the display you were using.

Answering to wormkid, I tried and successfully logout and login again no problem, so I don't know whay you're having this problem. You may try to close the Xnest window instead and reconnect using a different display, say :3 instead of :1.
When you have used the 3 extra displays, you have to reboot the target machine in order for the /tmp to be cleaned up and have the 3 displays available again.

brunus