Galaxy S6 & Edge get €100 Price Cut—New Models Incoming

Samsung has dropped the price of both the Galaxy S6 and S6 Edge by … more

How To Port Fully Featured Sony Xperia Z4 Camera

Xperia Z4’s hardware may not impress, but its software is definitely … more

Experimental TWRP Available For Moto G 2015

XDA Senior Member squid2 has posted experimental builds of TWRP for the Moto G … more

Sunday Debate: How Can We Get a No-Compromise Phone?

Join us in a fun Sunday Debate on Compromises. Come with your opinions and … more

BackTrack 5 ARM (with GUI via TightVNCServer)

78 posts
Thanks Meter: 33
By xMemphisx, Member on 12th May 2011, 12:03 AM
Post Reply Subscribe to Thread Email Thread
Backtrack (, home of the highest rated and acclaimed Linux security distribution to date. BackTrack is a Linux-based penetration testing arsenal that aids security professionals in the ability to perform assessments in a purely native environment dedicated to hacking. Regardless if you’re making BackTrack you Install BackTrack, boot it from a Live DVD or thumbdrive, the penetration distribution has been customized down to every package, kernel configuration, script and patch solely for the purpose of the penetration tester.

Here is a guide to getting ARM Backtrack Running on the Xoom (tested on Wifi Only Version, running 3.1)

After much frustration I have gotten the GUI part of the backtrack 5 arm release working with the Motorola Xoom.

This has only been tested to work on the Xoom. But it should work just fine with any other device that supports linux, and should work especially well on anything with a dual-core processor (G2X, Atrix, etc.)

- Rooted Motorola Xoom
- androidVNC from the Android Market
- Terminal Emulator from the Android Market (which you should already have)
- Backtrack 5 for ARM with Gnome downloaded and setup (check the README file, and follow the instructions.)
Link: Backtrack 5 This tutorial will assume you put Backtrack 5 in the folder /sdcard/BT5 like the README says.

Launch the terminal emulator and enter the following commands:
cd /sdcard/BT5
sh bootbt
BackTrack will start up in shell. You will get a red line that says "root@localhost:". To verify if you type:
ls pentest
It should echo back the folders in pentest, stuff like 'backdoors','database',etc.

At this point enter the following commands:
export USER=root
When you type in 'vncpasswd' this is to the the password for the tightvncserver. Since I only connect locally I just use 'qwerty' for my password, and then confirm the password. [Edit] Apparently you can skip this step, as the default password for vnc is simply, 'toortoor' (root backwards, twice).

When it asks if you want to create a view only password just type 'n' and hit enter. After you have your password setup for vnc start the server up.
tightvncserver -geometry 1280x800
When this happens you will get a message confirming that "New 'X' Desktop is localhost:1" and a bunch of other random stuff below it (it isn't important unless there are errors listed).

At this point, press the "HOME" button on the Xoom and then open the application "androidVNC".
-In the "Nickname" box, you can name it whatever you like.
-In the "password" entry, use your password (mine is 'qwerty').
-In the "Address" box you can type in localhost (or leave it blank).

****Change the port from 5900 to 5901.
[Edit] TightVNCServer uses 5901 by default, but if you are having connection errors it may have changed to something else. View the TightVNCServer logs (which I believe are under /root/.vnc/, do an 'ls -a' and a 'nano logfilename') to check to see what port was in use.

I also recommend setting the color-depth to 24-bit. After that press the "connect" button, and bam! You're rocking Backtrack 5 on your motorola xoom!!

You're welcome to repost this on other message boards of on your website, please just give me credit though. Thank you and enjoy!

Last edited by xMemphisx; 12th May 2011 at 03:47 PM.
The Following 26 Users Say Thank You to xMemphisx For This Useful Post: [ View ]
12th May 2011, 01:32 AM |#2  
Thanks Meter: 5
what is backtrack?
12th May 2011, 01:43 AM |#3  
Senior Member
Reno, NV
Thanks Meter: 42
Donate to Me
But can our wireless go into monitor mode... can it inject? New to backtrack... but know can do

Sent from my LG-P999 using XDA Premium App
12th May 2011, 02:09 AM |#4  
Thanks Meter: 0

This is big...I'm going to do this immediately after I update to 3.1. Great job!!
12th May 2011, 02:45 AM |#5  
Senior Member
Thanks Meter: 7
Originally Posted by renocivik

But can our wireless go into monitor mode... can it inject? New to backtrack... but know can do

Sent from my LG-P999 using XDA Premium App

It would depend on if the BT developers provided a driver that has monitor mode enabled. I have it installed but haven't investigated that yet. I do know that tcpdump is on the box, so at least you can monitor your own web traffic.

OP: You don't necessarily need to change the vnc password. It comes with a default password of "toortoor"
12th May 2011, 02:48 AM |#6  
Senior Member
Thanks Meter: 7
As an aside, I'm going to spend some time this week/weekend looking into getting this to run natively. I'm doubtful that it will work but you never know.

I do know they are using Tiamet 1.3.0 as the kernel they are running, so it's possible that this can be done with a good bit of work.
12th May 2011, 04:24 AM |#7  
Senior Member
Flag Ft. Worth, TX
Thanks Meter: 62
There is a slight error in your commands I believe. To change the VNC password it should be vncpasswd rather than vpnpasswd.
Port for me was 5902 btw. I was stumped until I looked at the tightvnc log.

Monitor mode does not appear to work and maybe some things have changed since Backtrack 3 but I couldn't locate aircrack-ng.

Sent from my Xoom using XDA Premium App
Last edited by B Dizzle; 12th May 2011 at 05:37 AM.
The Following User Says Thank You to B Dizzle For This Useful Post: [ View ]
12th May 2011, 05:52 AM |#8  
Senior Member
Thanks Meter: 3
Thanks for this. Going to try it on my nook color tomorrow. If it works, ya mind if I x-post this in their dev forums?
12th May 2011, 10:09 AM |#9  
Senior Member
Flag Bangalore
Thanks Meter: 320
Donate to Me
The command should be vncpasswd.

also BT image already contains startvnc as a command which will start the vncserver for you.

I am working on porting BT image to Xperia X10 (thread marked in Sig.)
12th May 2011, 01:19 PM |#10  
Senior Member
Thanks Meter: 9
all of these steps work on all devices or just xoom only??
12th May 2011, 03:35 PM |#11  
xMemphisx's Avatar
OP Member
Thanks Meter: 33
Originally Posted by fauz33

all of these steps work on all devices or just xoom only??

I haven't tested it on anything else yet, but like launching "Ubuntu" from chroot, it should work as long as your device has a fast enough processor. The only other phone I have to test this on would be my nexus one, but I haven't gotten around to actually testing it out yet. This installation cannot hurt your phone any, so feel free to give it a shot and post your results!

Originally Posted by chesh420

Thanks for this. Going to try it on my nook color tomorrow. If it works, ya mind if I x-post this in their dev forums?

You're welcome to repost it, if it works, please just give me credit.

I really hope this arm distribution starts to take off, as I use the x86 all of the time on my laptop, and it would be great to have a completely functional tablet version... but they won't keep developing it if no one uses it.
Last edited by xMemphisx; 12th May 2011 at 03:43 PM.

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes