Difference between revisions of "MacOS/Apple Remote Desktop"

From braindump
Jump to navigation Jump to search
(Created page with "== References == * http://technosense.blogspot.com/2009/03/start-vnc-from-command-line-and-connect.html Category:MacOS")
 
 
Line 1: Line 1:
Getting into a MacOS X host via VNC when it is te not enable can be done via command line.

The command is quite long so before staring creating an alias or putting it into the path is probably a good idea.

alias ard-kickstart=/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart

Set up the basic privileges for the service.
sudo ard-kickstart -configure -allowAccessFor -allUsers -privs -all

Setup to allow VNC clients
sudo ard-kickstart -configure -clientopts -setvnclegacy -vnclegacy yes

Secure the service with a password
sudo ard-kickstart -configure -clientopts -setvncpw -vncpw <span class="input"><Password></span>

Restart service
sudo ard-kickstart -restart -agent -console

== References ==
== References ==
* http://technosense.blogspot.com/2009/03/start-vnc-from-command-line-and-connect.html
* http://technosense.blogspot.com/2009/03/start-vnc-from-command-line-and-connect.html

Latest revision as of 00:22, 20 May 2012

Getting into a MacOS X host via VNC when it is te not enable can be done via command line.

The command is quite long so before staring creating an alias or putting it into the path is probably a good idea.

alias ard-kickstart=/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart

Set up the basic privileges for the service.

sudo ard-kickstart -configure -allowAccessFor -allUsers -privs -all

Setup to allow VNC clients

sudo ard-kickstart -configure -clientopts -setvnclegacy -vnclegacy yes

Secure the service with a password

sudo ard-kickstart -configure -clientopts -setvncpw -vncpw <Password>

Restart service

sudo ard-kickstart -restart -agent -console

References