Changes

Jump to: navigation, search

ReleaseEngineering/How To/Access Machines via VNC

174 bytes added, 17:18, 18 December 2013
no edit summary
TODO:Find out how to VNC into the Mountain Lion machines. = Common usage For Mac clients =
* Use Apple's Remote Desktop - VNC that comes with the Mac machines
* Use the FQDN, e.g: vnc://talos-r4-snow-001.build.mozilla.org
== For Linux users clients ==You will NOTE: This section has only been verified on Mountain Lion. We might not have to enable the VNC legacy and set these issues with the passwordother OSes.
You will have to allow for VNC legacy access and set the password.Based on [http://technosense.blogspot.ca/2009/03/start-vnc-from-command-line-and-connect.html this] article. === 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>
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.
 
* Download RealVNC
wget -OVNC-5.1.0-MacOSX.pkg http://www.realvnc.com/download/binary/1364
* Install it (the installation takes a bit of time)
installer -pkg VNC-5.1.0-MacOSX.pkg -target /
* Request a personal free 30-day license key
Visit [http://realvnc.com/purchase/activate http://realvnc.com/purchase/activate]
* Apply the license
/Library/VNC/vnclicense -add <license key>
* Start things up (based on [http://technosense.blogspot.ca/2009/03/start-vnc-from-command-line-and-connect.html this] article):
<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>
* Use Remmina Remote Desktop Client
</strike>
= Mac OS X 10.6 - Snow Leopard =
= Mac OS X 10.7 - Lion =
VNC as cltbld.
</strike>
 
=== 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.
 
* Download RealVNC
wget -OVNC-5.1.0-MacOSX.pkg http://www.realvnc.com/download/binary/1364
* Install it (the installation takes a bit of time)
installer -pkg VNC-5.1.0-MacOSX.pkg -target /
* Request a personal free 30-day license key
Visit [http://realvnc.com/purchase/activate http://realvnc.com/purchase/activate]
* Apply the license
/Library/VNC/vnclicense -add <license key>
* Start things up (based on [http://technosense.blogspot.ca/2009/03/start-vnc-from-command-line-and-connect.html this] article):
<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>
* Use Remmina Remote Desktop Client
</strike>
Confirm
3,990
edits

Navigation menu