May 27, 2009
How to start VNC remotely on a Mac OS X
Posted by Martin Perron in HowTo - Mac OS X • No commentsOnce you get SSH’d in you can change the VNC password and start the VNC service using the following command:
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -clientopts -setvnclegacy -vnclegacy yes -setvncpw -vncpw VNCPASSWORDHERE -restart -agent
So have fun remoting your box! Btw to VNC over SSH just type something like: “ssh -L 5903:localhost:5900 example.com “. You can then VNC [...]
