Tor Browser Bundle for GNU/Linux

Post here if you are a new Porteus member and you're looking for some help.
lukaluki
Black ninja
Black ninja
Posts: 92
Joined: 08 Dec 2011, 01:01
Location: asdfw

Tor Browser Bundle for GNU/Linux

Post#1 by lukaluki » 16 Mar 2013, 13:23

Hello,

I want to use the Tor Browser Bundle (Tor+Firefox), its a preconigured secure way to use TOR with Firefox.
It is also available for Linux but I dont know how to get it to run with porteus ?

Can you please describe how to do it ?

https://www.torproject.org/download/dow ... l.en#linux

Thank you very much!
regards

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Tor Browser Bundle for GNU/Linux

Post#2 by brokenman » 17 Mar 2013, 01:18

I am working from 32bit Porteus v2.0 Razor desktop.

Download pcre using the Porteus Package Manager (or slackyd) and install.

Download the bundle from the link you specified. Do it as guest.
cd /home/guest/Downloads
tar zxvf [file you downloaded]
cd tor-browser_*
./start-tor-browser

This should work. If not then please check that your time is correct by using Porteus Settings Centre to set your timezone.

Here is a 32bit module that should work nicely. Tested on 32bit:
tor-browser-2.3.25.5 32bit
How do i become super user?
Wear your underpants on the outside and put on a cape.

lukaluki
Black ninja
Black ninja
Posts: 92
Joined: 08 Dec 2011, 01:01
Location: asdfw

Re: Tor Browser Bundle for GNU/Linux

Post#3 by lukaluki » 17 Mar 2013, 13:23

Thank you for your answer :)

I will test it right now on my 64bit version.

The link to the 32bit module is a all-in-one module so I do not need to install pcre before, but for the 64bit I have to?

My idea is to only have to put it into the module folder and be able to start it with pure copy2ram version without the need of download a package on and on.

So for the 64bit can I also store the pcre package into the module folder ?

best regards!

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Tor Browser Bundle for GNU/Linux

Post#4 by brokenman » 17 Mar 2013, 14:44

So for the 64bit can I also store the pcre package into the module folder ?
Correct. I will make a 64bit module for this today. I will include pcre so people don't have to worry about it.
How do i become super user?
Wear your underpants on the outside and put on a cape.

lukaluki
Black ninja
Black ninja
Posts: 92
Joined: 08 Dec 2011, 01:01
Location: asdfw

Re: Tor Browser Bundle for GNU/Linux

Post#5 by lukaluki » 17 Mar 2013, 17:19

wow thank you so much brokenman , would be very kind :)

I am no that expert in linux, I tried to run your linked 32bit on the 64bit porteus, but it says: Vidalia exited abnormaly: Exit code 127
When I tried to execute the 64bit version which can be downloaded from website, when i do the ./start-tor-browser command, it says: Permission denied. But i am logined with guest and also put in /home/guest/Downloads

strange..

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Tor Browser Bundle for GNU/Linux

Post#6 by Hamza » 17 Mar 2013, 18:32

Please execute this command when you're in the correct directory.

Code: Select all

chmod +x ./start-tor-browser
After executes this command.

Code: Select all

./start-tor-browser
NjVFQzY2Rg==

lukaluki
Black ninja
Black ninja
Posts: 92
Joined: 08 Dec 2011, 01:01
Location: asdfw

Re: Tor Browser Bundle for GNU/Linux

Post#7 by lukaluki » 17 Mar 2013, 19:21

guest@porteus:~/Downloads/tor-browser_de$ chmod +x ./start-tor-browser
guest@porteus:~/Downloads/tor-browser_de$ ./start-tor-browser

