-
-
Save AlexKMDev/5261546 to your computer and use it in GitHub Desktop.
start internal mac os x vnc server with right preferences
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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