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=279http://support.apple.com/kb/HT2370
Daniel A. Shockley
[log in to unmask]