MacOS/Apple Remote Desktop

From braindump
(Redirected from MacOS/ARD)
Jump to navigation Jump to search

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