Mac "Screen Sharing" using vncviewer and ssh tunnel

problem: Remmina (or similar) fail to connect to Mac over Cisco wireless (or whatever router is the problem), and you are tired of having to physically connect your Mac to make VNC work.

  1. make sure "Screen Sharing" is on as normal on your Mac
  2. ssh -L5900:localhost:5900 192.168.X.X
    1. replace 192.168.X.X with the IP of your Mac
    2. "Remote Login" is on
    3. set display to "Scaled" and "1024x768" if your Mac is just an Outlook client now
  3. vncviewer -encodings 'copyrect tight zrle hextile' localhost:5900


Popular posts from this blog

Debugging pfsense firewall rules clearly and easily

Direct ssh to a server via proxy using putty/plink on Windows

telnet vs netcat