Changes

Jump to: navigation, search

ReleaseEngineering/How To/Access Machines via VNC

1,300 bytes added, 17:14, 18 December 2013
For Linux users
== For Linux users ==
You will have to install a enable the VNC server as rootlegacy and set the password.
=== Enable legacy VNC and set the password ==
We have to enabled legacy VNC and set the password (as I can't seem to guess the right one)
<pre>
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 -clientopts -setvnclegacy -vnclegacy yes
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart \
-configure -clientopts -setvncpw -vncpw supersecret
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart \
-restart -agent -console
</pre>
 
More info about the command (for the curious):
<pre>
-activate:
enable service com.apple.screensharing
 
-access -on - included in ARD_AllLocalUsersPrivs, below
 
-privs -all:
defaults write ${TargetDisk}Library/Preferences/com.apple.RemoteManagement ARD_AllLocalUsersPrivs -integer 0x400000ff
 
-allowAccessFor -allUsers:
defaults write /Library/Preferences/com.apple.RemoteManagement ARD_AllLocalUsers -boolean TRUE
</pre>
 
=== Install RealVNC ==
NOTE: I don't know if these instructions worked or I simply fixed Apple's VNC to allow legacy clients.
 
<strike>
NOTE: These instructions have worked for a 10.8 Mountain Lion machine and connecting from Ubuntu 13.10.
</pre>
* Use Remmina Remote Desktop Client
</strike>
= Mac OS X 10.6 - Snow Leopard =
Confirm
3,990
edits

Navigation menu