Vendredi 29 Novembre 2024
taille du texte
   
Vendredi, 17 Décembre 2010 21:51

[How To] Enable Remote Access On Apple TV 2G Via VNC Server Plugin

Rate this item
(0 Votes)

Brandon Holland has come up with a VNC Server plugin, dubbed Exposed for the Apple

TV 2G, this plugin allow you to remotely access your Apple TV from any VNC client, running on your PC or Mac.

The plugin requires a Apple TV 2G to be jailbroken on iOS 4.1 or 4.2.1, for installation instructions you can check out .

Step 1

To enable Remote Desktop on your Apple TV, you need to create the text file com.apple.VNCSettings.txt with the following content. This is a hashed password “frontrow” which is used by VNC Server. The password “frontrow” was chosen to be easy to remember. Other passwords may be used as described below.

71463E00FFDAAA95FF1C39567390ADCA

To generate your own password, run this command:

perl -nwe 'BEGIN { @k = unpack "C*", pack "H*", "1734516E8BA8C5E2FF1C39567390ADCA"}; \
chomp; s/^(.{8}).*/$1/; @p = unpack "C*", $_; foreach (@k) { printf "%02X", $_ ^ (shift @p || 0) }; print "\n"'

Ignore the “Useless use of single ref constructor in void context at -e line 2.” error message. Just start typing and hit enter when you’ve finished typing your password. It will show the hashed version of the password after you hit enter. If you mess up, just hit enter and ignore the incorrect password hash. Type Ctrl-C to stop the script.

  • Note: Alternatively, if you are already logged into the AppleTV you could simply issue the following command. Afterwards skip to Step 3.
echo 71463E00FFDAAA95FF1C39567390ADCA > /Library/Preferences/com.apple.VNCSettings.txt

Step 2

Copy that file to /Library/Preferences/ on your Apple TV. (Note: /Library/Preferences on the OSBoot image is a sym link to the Media partition)

Step 3

once you copy the RemoteManagement core service to appletv’s /System/Library/CoreServices/ folder, then On the Apple TV, type:

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

Step 4

Use a VNC Client like Chicken of the VNC which should automatically detect the AppleTV on your network. The password is “frontrow”

Notes

See Replace Finder for interesting things you can do once you have control (run firefox, terminal, etc). It doesn’t seem to work very well with the default Apple TV finder.

Users running Leopard (OS X 10.5) will be able to use the Screen Sharing as a VNC client.


See Configuring Apple Remote Desktop via the command line or for more detailed information on the kickstart command, or for the various command switches and options, type:

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

You should be up and running, you can now use Apple Remote Desktop, if you have it, or any free VNC app to access your Apple TV remotely.

Please share your experience with us in the comments section below. And, as usual, stay tuned for more news and info by following us on Twitter and/or by subscribing to our RSS Feed.

[Source: AwkwardTV wiki]

Authors: _GadgetNews

to know more click here

French (Fr)English (United Kingdom)

Parmi nos clients

mobileporn