Launching Tor Browser Bundle for Linux in /home/guest/Downloads/tor-browser_de
./start-tor-browser: line 228: ./App/vidalia: Permission denied
Vidalia exited abnormally. Exit code: 126
does not work Hamza :(

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Tor Browser Bundle for GNU/Linux

Post#8 by Hamza » 17 Mar 2013, 21:41

When you are in correct directory. Please executes this.

Code: Select all

chmod -R +x *
NjVFQzY2Rg==

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Tor Browser Bundle for GNU/Linux

Post#9 by brokenman » 17 Mar 2013, 22:44

Please download this module for 64bit:
tor-browser-bundle 64bit

After activation tor should appear in your internet menu.
How do i become super user?
Wear your underpants on the outside and put on a cape.

lukaluki
Black ninja
Black ninja
Posts: 92
Joined: 08 Dec 2011, 01:01
Location: asdfw

Re: Tor Browser Bundle for GNU/Linux

Post#10 by lukaluki » 18 Mar 2013, 04:09

Thank you so much brokenman!
Tested and works :)

Because I am using also Truecrypt which requires to be logined with root, i was not able to start the tor-bundle when clicking the icon with root: "can not start as root:exit".
So I started it with console instead : "su guest;start-tor-browser" , which made it start without problem :)

can the package be changed it can run with guest just by clicking on the icon instead of shell command ? If not it would not be a problem indeed because shell is fast too ^^

best regards and thx again!

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Tor Browser Bundle for GNU/Linux

Post#11 by Hamza » 18 Mar 2013, 07:07

Just change the Exec in the application .desktop file. You should have something like tot-browser-bundle.desktop in /usr/share/applications

If you find this file, please put in Exec this

Code: Select all

su - guest -c 'start-tor-browser'
NjVFQzY2Rg==

lukaluki
Black ninja
Black ninja
Posts: 92
Joined: 08 Dec 2011, 01:01
Location: asdfw

Re: Tor Browser Bundle for GNU/Linux

Post#12 by lukaluki » 20 Mar 2013, 11:12

Thank you, works :) however need to change every reboot for boot2ram as icon changes doesnt get saved indeed.

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Tor Browser Bundle for GNU/Linux

Post#13 by Hamza » 20 Mar 2013, 13:27

Please open a bug report if you think your changes are not saved and must be normally. Don't forget to follow bug report rule present in guideline and our FAQ.
NjVFQzY2Rg==

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Tor Browser Bundle for GNU/Linux

Post#14 by brokenman » 20 Mar 2013, 13:34

This is not a bug. If you changed the icon in the .desktop file and the icon didn't appear immediately then just kill X (ctrl + alt + backspace) or logout and log in. The icon should update. You can always unpack the module, change the icon and then repack the module again if you want a different icon.
How do i become super user?
Wear your underpants on the outside and put on a cape.

lukaluki
Black ninja
Black ninja
Posts: 92
Joined: 08 Dec 2011, 01:01
Location: asdfw

Re: Tor Browser Bundle for GNU/Linux

Post#15 by lukaluki » 20 Mar 2013, 15:54

Ok thank you, sounds easy to do :)
However I think I found a problem, which maybe has its source with owner rights: The Tor Browser can not use "save file to" on any files in the browser, just nothing happens when selecting this in right click menu. A Firefox error gets reported in the info window: ns_error_failure 0x80004005 which leads to a .js file where a dir request is made.

There is nothing i can find about it in google beside it could have to do with root/guest problem.

could you please test the "save file/image to" function on your machine to verify its a problem of the bundle ? Would be very kind.
I tested the current win7 tor+browser bundle and "save-image-to" just works fine, so its not disabled because the bundle wants to.

==============

EDIT: the original error message in Tor Bundle is:
Error: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get]
Source File: chrome://global/content/contentAreaUtils.js
Line: 568
which leads to this function:
if (!dirExists) {
// Default to desktop.
var fileLocator = Components.classes["@mozilla.org/file/directory_service;1"]
.getService(Components.interfaces.nsIProperties);
dir = fileLocator.get("Desk", nsILocalFile);
}
line 586: dir = fileLocator.get("Desk", nsILocalFile);

==============

Thank you

Post Reply