LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Tor-TBB-64-bit on 64-bit OS and says it's not... (https://www.linuxquestions.org/questions/linux-software-2/tor-tbb-64-bit-on-64-bit-os-and-says-it%27s-not-4175502995/)

jamison20000e 04-25-2014 01:47 PM

Tor-TBB-64-bit on 64-bit OS and says it's not...
 
Hi, thanks in advance for any thoughts.

I've been searching for bugs like this but can't seem to narrow it down for my specific solution, I downloaded:
tor-browser-linux64-3.5.4_en-US.tar.xz
then:
tor-browser-linux64-3.6-beta-2_en-US.tar.xz
Code:

uname -a
Linux sid 3.13-1-amd64 #1 SMP Debian 3.13.10-1 (2014-04-15) x86_64 GNU/Linux

CPU=i5\64-bit
same error from both not starting:
Wrong architecture? 32-bit vs. 64-bit.
I will keep searching for answers until at some point I guess try the 32-bit version (rather not tho?)

jamison20000e 04-25-2014 03:02 PM

I'm no programer but could this help from the start-tor-browser script:
Code:

SYSARCHITECTURE=$(getconf LONG_BIT)
TORARCHITECTURE=$(expr "$(file Tor/tor)" : '.*ELF \([[:digit:]]*\)')

if [ $SYSARCHITECTURE -ne $TORARCHITECTURE ]; then
  complain "Wrong architecture? 32-bit vs. 64-bit."
  exit 1
fi

it also makes reference to Firefox:
Code:

# XXX: Debug mode for Firefox??

# not in debug mode, run proceed normally
printf "\nLaunching Tor Browser Bundle for Linux in ${HOME}\n"
cd "${HOME}"
# XXX Someday we should pass whatever command-line arguments we got
# (probably filenames or URLs) to Firefox.
# !!! Dash above comment! Now we pass command-line arguments we got (except --debug) to Firefox.
# !!! Use at your own risk!
./Browser/firefox -no-remote -profile Data/Browser/profile.default ${@}
exitcode="$?"
if [ "$exitcode" -ne 0 ]; then
        complain "Tor Browser exited abnormally.  Exit code: $exitcode"
        exit "$exitcode"
else
        printf '\nTor Browser exited cleanly.\n'
fi

I don't use the default:
Code:

firefox --version

(process:8033): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Mozilla Iceweasel 24.4.0

instead I use Nightly extracted from their site: http://nightly.mozilla.org/ and have set the path to KDE default web browser, could Iceweasel be 32-bit?

273 04-25-2014 03:06 PM

Have you used file or ldd on iceweasel to test? I know a while back it was 32 bit (one of the reasons I run nightly now) but haven't a machine handy to look at the moment.

jamison20000e 04-25-2014 03:31 PM

Thanks for the help:
Code:

file ../lib/iceweasel/iceweasel
../lib/iceweasel/iceweasel: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=9388ea188f7909580d4e1a4fb0b9b7a37dfa7516, stripped

so maybe I will try directing the start-tor-browser script to Nightly...

273 04-25-2014 03:35 PM

Quote:

Originally Posted by jamison20000e (Post 5159219)
Thanks for the help:
Code:

file ../lib/iceweasel/iceweasel
../lib/iceweasel/iceweasel: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=9388ea188f7909580d4e1a4fb0b9b7a37dfa7516, stripped

so maybe I will try directing the start-tor-browser script to Nightly...

I always softlink to /opt/firefox/forefox in /usr/bin and most things just work -- do you do that?

jamison20000e 04-25-2014 04:21 PM

I have now also removed Iceweasel still no go. :( I've never used TBB so am not positive I'm on the right track but:
Code:

./Browser/firefox
from above doesn't point to anything although as I said am no programer (slowly learning hobbyist but that's it. :))

273 04-25-2014 04:25 PM

