View previous topic :: View next topic |
Author |
Message |
SarahS93 l33t
Joined: 21 Nov 2013 Posts: 693
|
Posted: Tue Nov 08, 2022 6:53 pm Post subject: can not start tor browser |
|
|
i download
https://dist.torproject.org/torbrowser/11.5.7/tor-browser-linux64-11.5.7_de.tar.xz
extract them
change into the directory and double click "start-tor-browser.desktop"
nothing comes, no error .... nothing
in a terminal i see
./start-tor-browser.desktop
Launching './Browser/start-tor-browser --detach'...
./Browser/start-tor-browser --detach
... nothing comes
what do i wrong?
older versions just run.
the last one that run here is 10.5.8
but i will run 11.5.7 now, what have i to do for?
Last edited by SarahS93 on Wed Nov 09, 2022 6:03 am; edited 1 time in total |
|
Back to top |
|
|
Ralphred Guru
Joined: 31 Dec 2013 Posts: 470
|
Posted: Tue Nov 08, 2022 7:44 pm Post subject: |
|
|
Try running it without --detach, you should get some error dialog to work with... |
|
Back to top |
|
|
SarahS93 l33t
Joined: 21 Nov 2013 Posts: 693
|
Posted: Wed Nov 09, 2022 6:05 am Post subject: |
|
|
running without --detach, i become the message to run with detach.
go i into the "Browser\" directory
and try there to start
./start-tor-browser
nothing comes, no error, nothing...
try i in the "Browser\" directory to start
./start-tor-browser.desktop
i become the message:
/usr/bin/env: „./Browser/execdesktop“: Datei oder Verzeichnis nicht gefunden
how to fix this? |
|
Back to top |
|
|
Beforegod Bodhisattva
Joined: 10 Apr 2002 Posts: 1494 Location: Frankfurt/Main
|
Posted: Wed Nov 09, 2022 7:31 am Post subject: |
|
|
Try to start
Code: | ./start-tor-browser --verbose
|
and post the result. |
|
Back to top |
|
|
Irets Apprentice
Joined: 17 Dec 2019 Posts: 222
|
|
Back to top |
|
|
SarahS93 l33t
Joined: 21 Nov 2013 Posts: 693
|
Posted: Fri Nov 11, 2022 1:09 pm Post subject: |
|
|
oh, oke
i do need to install shim ? (?sys-boot/shim)
...
?!?
dont understand... |
|
Back to top |
|
|
Irets Apprentice
Joined: 17 Dec 2019 Posts: 222
|
Posted: Fri Nov 11, 2022 3:07 pm Post subject: |
|
|
To sum it up:
Create a file called shim.c with the following contents:
Code: | #include <stdlib.h>
void gdk_wayland_display_get_wl_compositor() { abort(); }
void gdk_wayland_device_get_wl_pointer() { abort(); }
void gdk_wayland_window_get_wl_surface() { abort(); }
void gdk_wayland_display_get_wl_display() { abort(); } |
Then compile it with cc -shared -o shim.so shim.c
It will create a new file called shim.so.
You should now be able to launch tor by using a script, looking something like this:
Code: | cd /path/to/tor-dir &&
sed '/LD_PRELOAD/!s,Exec[^=]*=,&env LD_PRELOAD=/path/to/shim.so ,' start-tor-browser.desktop >tmp &&
mv tmp start-tor-browser.desktop &&
./start-tor-browser.desktop |
This is how the script is setup on my system:
Code: | #!/bin/bash
cd $HOME/Downloads/tor-browser_11.5.2/tor-browser_en-US
sed '/LD_PRELOAD/!s,Exec[^=]*=,&env LD_PRELOAD=/home/irets/Downloads/tor-browser_11.5.2/tor-browser_en-US/shim/shim.so ,' start-tor-browser.desktop >tmp &&
mv tmp start-tor-browser.desktop &&
chmod +x start-tor-browser.desktop &&
./start-tor-browser.desktop |
I had to include chmod in my script or else it would fail.
It's nasty & hacky but worked for me.
It's an age-old bug that has never been fixed.
More information can be found at the last link of my previous post, assuming that this is the source of your issue. |
|
Back to top |
|
|
SarahS93 l33t
Joined: 21 Nov 2013 Posts: 693
|
Posted: Sat Nov 12, 2022 9:16 am Post subject: |
|
|
tor browser is now running ... thanks a lot! |
|
Back to top |
|
|
|