Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Enable OS X screen sharing from the command line,
$ ssh <user>@<mac-without-screen>
$ sudo defaults write /var/db/launchd.db/ -dict Disabled -bool false
$ sudo launchctl load /System/Library/LaunchDaemons/
/System/Library/LaunchDaemons/ Service is disabled
$ sudo launchctl load -w /System/Library/LaunchDaemons/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment