/

Home

strlen.net

# Updates

# 2008-10-27 - Restarting remote desktop VNC server on OS X

Remote desktop's VNC interface on OS X is fairly crash-prone: the symptoms of this crash is the VNC session ceases to be responsive. Only way to fix it seems to be to restart it by issuing the following command as root:

/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/\
Resources/kickstart -restart -agent -vnclegacy on

Other than writing some sort of supervisor daemon to do this automatically (check if VNC is responsive, if not, issue the restart command), is anyone aware of a way to remedy this?