I used to have a Xvnc server that was running at boot on my Ubuntu 9.04 OS and I would like to do the same with 11.10. The procedure I followed at the time was this one. There was some configuration to do in gdm which I cannot find in Ubuntu 11.10. The result is that when I connect to my computer with vncviewer it stays in a basic X screen with the simple X cursor and I get no option to log. The solution to this in prior versions of Ubuntu was to

enable remote login system -> administration -> login Window remote tab choose "same as local" (or whatever?)

What would be the equivalent configuration on 11.10? Maybe something to change in the config files of lightdm which seems to be the new display sessions manager in 11.10?


I found a partial solution. I was not able to use Xvnx the same way I was doing on Ubuntu 9.04 but I found that lightdm was natively supporting VNC. To enable it you can add these lines in /etc/lightdm/lightdm.conf

# VNC Server configuration
# enabled = True if VNC connections should be allowed
# port = TCP/IP port to listen for connections on

It will support only tightvncserver (vnc4server will not work) and it will only enable you to connect to a new session through vnc but when the vncviwer is closed the session is destroyed.

On Ubuntu 9.04, I was able to launch a session, disconnect, and then reconnect to it but was not able to do it with this solution.

  • 1
    This way I get "no password configured for vnc auth" when I try to connect. Any ideas?
    – Nils
    Nov 24 '11 at 9:47
  • @Nils does update-alternatives --list Xvnc point to /usr/bin/Xtightvnc? AFAIK that’s necessary for this to work. Apr 24 '12 at 18:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.