May 14, 2013

screenshare on mac fails

quick vmc fix script i wrote for fixing up screensahre when it dies, just copy this to the other mac via ssh and run it

fixvnc ()
{
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -restart -agent
}