Okay... Lets see if I can make this somewhat short and summarized. If too summarized, just ask questions to clear it up...
Let's say your server's effective IP is 192.168.1.8, running ssh server and has the default for Ubuntu, VNC app, Vino installed... ssh'es default port is 22. Vino's default port is 5900.
Code:
# open the ssh tunnel to the remote machine, using the listening port for Vino VNC on that machine...
ssh -L 5900:localhost:5900 UserName@192.168.1.8
When you connect from Vino from your client, to your server, instead of connecting to IP 192.168.1.8:5900, your are going to connect to localhost:5900, because you've already established the tunnel to that remote host and that is the entrance to it...
You can use any VNC or XRDP viewer you want, and just adjust the port listener to that specific viewer.
Note: Vino, does have it's own internal Vino-to-Vino encryption, which had problems connecting to dissimilar versions or to other VNC viewers, so to remedy that, you used to have fix that by turning the internal encryption off by issuing:
Code:
gsettings set org.gnome.Vino require-encryption false
Bookmarks