Skip to content

Instantly share code, notes, and snippets.

@lifuzu
Created May 15, 2017 22:22
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 lifuzu/02d2b985e87df9ee18151dbd40d483e8 to your computer and use it in GitHub Desktop.
Save lifuzu/02d2b985e87df9ee18151dbd40d483e8 to your computer and use it in GitHub Desktop.
enable VNC via SSH
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