OS X Turn on Screen Sharing via Remote SSH Session

Invertedlight/ March 15, 2018/ OS X Tech Tip/ 0 comments

sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -off -restart -agent -privs -all -allowAccessFor -allUsers

OR

sudo defaults write /var/db/launchd.db/com.apple.launchd/overrides.plist com.apple.screensharing -dict Disabled -bool false
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.screensharing.plist
Share this Post

Leave a Comment

Your email address will not be published. Required fields are marked *

*
*