Skip to content

Instantly share code, notes, and snippets.

@hkondo
Last active August 29, 2015 14:02
Show Gist options
  • Select an option

  • Save hkondo/8d9d42b1950640e42dcf to your computer and use it in GitHub Desktop.

Select an option

Save hkondo/8d9d42b1950640e42dcf to your computer and use it in GitHub Desktop.
The way to enable screen sharing from the command line. This enables only Screen Sharing, not Remote Management.
# http://pivotallabs.com/enabling-os-x-screen-sharing-from-the-command-line/
sudo defaults write /var/db/launchd.db/com.apple.launchd/overrides.plist com.apple.screensharing -dict Disabled -bool false
sudo launchctl load /System/Library/LaunchDaemons/com.apple.screensharing.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment