Skip to content

Instantly share code, notes, and snippets.

@AlexKMDev
Created March 28, 2013 08:13
Show Gist options
  • Save AlexKMDev/5261546 to your computer and use it in GitHub Desktop.
Save AlexKMDev/5261546 to your computer and use it in GitHub Desktop.
start internal mac os x vnc server with right preferences
first way :
1. Enable "VNC viewers may control screen" option in remote management preferences.
second way (via ssh)
1. start server with sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw [your_password] -restart -agent -privs -all
2. if server already started, stop it with sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -deactivate -configure -access -off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment