Skip to content

Instantly share code, notes, and snippets.

@NapoleonWils0n
Created November 11, 2012 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NapoleonWils0n/4056152 to your computer and use it in GitHub Desktop.
Save NapoleonWils0n/4056152 to your computer and use it in GitHub Desktop.
macosx: remote start screen sharing
===============================
= remote start screen sharing =
===============================
10.5 Leopard
cd /Library/Preferences
echo -n enabled > com.apple.ScreenSharing.launchd
10.6 Snow Leopard
cd /private/etc/
echo -n enabled > /private/etc/ScreenSharing.launchd
# Remote ssh tunnel for vnc
ssh -f -q -L 5900:localhost:5900 192.168.1.9 sleep 10 && open vnc://127.0.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment