LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-09-2021, 10:14 PM   #1
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 666

Rep: Reputation: Disabled
Tor Browser doesn't work in Slackware64-14.2 anymore


I have Tor Browser installed through the SBo buildscript. Despite SBo not accepting updates for months, it has been working fine, since it can self-update. Until today. I have noticed it downloaded an update, it restarted and ... nothing. Starting tor-browser from console exits with a 255 return code.

I have assumed that the latest update that Tor Browser downloads must be the same as the binary tarball for Linux that is offered on the Tor Browser site.

I downloaded that and ran it, this is the output:

Code:
./start-tor-browser --verbose
XPCOMGlueLoad error for file /home/user/tor-browser_en-US/Browser/libxul.so:
/home/user/tor-browser_en-US/Browser/libxul.so: undefined symbol: gdk_wayland_display_get_wl_compositor
Couldn't load XPCOM.
All I know about wayland is that this is some kind of new thing that is supposed to replace xorg, and that Slackware (14.2 at least) doesn't have it.

What are my options to keep Tor Browser functional? Updating to -current (if Tor Browser happens to work there, which I don't know) is not an option.
 
Old 11-10-2021, 01:32 AM   #2
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,505

Rep: Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320
Quote:
Originally Posted by FlinchX View Post
I have Tor Browser installed through the SBo buildscript. Despite SBo not accepting updates for months, it has been working fine, since it can self-update. Until today. I have noticed it downloaded an update, it restarted and ... nothing. Starting tor-browser from console exits with a 255 return code.

I have assumed that the latest update that Tor Browser downloads must be the same as the binary tarball for Linux that is offered on the Tor Browser site.

I downloaded that and ran it, this is the output:

Code:
./start-tor-browser --verbose
XPCOMGlueLoad error for file /home/user/tor-browser_en-US/Browser/libxul.so:
/home/user/tor-browser_en-US/Browser/libxul.so: undefined symbol: gdk_wayland_display_get_wl_compositor
Couldn't load XPCOM.
All I know about wayland is that this is some kind of new thing that is supposed to replace xorg, and that Slackware (14.2 at least) doesn't have it.

What are my options to keep Tor Browser functional? Updating to -current (if Tor Browser happens to work there, which I don't know) is not an option.
I suggest you to rollback to an older (and knowing to work) version of Tor Browser and keep using it.

From what the shown error says, the newer versions are linked against libraries with Wayland support, which Wayland does not exists at all on Slackware 14.2

Long story short, looks like the Slackware 14.2 is too old for the latest releases of Tor Browser.
 
1 members found this post helpful.
Old 11-10-2021, 07:34 AM   #3
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 666

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by LuckyCyborg View Post
Slackware 14.2 is too old for the latest releases of Tor Browser.
How's the situation on -current?
 
Old 11-10-2021, 07:34 AM   #4
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,221

Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
Quote:
Originally Posted by LuckyCyborg View Post
I suggest you to rollback to an older (and knowing to work) version of Tor Browser and keep using it.
Hm, Tor is one network where I'd really want to stay up to date.

Perhaps a build from source could get Tor working on 14.2 (I'm guessing that's a painful exercise though). Another alternative if you're really stuck could be to install Brave and use its "New private window with Tor" option (Alt-Shift-N; assuming Brave even works on 14.2...).

Last edited by drgibbon; 11-10-2021 at 07:38 AM.
 
1 members found this post helpful.
Old 11-10-2021, 07:35 AM   #5
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,221

Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
Quote:
Originally Posted by FlinchX View Post
How's the situation on -current?
Yes it runs, no problem.
 
Old 11-10-2021, 07:44 AM   #6
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Rep: Reputation: 129Reputation: 129
I just launched tor-browser on my slackware 64 14.2.
It updated itself, and it seems to work ok.
I attached a screenshot.
Attached Thumbnails
Click image for larger version

Name:	TorBrowser10.5.6.png
Views:	114
Size:	23.4 KB
ID:	37664  
 
1 members found this post helpful.
Old 11-10-2021, 07:51 AM   #7
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 666

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by drgibbon View Post
This is not an option as well. Never used Brave with Tor, and won't. And it already compromised Tor users at least once

https://www.techradar.com/in/news/br...k-web-activity
 
Old 11-10-2021, 07:53 AM   #8
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 666

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by vonbiber View Post
I just launched tor-browser on my slackware 64 14.2.
It updated itself, and it seems to work ok.
I attached a screenshot.
What's the output of `start-tor-browser -v` ?
 
Old 11-10-2021, 09:28 AM   #9
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by FlinchX View Post
What's the output of `start-tor-browser -v` ?
The screenshot shows the browser version: 10.5.6

I must say that I didn't use a SlackBuild to install the browser.
I extracted the files in one mounted partition.
The full path is
Code:
/mnt/sda3/www/torbrowser/Browser/start-tor-browser
and the contents of that directory:
Code:
#cd /mnt/sda3/www/torbrowser/Browser/start-tor-browser
# ls -F
Browser/ start-tor-browser.desktop
I edited the file start-tor-browser.desktop to reflect that.
Code:
# grep 'Exec=\|Icon' start-tor-browser.desktop
Exec=sh -c '"/mnt/sda3/www/torbrowser/Browser/start-tor-browser" --detach || \
 ([ !  -x "/mnt/sda3/www/torbrowser/Browser/start-tor-browser" ] && \
 "$(dirname "$*")"/Browser/start-tor-browser --detach)' dummy %k
Icon=/mnt/sda3/www/torbrowser/Browser/browser/chrome/icons/default/default128.png
(Exec=... is a single line)

I ran the command with the -v option thus
Code:
# sh -c "/mnt/sda3/www/torbrowser/Browser/start-tor-browser -v"
The terminal displayed a bunch info, and towards the beginning:
Code:
Tor 0.4.5.10 (git-fd74f7628eba2525) running on Linux with Libevent 2.1.12-stable,
 OpenSSL 1.1.1l, Zlib 1.2.8, Liblzma N/A, Libzstd N/A and Glibc 2.23 as libc.
Does that answer your question?
 
Old 11-10-2021, 09:41 AM   #10
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,221

Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
Quote:
Originally Posted by vonbiber View Post
The screenshot shows the browser version: 10.5.6
The latest version is 11.0 though, does that run for you on 14.2?

Quote:
Originally Posted by FlinchX View Post
This is not an option as well. Never used Brave with Tor, and won't. And it already compromised Tor users at least once
Fair enough. I'd move to -current myself, although another option would be Tor inside Whonix/VirtualBox.
 
Old 11-10-2021, 10:05 AM   #11
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

gentoo is impacted too by this as stated in this bug report.

--
SeB
 
2 members found this post helpful.
Old 11-10-2021, 12:01 PM   #12
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
So far - LibreWolf looks quite interesting.
 
Old 11-10-2021, 01:22 PM   #13
jbuckley2004
Member
 
Registered: Aug 2004
Distribution: Fedora (KDE spin)
Posts: 224

Rep: Reputation: 70
Tor browser 11 is not working correctly in Fedora 35 (Wayland, fully updated) KDE either. But I think my symptoms are a bit different. Seems like all that text that goes in a "click" box (for instance, the text that goes along with the icon in each tab) is indecipherable. Looks like a graphic icon of some sort for each letter.

Everything's in the same order as my firefox browser, so I can often make out what it's supposed to be, but it's not unusable.
 
Old 11-12-2021, 03:25 PM   #14
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
The Tor 10.5.6 is the last version that I can run on my Slackware64 14.2. Tor Browser v.11 will not run. This is annoying.
 
Old 11-12-2021, 03:38 PM   #15
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Read more here --> https://gitlab.torproject.org/tpo/ap...-/issues/40693
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Advice on Adapting Transports from Tor Browser Bundle to Tor? Nonetas Linux - Security 0 01-22-2018 03:45 PM
Tor Browser Bundle/Tor and IPTables: Working Solution Sought Nonetas Linux - Security 1 01-14-2018 06:23 PM
LXer: Tails 2.6 Anonymous Linux Live CD Is Out, Brings Tor 0.2.8.7 and Tor Browser 6.0.5 LXer Syndicated Linux News 0 09-21-2016 01:32 AM
LXer: Tor Browser 4.5.2 Is Out with the Latest Tor Anonymity Network Software LXer Syndicated Linux News 0 06-17-2015 02:40 PM
LXer: Tor Browser Bundle-Tor Goes Portable LXer Syndicated Linux News 1 09-02-2011 02:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration