Wednesday, 17 July 2013

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

No comments:

Post a Comment

Note: only a member of this blog may post a comment.

Interview questions: 2020-12

Terraform provider vs provisioner Load balancing Network Load Balancer vs Application Load Balancer  Networking Layer 1 vs Layer 4 haproxy u...