Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Can't run torbrowser-launcher
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
apple75
n00b
n00b


Joined: 06 Jul 2021
Posts: 20

PostPosted: Fri Sep 02, 2022 11:30 am    Post subject: [Solved] Can't run torbrowser-launcher Reply with quote

Attempting to open torbrowser-launcher does nothing:

Code:
Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.3.5
https://github.com/micahflee/torbrowser-launcher
Launching Tor Browser.
Running /home/joe/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/start-tor-browser.desktop
Launching './Browser/start-tor-browser --detach'...


I tried executing the desktop shortcut and start-tor-browser manually, but still nothing.
Desktop shortcut: /usr/bin/env: ‘./Browser/execdesktop’: No such file or directory
start-tor-browser creates no output.

Finally, I tried opening settings, and it generated an error:

Code:
joe@gentoo ~ $ torbrowser-launcher --settings
Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.3.5
https://github.com/micahflee/torbrowser-launcher
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.10/torbrowser-launcher", line 30, in <module>
    torbrowser_launcher.main()
  File "/usr/lib/python3.10/site-packages/torbrowser_launcher/__init__.py", line 92, in main
    gui.move(
TypeError: arguments did not match any overloaded call:
  move(self, QPoint): argument 1 has unexpected type 'float'
  move(self, int, int): argument 1 has unexpected type 'float'


Looking for similar issues in the bugtracker brought me here.
Maybe it's a simple fix? I will see, but I just thought to share here as well.

emerge --info:
Quote:
Portage 3.0.35 (python 3.10.6-final-0, default/linux/amd64/17.1/hardened, gcc-12.2.0, glibc-2.35-r8, 5.19.6-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-5.19.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790_CPU_@_3.60GHz-with-glibc2.35
KiB Mem: 16329204 total, 13151452 free
KiB Swap: 16777212 total, 16777212 free
Timestamp of repository guru: Sat, 27 Aug 2022 06:46:53 +0000
Head commit of repository guru: 16ae850dc9e3dd223b188daa655effe1f1aba7da

Timestamp of repository steam-overlay: Wed, 24 Aug 2022 05:02:42 +0000
Head commit of repository steam-overlay: 8b05e59621ebcb56a84fd4cab93d546094a1f08c

Timestamp of repository torbrowser: Tue, 30 Aug 2022 18:01:56 +0000
Head commit of repository torbrowser: 8e71878954a15cac9e7cd5031b56e51127a3f4db

Timestamp of repository gentoo: Fri, 02 Sep 2022 07:46:46 +0000
Head commit of repository gentoo: 1947d9fd424298a9c4f888c0d3c0ca7650fc4da2

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils: 1.3.5::gentoo
app-shells/bash: 5.1_p16-r2::gentoo
dev-java/java-config: 2.3.1::gentoo
dev-lang/perl: 5.36.0::gentoo
dev-lang/python: 3.10.6_p2::gentoo, 3.11.0_rc1::gentoo
dev-lang/rust: 1.62.1::gentoo
dev-util/cmake: 3.24.1::gentoo
dev-util/meson: 0.63.1::gentoo
sys-apps/baselayout: 2.8-r2::gentoo
sys-apps/openrc: 0.45.2::gentoo
sys-apps/sandbox: 2.29::gentoo
sys-devel/autoconf: 2.13-r2::gentoo, 2.71-r1::gentoo
sys-devel/automake: 1.16.5::gentoo
sys-devel/binutils: 2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang: 14.0.6-r1::gentoo
sys-devel/gcc: 12.2.0::gentoo
sys-devel/gcc-config: 2.5-r1::gentoo
sys-devel/libtool: 2.4.7::gentoo
sys-devel/lld: 14.0.6::gentoo
sys-devel/llvm: 14.0.6-r2::gentoo
sys-devel/make: 4.3::gentoo
sys-kernel/linux-headers: 5.19::gentoo (virtual/os-headers)
sys-libs/glibc: 2.35-r8::gentoo
Repositories:

guru
location: /var/db/repos/guru
sync-type: git
sync-uri: https://github.com/gentoo-mirror/guru.git
masters: gentoo

steam-overlay
location: /var/db/repos/steam-overlay
sync-type: git
sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
masters: gentoo

torbrowser
location: /var/db/repos/torbrowser
sync-type: git
sync-uri: https://github.com/gentoo-mirror/torbrowser.git
masters: gentoo

gentoo
location: /var/db/repos/gentoo
sync-type: git
sync-uri: https://github.com/gentoo-mirror/gentoo.git
priority: 1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=8"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live cgroup collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://download.nus.edu.sg/mirror/gentoo/ http://ftp.iij.ad.jp/pub/linux/gentoo/ http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ http://ftp.riken.jp/Linux/gentoo/"
LANG="en_PH.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8 -l8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X acl alsa amd64 bzip2 clang crypt dbus elogind encode hardened iconv ipv6 jpeg2k libass libglvnd libtirpc lm-sensors matroska mp3 mp4 mtp multilib ncurses nls nptl ogg openmp opus pam pcre pdf pie pulseaudio qt5 readline seccomp split-usr ssl ssp svg symlink theora tiff unicode v4l vorbis vulkan webp wmf x264 xattr xinerama xml xtpax xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput synaptics" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
Package Settings
=================================================================

www-client/torbrowser-launcher-0.3.5-r2::guru was built with the following:
USE="-apparmor" ABI_X86="(64)" PYTHON_TARGETS="python3_10 -python3_8 -python3_9"

_________________
Gentoo Gaming

Avatar statement of attribution: U.S. Department of Agriculture Pomological Watercolor Collection. Rare and Special Collections, National Agricultural Library, Beltsville, MD 20705


Last edited by apple75 on Sat Sep 03, 2022 2:06 am; edited 1 time in total
Back to top
View user's profile Send private message
apple75
n00b
n00b


Joined: 06 Jul 2021
Posts: 20

PostPosted: Fri Sep 02, 2022 11:51 am    Post subject: Reply with quote

Quote:
Looking for similar issues in the bugtracker brought me here.
Maybe it's a simple fix? I will see, but I just thought to share here as well.


Seems like this was only partly the problem. Applying the patch in the bug report does allow me to access settings, but that's it. I still can't run the launcher.
Reinstalling it from the settings menu gets it stuck trying to run it (still stuck as of writing):

Quote:
Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.3.5
https://github.com/micahflee/torbrowser-launcher
Downloading Tor Browser for the first time.
Downloading https://aus1.torproject.org/torbrowser/update_3/release/Linux_x86_64-gcc3/x/en-US
Latest version: 11.5.2
Downloading https://dist.torproject.org/torbrowser/11.5.2/tor-browser-linux64-11.5.2_en-US.tar.xz.asc
Downloading https://dist.torproject.org/torbrowser/11.5.2/tor-browser-linux64-11.5.2_en-US.tar.xz
Verifying Signature
Extracting tor-browser-linux64-11.5.2_en-US.tar.xz
Running /home/joe/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/start-tor-browser.desktop
Launching './Browser/start-tor-browser --detach'...


I tried...I don't know what else to try now. Maybe I'll leave it overnight :lol:
_________________
Gentoo Gaming

Avatar statement of attribution: U.S. Department of Agriculture Pomological Watercolor Collection. Rare and Special Collections, National Agricultural Library, Beltsville, MD 20705


Last edited by apple75 on Fri Sep 02, 2022 1:28 pm; edited 2 times in total
Back to top
View user's profile Send private message
apple75
n00b
n00b


Joined: 06 Jul 2021
Posts: 20

PostPosted: Fri Sep 02, 2022 1:28 pm    Post subject: Reply with quote

I made a bit of progress...

Code:
joe@gentoo ~ $ ./.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/start-tor-browser --verbose
XPCOMGlueLoad error for file /home/joe/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/libxul.so:
/home/joe/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/libxul.so: undefined symbol: gdk_wayland_display_get_wl_compositor
Couldn't load XPCOM.

joe@gentoo ~ $ file /home/joe/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/libxul.so
/home/joe/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/libxul.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=1b5be33c6d2196a46b3cf3efadbff21e443e8248, stripped


I don't know whats going on here. Can anyone explain this to me?
_________________
Gentoo Gaming

Avatar statement of attribution: U.S. Department of Agriculture Pomological Watercolor Collection. Rare and Special Collections, National Agricultural Library, Beltsville, MD 20705
Back to top
View user's profile Send private message
apple75
n00b
n00b


Joined: 06 Jul 2021
Posts: 20

PostPosted: Sat Sep 03, 2022 12:43 am    Post subject: Reply with quote

Seems like it's already been known for 9 months now https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/issues/40565
A temporary workaround discussed in the forums here https://forums.gentoo.org/viewtopic-t-1144980-highlight-.html
_________________
Gentoo Gaming

Avatar statement of attribution: U.S. Department of Agriculture Pomological Watercolor Collection. Rare and Special Collections, National Agricultural Library, Beltsville, MD 20705
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum