Restart OS X VNC server via SSH

Kinda handy command to have incase your VNC connection drops and you’re unable to reconnect. SSH into the host and issue the following command.

sudo /System/Library/CoreServices/RemoteManagement/ -restart -agent

More VNC related OS X commands can be found on Apple Support

One reply on “Restart OS X VNC server via SSH”

Leave a Reply

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