Posted on May 20th, 2009 at 1:53 PM by slm4996
How to install x11vnc on Debian based systems. This will give you the ability to login remotely vis vnc without the need to leave the user logged in continuously.
Open a terminal
Enter the following commands in order:
sudo apt-get install x11vnc
Enter your password
Type “y” to install
Next:
sudo nano /etc/gdm/Init/Default
paste the next line of text into the end of the file before the “Exit” line if it exists
x11vnc -nopw -auth /var/lib/gdm/:0.Xauth -display :0 -noxfixes -bg -sb 11 -forever
Exit nano (ctrl+x) type “y” to save.
sudo nano /etc/gdm/gdm.conf-custom
Add the following lines, the [daemon] section might already exisit, if it does just add the middle line “KillInitClient=false”
[daemon] KillInitClients=false [security]
Exit nano (ctrl+x) type “y” to save.
Then reboot:
sudo reboot now


7 Responses to “ How to setup a full graphic login via VNC on Ubuntu Jaunty ”


fantastic. thank you!
Thank you, thank you, thank you.
First instructions that really worked without any modifications. Just made my life so much easier.
Thank you again.
I seem to be having some issues, ie: keyboard and mouse losing synchronization. Anyone have suggestions for configurations in X11vnc to avoid these issues. I’m reading through the man pages now, but haven’t found anything yet.
KRC, what vnc client are you using and on what OS?
THANK YOU THANK YOU SO MUCH!!! I have looked for hours testing and trying and this is the first thing that worked flawlessly. If I could I would give you a hug except I wouldn’t… so ya.
by the way. How do i set a password i cant find out how.
YES!!!!!!!!!!!!!
finally a working set of instructions. Thank you Thank you Thank you.
Worked like a charm. I tried a lot of tutorials before and they are all crap. but this is the real thing!