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


