Connect to VNC server

Locally from macOS based client

Over SSH tunnel from macOS based client

alias vnc='/usr/bin/open -a Safari vnc://localhost && ssh -L 5900:localhost:5900 [alias]'

Setup VNC server

macOS

Ubuntu