
If problems: try to run as root in a local server terminal killall Xvnc4 then /usr/bin/vncserver and see messages. Would you like to enter a view-only password (y/n) n xauth: file /home/ sammy /.Xauthority does not exist New X desktop is yourhostname:1 Creating default startup script /home/ sammy /.vnc/xstartup Starting applications specified in /home/ sammy /.vnc/xstartup Log file is /home/ sammy /.vnc/ yourhostname:1.log.

If it is ok, you will be prompt for the vnc password and see root desktop. įrom your client vncviewer, you will access the "root" vnc session using ip_server:1 or ip_server:2 as "host". Sudo vncpassword and double type a password (will be for clients vnc access). May be you will need to remove the -e at the end of the first line in /etc/rc.local So it will start a vncserver session at next boot. The commands from this file are executed at boot and as root.

Verify if you can open a local session as root using the login screen: as this is normally disabled in Ubuntu, you may need to enable root local session running sudo passwd root and double type a password (it will be local root password).Of course, do this only in a private intranet web server because running local session as root is bad, and running a vnc distant root session is worst.
