MACSCRPT Archives

February 2011

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Tue, 1 Feb 2011 20:18:30 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
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]

ATOM RSS1 RSS2