Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

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
#
[VNCServer]
enabled=true
port=5901
width=1024
height=768
depth=8

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.

share|improve this answer
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. –  Michael Kropat Apr 24 '12 at 18:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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