Vino "Desktop Sharing" pre-installed VNC server
Desktop Ubuntu comes with a server pre-installed called Vino from the GNOME project.
It is hidden behind the "Desktop Sharing" application name in dash, even the executable is not in the path!
Once you launch it check:
- Allow other users to [view | control] your desktop
- Require the user to enter this password
- Automatically configure UPnP router to open and forward ports
And then from the other computer, connect as:
sudo apt-get install vinagre
There is however a protocol incompatibility problem with the encryption of major Windows clients like TigerVNC and RealVNC: Gnome 3.10 sharing desktop --- how to configure the security type for VNC? Disabling encryption is a possible workaround in some cases.
I could only configure the port with
dconf... the default is port
5900 which means
sudo netstat -tupan | grep vino may also help.
To shutdown the server, just uncheck "Allow other users to [view | control]" and that kills the server process.