Opened 6 months ago

Closed 5 months ago

#26312 closed defect (fixed)

Tor Browser silently fails to start if gtk2 is not installed

Reported by: Hello71 Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-rbm
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

more annoyingly, this issue can only be diagnosed by running Browser/start-tor-browser --verbose. ./start-tor-browser.desktop and Browser/start-tor-browser simply output nothing.

I downloaded stock Firefox ESR 52.8.0 and ran it with -P non_default_profile -no-remote and it started with no issues. it comes with both "libmozgtk.so" and "gtk2/libmozgtk.so" which I assume helps.

Child Tickets

Change History (6)

comment:1 Changed 6 months ago by boklm

What is the output of ./Browser/start-tor-browser --verbose?

comment:2 Changed 6 months ago by Hello71

heh, I copied that and then forgot to actually paste it.

XPCOMGlueLoad error for file [snip]/Browser/libxul.so:
libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

comment:3 Changed 6 months ago by boklm

Keywords: tbb-rbm added

It seems Firefox ESR 52.8.0 is built using gtk3, so this might explain why you don't have the same error.

With esr60, we are going to switch to gtk3 too.

Maybe we can improve the start-tor-browser script to check if all required libraries are available, and give an error if that's not the case.

comment:4 Changed 6 months ago by Hello71

based on the presence of both "libmozgtk.so" and "gtk2/libmozgtk.so" files, I assume that it supports both gtk2 and gtk3 but prefers gtk3 if installed. that might be important.

comment:5 in reply to:  4 Changed 5 months ago by gk

Status: newneeds_information

Replying to Hello71:

based on the presence of both "libmozgtk.so" and "gtk2/libmozgtk.so" files, I assume that it supports both gtk2 and gtk3 but prefers gtk3 if installed. that might be important.

Is that still an issue with the 8.0a9 release?

comment:6 Changed 5 months ago by Hello71

Resolution: fixed
Status: needs_informationclosed

no. now it depends on dbus-glib which I don't have, but that's the same as standard Firefox.

Note: See TracTickets for help on using tickets.