Enable Remote Desktop (VNC) After 1.1 Update

From AwkwardTV

Jump to: navigation, search

Due to Apple removing the AppleVNCServer in the 1.1 update, if you want to use VNC on your AppleTV you'll need to install a third-party server, such as Redstone Software's Vine Server.

Contents

[edit] Requirements

  • Intel Mac
  • Fugu - graphical SFTP client (or use scp if you prefer)
  • Vine Server - OS X VNC server software (Version 2.2)

(make sure it is version 2.2, it doesn´t seem to work with current version 3)

[edit] Step 1

To enable Remote Desktop on your AppleTV after the 1.1 update, you'll need to download Vine Server, and run the Vine Server app from the mounted dmg. Setup Vine Server according to your needs then choose Start System Server from the Startup tab.

[edit] Step 2

Using Fugu (or scp) copy /Library/StartupItems/OSXvnc to your frontrow directory on your AppleTV. You can now stop the System Server process in the System tab of Vine Server. This removes the OSXvnc directory from your Intel Mac.

[edit] Step 3

SSH into your AppleTV, enable readwrite, and move the OSXvnc directory to /Library/StartupItems

 sudo mount -uw /
 sudo mv ~/OSXvnc /Library/StartupItems/OSXvnc

[edit] Step 4

Ensure you have the proper permissions by using chmod:

sudo chmod +x /Library/StartupItems/OSXvnc/OSXvnc
sudo chmod +x /Library/StartupItems/OSXvnc/OSXvnc-server
sudo chmod +x /Library/StartupItems/OSXvnc/OSXvnc-keepalive

[edit] Step 5

Reboot your AppleTV by sending it a shutdown command.

sudo reboot

Your AppleTV will now reboot and OSXvnc will load on startup. You can now log in to your VNC server.


[edit] Remote Desktop for TAKE 2

taken from the forum

mount the volume for read access

sudo mount -uw /
sudo touch /.readwrite

change to user folder

cd ~

mount recovery volumes

sudo dd if=/dev/disk0s2 of=recovery.dmg bs=1m
sudo hdiutil mount recovery.dmg
sudo hdiutil mount /Volumes/Recovery/OS.dmg

Copy the Remote Management programs, and some extra perl stuff

sudo cp -pr /Volumes/OSBoot\ 1/System/Library/CoreServices/RemoteManagement/ /System/Library/CoreServices/RemoteManagement
sudo cp -pr /Volumes/OSBoot\ 1/System/Library/Perl/ /System/Library/Perl/
sudo cp -pr /System/Library/Perl/Extras/5.8.6/ /System/Library/Perl/5.8.6/

Configure the settings:


This is a hashed password "frontrow" which is used by VNC Server. The password "frontrow" was chosen to be easy to remember.

echo 71463E00FFDAAA95FF1C39567390ADCA > /Library/Preferences/com.apple.VNCSettings.txt
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  -activate -configure -access -on -users frontrow -privs -all -restart -agent -menu

and now start the service

/System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/MacOS/AppleVNCServer


tested with apple remote desktop and Leopard Share Screen and "chicken of the VNC"

Personal tools