Restarting Apple Remote Desktop service (screen sharing) remotely on OS X

OS X

OS X has a somewhat non-standard VNC implementation in ARD, and I have problems with it locking up, and not letting me back in. Thankfully, this service can be restarted remotely if you can still SSH into the system.

The ARD service is controlled by launchd, and will restart automatically if killed. To relaunch the service, simply run the following command (you must be an admin, or root):

killall ARDAgent

Related posts:

  1. A process for puppetization of a service using Nova
  2. Adding gmond as a service in Cygwin
1 Comment

One Response to “Restarting Apple Remote Desktop service (screen sharing) remotely on OS X”

  1. Jess Planck says:

    I actually stumbled on your post hunting for a solution to remotely activate Screen Sharing on OSX. Aggravating as hell, I mean chkconfig?? something??

    Here’s a shell script solution that I wrote today. So far it seems to be working:

    http://funroe.net/notes/2010/06/11/mac-osx-10-6-shell-script-to-configure-launch-and-shutdown-screen-sharing/

Leave a Comment