I'm on vacation and need to run a GUI program on my Mac at home. I can get to a console through SSH, but otherwise the machine is behind a firewall. How can I...
- Enable VNC from the command line
- Tunnel that through SSH to my MacBook
On your Mac at home:
If you have set the VNC password on your home Mac ... copy the contents of the file below:
If you haven't set VNC password at home, go to
and set password then copy the string from the file as above.
On remote machine:
Copy and paste the contents of com.apple.VNCSettings.txt from the home Mac to that .txt file on the remote Mac
Then try sending this command over ssh to the remote Mac:
A VNC connection should work now between home and the remote site.