Created
November 11, 2012 20:26
-
-
Save NapoleonWils0n/4056152 to your computer and use it in GitHub Desktop.
macosx: remote start screen sharing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=============================== | |
= 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