Poll: would you like to have BackTrack 5 on your n900?
Poll Options
would you like to have BackTrack 5 on your n900?

Reply
Thread Tools
Posts: 64 | Thanked: 24 times | Joined on Aug 2007 @ Germany ...
#101
- vncpasswd (Needs to be done once for setting up a password)
Where can I get this package ? There is a x11vnc but this package has no vncpasswd or comes the vncpasswd from the bt5.img ?
 
Posts: 395 | Thanked: 509 times | Joined on Jan 2011 @ Brisbane, Australia
#102
Getting the same error as above, "mount: mounting /var/run/pulse on /mnt/bt5/var/run/pulse failed:", tried winrar and 7zip.

7z file:
CRC32: 3152AB1A
MD5: 4F378F01B35B598D0B7F7B8177499CB2
SHA-1: 6647B06B741123F6DEF998B1F258308A6C4E4868

bt5.img:
CRC32: EA4D18A8
MD5: 0E1211C5BA7BA3DEBE1C472E5A0E5B96
SHA-1: 5909E268486B1D7018B1CF0CDA8A6B374C2CCE33
 
windows7's Avatar
Posts: 435 | Thanked: 160 times | Joined on Dec 2009
#103
Originally Posted by azkay View Post
Getting the same error as above, "mount: mounting /var/run/pulse on /mnt/bt5/var/run/pulse failed:", tried winrar and 7zip.

7z file:
CRC32: 3152AB1A
MD5: 4F378F01B35B598D0B7F7B8177499CB2
SHA-1: 6647B06B741123F6DEF998B1F258308A6C4E4868

bt5.img:
CRC32: EA4D18A8
MD5: 0E1211C5BA7BA3DEBE1C472E5A0E5B96
SHA-1: 5909E268486B1D7018B1CF0CDA8A6B374C2CCE33
well at least i'm not going mad.

I will try from a diferent machine or vm in case that has something do with and report back.
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#104
Originally Posted by SuperDumb View Post
Here is how i did it :

(Be sure you have rootsh & easy-chroot)
Everything typed in terminal is blue
- Put the bt5.img anywhere (i did it in /home/user/Mydocs/bt5, so rest of the howto is based on that but can be changed)
- open Terminal
- sudo gainroot
- mkdir /mnt/bt5 (needs to be done only first time to create the folder)
- qchroot /home/user/Mydocs/bt/bt5.img /mnt/bt5/ (when you see root@chroot you are good to go)
- Export USER=root
- vncpasswd (Needs to be done once for setting up a password)
- vncserver -geometry 800x480
- startvnc
Now go back to open VNC and leave terminal open in background
In VNC use this settings :
The adress is 127.0.0.1:590x
x Is the number you see when you typed "startvnc" inside BT5. You will see something like this :
"Log file is /home/user/.vnc/Nokia-N900:x.log"
Mine was "Log file is /home/user/.vnc/Nokia-N900:1.log", so i have 127.0.0.1:5901
Enter password you choosed before, log in have fun.
When done and VNC is closed, do this to shutdown BT5:
Go back to opend terminal
- stopvnc
- exit
- qumount /mnt/bt5
- exit
- exit

Hope i did not miss something, will put the link with the img as soon as it is up (bout 1h30 left)
Will be away until tonight, hope it works.
Again, if someone want it to work faster (better performance), don't use image, but reformat Your internal eMMC and divide a separate partition for backtrack. i'll repost SuperDumb's instructions here, (so all credits except changes goes to him) with new things and things changed to get it working on native partition written in RED:

(Be sure you have rootsh & easy-chroot)
- extract bt5 image to Your chosen partition. In our example, it will be fourth partition on eMMC, so path to it is:
/dev/mmcblk0p4

- open Terminal

root

- mkdir /mnt/bt5 (needs to be done only first time to create the folder)
- qchroot /dev/mmcblk0p4 /mnt/bt5/ (when you see root@chroot you are good to go)
- export USER=root
- vncpasswd (Needs to be done once
for setting up a password)
- vncserver -geometry 800x480
- startvnc
Now go back to open VNC and leave terminal open in background
In VNC use this settings :
The adress is 127.0.0.1:590x
x Is the number you see when you typed "startvnc" inside BT5. You will see something like this :
"Log file is /home/user/.vnc/Nokia-N900:x.log"
Mine was "Log file is /home/user/.vnc/Nokia-N900:1.log", so i have 127.0.0.1:5901
Enter password you choosed before, log in have fun.
When done and VNC is closed, do this to shutdown BT5:
Go back to opend terminal
- stopvnc
- exit
- qumount /mnt/bt5
- exit
- exit

If those was helpful to You, don't mind hitting "Thanks". Not that i did extensive testing, thought, because I'm totally not interested in backtrack mobile - all of it's "functionalities" and much more can be achieved by just using Easy Debian and installing proper packages.

Also, if anyone interested, injection drivers should work with bt (if bt developers didn't screwed something badly) inside chroot - there is no reason why it shouldn't. anyway, it works in Easy Debian.

Have fun, kids

Last edited by Estel; 2011-05-15 at 09:31.
 

The Following User Says Thank You to Estel For This Useful Post:
Gi0's Avatar
Posts: 50 | Thanked: 12 times | Joined on Aug 2010 @ Greece
#105
Just a tip. After using SuperDump's way and exiting terminal, i couldnt get media player to play anything (something about audio in use)and all calls were working only via speaker, no matter if i had earphones on or if i tried to disable speaker mode.
Fire up conky or plain terminal and get xtightvnc's PID (if you dont have conky, use 'top' in terminal). After getting the PID just enter
kill Enter-PID-Number-here
SuperDump any clues on the keyboard thing?All my keys are messed up, tried 2 different vnc viewers on N900 and 1 from my computer,still no luck. Any idea what's wrong?
__________________
There's no patch for stupidity
 

The Following User Says Thank You to Gi0 For This Useful Post:
windows7's Avatar
Posts: 435 | Thanked: 160 times | Joined on Dec 2009
#106
Originally Posted by windows7 View Post
well at least i'm not going mad.

I will try from a diferent machine or vm in case that has something do with and report back.
no luck, repeated process in another pc and same thing.
something is wrong with content of .img file i think
 
Posts: 395 | Thanked: 509 times | Joined on Jan 2011 @ Brisbane, Australia
#107
Tried using Xephyr instead of vnc?
 
Posts: 330 | Thanked: 97 times | Joined on Dec 2010 @ saudi arabia
#108
so backtrack will make my Skype calls more clear and less choppy ??
 
Posts: 395 | Thanked: 509 times | Joined on Jan 2011 @ Brisbane, Australia
#109
Originally Posted by lolloo View Post
so backtrack will make my Skype calls more clear and less choppy ??
Where are you getting Skype out of all this?
 
Posts: 64 | Thanked: 24 times | Joined on Aug 2007 @ Germany ...
#110
on my n900 is no vncpasswd
 
Reply


 
Forum Jump


All times are GMT. The time now is 07:58.