I'm trying to secure/encrypt my VNC connection (personal computer to linux/ubuntu server) using SSH port-forwarding to secure the connection:
ssh -L 5901:localhost:5901 joe@laptop
This is from: https://help.ubuntu.com/community/VNC#port-forwarding
So I type this command from my personal computer to the linux server and I am able to connect with ssh, as in login. Seems successful.
However, when I VNC (using RealVNC) to the linux server, it still warns that my connection is unencrypted. I have port-forwarded ports 5901 and 22 on my router to my local machine.
What am I missing?
Note1: I am currently using RealVNC (free version) and tightvncserver (on the linux/ubuntu server).
Note2: I am using this guide to find a way to get a secure VNC connection: https://help.ubuntu.com/community/VNC/Servers