Skip to content

Instantly share code, notes, and snippets.

@jpweber
Forked from stefanschmidt/toggle-screen-sharing
Created October 20, 2012 18:38
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 jpweber/3924305 to your computer and use it in GitHub Desktop.
Save jpweber/3924305 to your computer and use it in GitHub Desktop.
Enable Screen Sharing on Lion via Command Line Interface
# Enable Screen Sharing
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.screensharing.plist
# Disable Screen Sharing
sudo launchctl unload -w /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