Created
May 15, 2017 22:22
-
-
Save lifuzu/02d2b985e87df9ee18151dbd40d483e8 to your computer and use it in GitHub Desktop.
enable VNC via SSH
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
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw <PASSWORD> -restart -agent -privs -all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment