remote_desktop_128Using kickstart to activate ARD is something that I do all of the time, yet I can never seem to remember the syntax. I figure I can’t be the only one in this situation (plus this post should save repetetive googling…) so I thought I would post it up where it’s easily accessible. The following commands work with ARD v2 & later. For earlier versions of ARD, see this knowledge base article.

You need SSH access to the computer you would like to enable ARD on (obviously) & you need to login as root or run the command with sudo. Services are started using the kickstart utility, located here:

/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents /Resources/kickstart

To activate Remote Desktop Sharing, enable access privileges for the user “admin” with full privileges and restart the ARD Agent:

$ sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents /Resources/kickstart -activate -access -on -users admin -privs -all -restart -agent

Deactivate Remote Desktop Sharing:

$ sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents /Resources/kickstart -configure -access -off

To additional examples and more detail, see the complete knowledge base article.