How to enable VNC (Vino) on Ubuntu (Gnome)

The way I’m going to describe is using the GDM autologin which can be UNSECURE if someone has physical access to the machine.

Activate autologin in gdm by editing /etc/gdm/custom.conf and add:

AutomaticLoginEnable=true
AutomaticLogin=yourusername

Reboot.

Then ssh as yourusername into the machine, and type this:

DISPLAY=:0.0
gconftool-2 --type list --list-type string --set /desktop/gnome/remote_access/authentication_methods '[vnc]'
gconftool-2 -s -t bool /desktop/gnome/remote_access/prompt_enabled false
vino-passwd
gconftool-2 -s -t bool /desktop/gnome/remote_access/enabled true

Reboot.

Then try connecting to your machine using VNC.

Source: By Weboide in How do i install gnome on Debian and remote to it? [serverfault.com]
This post is Licensed under CC-BY-SA 2.5

Leave a Reply