Skip to content

Instantly share code, notes, and snippets.

@mtrl
Created June 15, 2012 08:36
Show Gist options
  • Save mtrl/2935445 to your computer and use it in GitHub Desktop.
Save mtrl/2935445 to your computer and use it in GitHub Desktop.
VNC over SSH
On client open a terminal and “ssh -L 5902:localhost:[remote-port(usually 5900) [user]@[server]”
Open VNC client and connect to display 2 on localhost, specify password if needed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment