Thanks, that's just what I was looking for.
On Feb 1, 2011, at 7:14pm, Daniel A. Shockley wrote:
> On Tue, 1 Feb 2011 18:59:42 -0600, "Stockly, Ed" <[log in to unmask]
>> wrote:
>
>>
>> Is it possible, via appleScript or shell scripting, to turn Remote Desktop
>> access on a remote mac?
>>
>> ES
>>
>
> Yes. If you log in via SSH, you can run shell commands that talk to
> 'kickstart' - in the /System/Library/CoreServices...
>
> Here's the activation command:
>
> sudo
> /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart
> -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes
> -clientopts -setvncpw -vncpw mypasswd -restart -agent -privs -all
>
> Read the details at the following two pages:
>
> http://technotes.twosmallcoins.com/?p=279
>
> http://support.apple.com/kb/HT2370
>
> Daniel A. Shockley
> [log in to unmask]