Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save jaderfeijo/c6ac4afbd3532bd86d0ee876062c2db7 to your computer and use it in GitHub Desktop.

Select an option

Save jaderfeijo/c6ac4afbd3532bd86d0ee876062c2db7 to your computer and use it in GitHub Desktop.

Revisions

  1. @nateware nateware revised this gist Oct 19, 2012. 1 changed file with 10 additions and 2 deletions.
    12 changes: 10 additions & 2 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,6 @@ Done.

    # Step 2: Allow VNC clients


    $ sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -clientopts -setvnclegacy -vnclegacy yes

    Starting...
    @@ -33,4 +32,13 @@ Starting...
    Stopped ARD Agent.
    Stopped VNC Privilege Proxy
    Stopped RFB Register MDNS
    Done.
    Done.


    # Step 5: If no ARD services have been activated on the machine before, it is also necessary to run the following command

    $ sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate

    Starting...
    Activated Remote Management.
    Done.
  2. @nateware nateware revised this gist Oct 19, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # Step 1: Set priveleges

    $sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -allowAccessFor -allUsers -privs -all
    $ sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -allowAccessFor -allUsers -privs -all

    Starting...
    Setting allow all users to YES.
  3. @nateware nateware created this gist Oct 19, 2012.
    36 changes: 36 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,36 @@
    # Step 1: Set priveleges

    $sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -allowAccessFor -allUsers -privs -all

    Starting...
    Setting allow all users to YES.
    Setting all users privileges to 1073742079.
    Done.

    # Step 2: Allow VNC clients


    $ sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -clientopts -setvnclegacy -vnclegacy yes

    Starting...
    Set the client options.
    Done.

    # Step 3: Set VNC password (change it at the end of the line (i.e. don't use supersecret))

    $ sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -clientopts -setvncpw -vncpw supersecret

    Starting...
    Set the client options.
    Done.


    # Step 4: Restart service

    $ sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -restart -agent -console

    Starting...
    Stopped ARD Agent.
    Stopped VNC Privilege Proxy
    Stopped RFB Register MDNS
    Done.