I really have no idea of Tor TOR but I go ointo /usr/bin and run "ln -s /opt/firefox/firefox" so Debian thinks it's Iceweasel.

John VV 04-25-2014 04:58 PM

the tor bundle goes in it's OWN folder
out of the system $PATH
------
something like
/opt/tor-bundle
or
/home/YourUserName/tor-bundle

that way Valida and the custom firefox will NOT interfere with the system default browser and if a second "tor" package is installed ( from your package manager)

it is needed .the "tor-bundle" needs to be separated from the OS !!!

and any other tor install

different uses and needs for using "torify" on the system firefox
and using tor-bundle

seeing as you will NOT want to install any plugins in the tor-bundle

a coding mismatch for 32 and 64 should not matter
you will NOT be using video or flash or java in the tor-bundle for SECURITY REASONS
nor any "themes" that can and do CALL HOME using "clear-net" to do so

if one is in a "tin-foil hat" mood
then install KVM
install say cent6 or debian in the vm ( an encrypted vm)
install tor-bundle ON THE VM'ed OS
force the host OS to use the Hosts tor ( set the host's proxy)
make a bridge from the VM to the host so that the vm CAN ONLY!!!!! use the tor network
( and NEVER be able to connect to the "clearnet" )
then run the tor-bundle on the encrypted VM

and last but not least
move from coffee shop to coffee shop and "open wifi" every time you connect
-- use a different place

jamison20000e 04-25-2014 05:03 PM

What I did was:
Code:

ln -s /opt/firefox/firefox /usr/bin/firefox
which should have done the equivalent?

The downloaded folder extracted to tor-browser_en-US with 1,386 files 182 sub-folders four folders in the top directory "Browser" (has a script called run-mozilla.sh pointing to MOZ_APPRUNNER_NAME="./mozilla-bin" as well as many files and folders,) "Data" (with Browser and Tor folders inside,) "Docs" (nothing useful to me here,) "Tor" plus one file the executable start-tor-browser so it could vary well from the looks of the content use it's own browser?

273 04-25-2014 05:07 PM

Sorry, I'm out of ideas. If I can fire up a Debian VM and get it working I'll post it.

John VV 04-25-2014 05:13 PM

do not link the tor CUSTOM!!!!! built version of firefox to the system DEFAULT firefox

jamison20000e 04-25-2014 05:20 PM

I've just tried the 32-bit version of Tor Browser Bundle and it works fine :scratch: but I am going to continue to look in to what you are saying as well (I've always been to lazy with security.) Thanks all.

jamison20000e 04-25-2014 05:35 PM

Just to clarify it does use its own version of Firefox (like you said separate from the system) here at: https://www.linuxquestions.org/questions/showthread.php?p=5159267#post5159267 the s is for sweet. :)

jamison20000e 04-25-2014 05:44 PM

LOL, winblows 7 have to fix that! :D

John VV 04-25-2014 06:18 PM

tor-browser-linux64-3.5.4_en-US.tar.xz
works just fine for me on my 64 bit install
https://www.torproject.org/dist/torb...4_en-US.tar.xz

and in kvm on debian

Quote:

about:buildconfig

Build platform

x86_64-unknown-linux-gnu


Build tools


gcc gcc version 4.4.3
(Ubuntu 4.4.3-4ubuntu5.1)
-Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-unused -Wcast-align -frandom-seed=tor -std=gnu99 -fgnu89-inline -fno-strict-aliasing -ffunction-sections -fdata-sections -pthread -pipe -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -fomit-frame-pointer



c++ gcc version 4.4.3
(Ubuntu 4.4.3-4ubuntu5.1)
-Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof -Wcast-align -frandom-seed=tor -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -fomit-frame-pointer


Configure arguments

--enable-application=browser --enable-optimize --enable-official-branding --disable-strip --disable-install-strip --disable-tests --disable-debug --disable-maintenance-service --disable-updater


All times are GMT -5. The time now is 03:22 AM.