[HOME] [DOWNLOAD] [DOCS] [BLOG] [SUPPORT] [TIPS] [ISSUES] [Priority Support]

TOR BROWSER BUGGGG in whonix


#1

After update…

########################################################### ## torbrowser script bug. ## No panic. Nothing is broken. Just some rare condition ## has been hit. Try again later. There is likely a ## solution for this problem. Please see the Whonix News, ## Whonix User Help Forum and Whonix Documentation. ## https://www.whonix.org/wiki/Tor_Browser ## Please report this bug! ## ## BASH_COMMAND: “$tb_browser_folder/Browser/start-tor-browser” --allow-remote “$@” ## exit_code: 139 ## ## output: /usr/lib/msgcollector/msgcollector ## output_opts: --icon /usr/share/icons/anon-icon-pack/tbupdate.ico --parentpid 1250 --identifier torbrowser --parenttty none --whoami user ## progressbaridx: ## ## Experts only: ## bash -x torbrowser ###########################################################


Long Wiki Edits Thread
#2
user@host:~$ bash -x torbrowser
+ set -o pipefail
+ set -o errtrace
++ basename /usr/bin/torbrowser
+ SCRIPTNAME=torbrowser
+ IDENTIFIER=torbrowser
+ ICON=/usr/share/icons/anon-icon-pack/tbupdate.ico
+ trap tb_error_handler ERR
+ main_function
+ root_check
++ id -u
+ '[' 1000 '!=' 0 ']'
+ true
+ tb_preparation
+ '[' -n '' ']'
+ tb_home_folder=/home/user/.tb
+ '[' -n '' ']'
+ tb_cache_folder=/home/user/.cache/tb
+ shopt -s nullglob
+ local i
+ for i in '/etc/torbrowser.d/*.conf'
+ bash -n /etc/torbrowser.d/30_default.conf
+ source /etc/torbrowser.d/30_default.conf
+ '[' -n '' ']'
+ tb_browser_folder=/home/user/.tb/tor-browser
+ '[' '' = '' ']'
+ '[' :0 = '' ']'
+ display=:0
+ output=/usr/lib/msgcollector/msgcollector
+ local my_tty
+ local my_tty_exit_code
+ my_tty_exit_code=0
++ tty
+ my_tty=/dev/pts/0
+ '[' '!' 0 = 0 ']'
+ '[' /dev/pts/0 = '' ']'
++ whoami
+ who_ami=user
+ output_opt_1='--icon /usr/share/icons/anon-icon-pack/tbupdate.ico'
+ output_opt_2='--parentpid 1812'
+ output_opt_3='--identifier torbrowser'
+ output_opt_4='--parenttty /dev/pts/0'
+ output_opt_5='--whoami user'
+ output_opts=("$output_opt_1" "$output_opt_2" "$output_opt_3" "$output_opt_4" "$output_opt_5")
+ TITLE='Tor Browser Starter (by Whonix developers)'
+ tb_set_links
+ DOC_LINK=https://www.whonix.org/wiki/Documentation
+ CONTRIBUTE_LINK=https://www.whonix.org/wiki/Contribute
+ DONATE_LINK=https://www.whonix.org/wiki/Donate
+ FORUM_LINK=https://forums.whonix.org
+ MAILINGLIST_LINK=https://www.whonix.org/pipermail/whonix-devel/
+ IMPORTANTBLOG_LINK=https://www.whonix.org/blog/category/important
+ FEATUREBLOG_LINK=https://www.whonix.org/blog/
+ '[' '!' '' = '' ']'
+ '[' -f /usr/share/anon-ws-base-files/workstation ']'
+ local whonix_homepage
+ whonix_homepage=/usr/share/homepage/whonix-welcome-page/whonix.html
+ '[' -f /usr/share/homepage/whonix-welcome-page/whonix.html ']'
+ DEFAULT_LINK=file:///usr/share/homepage/whonix-welcome-page/whonix.html
+ open_link_confirmation_maybe_skip=true
+ parse_cmd_options
+ :
+ case $1 in
+ break
+ local other_args
+ other_args=
+ '[' '' = '' ']'
+ '[' '' = '' ']'
+ LINK=file:///usr/share/homepage/whonix-welcome-page/whonix.html
+ '[' true = true ']'
+ open_link_confirmation_skip=true
+ maybe_install_tor_browser
+ '[' -d /home/user/.tb/tor-browser ']'
+ return 0
+ tb_folder_change_directory
+ local change_directory_exit_code=0
+ cd /home/user/.tb/tor-browser
+ '[' '!' 0 = 0 ']'
+ maybe_use_open_link_confirmation
+ '[' '' = true ']'
+ tool=tb_start_tor_browser
+ '[' -x /usr/lib/open_link_confirmation ']'
+ '[' '!' true = true ']'
+ '[' file:///usr/share/homepage/whonix-welcome-page/whonix.html = '' ']'
+ tb_start_tor_browser file:///usr/share/homepage/whonix-welcome-page/whonix.html
+ '[' -x /home/user/.tb/tor-browser/Browser/start-tor-browser ']'
+ /home/user/.tb/tor-browser/Browser/start-tor-browser --allow-remote file:///usr/share/homepage/whonix-welcome-page/whonix.html

#3

Non-ideal tb-starter error message, which will be improved in Whonix 14. It means that Tor Browser exited with code 134.

Try to manually start Tor Browser.

cd ~/.tb/tor-browser
./start-tor-browser.desktop
echo $?

(In essence, tb-starter does no more than that.)

That should show a better error message that may help us here.

And forget about hardend Tor Browser, because it’s not really hardened, see:
Hardened Tor Browser Bundle not as hardened you think. Soon becoming extinct


#4

http://kkkkkkkkkk63ava6.onion/wiki/Tor_Browser/Advanced_Users#Introduction

The “hardened” Tor Browser has been deprecated and major features like Selfrando memory randomization are now part of the alpha series and planned for eventual mainline adoption. Consequently, The Tor Project recommends users seeking a higher security solution should default to the sandboxed Tor Browser: [25] [26]

While the Sandboxed Tor Browser is currently in an experimental state itself, we feel that it provides much better safeguards against exploitation than the features we shipped in the hardened series.