torbrowser-launcher icon indicating copy to clipboard operation
torbrowser-launcher copied to clipboard

[Error] Address already in use while running torbrowser-launcher simultaneoulsy by different users

Open zenny opened this issue 4 years ago • 0 comments

Hi,

While running torbroswer-launcher as different users in their own x server instances in the same machine (multiseat configuration) is fails to load torbrowser except in the first instance with error:

 ~/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser ]$ ./start-tor-browser --verbose
Fontconfig warning: "/home/zenny-nowm/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/TorBrowser/Data/fontconfig/fonts.conf", line 85: unknown element "blank"
May 31 21:37:51.570 [notice] Tor 0.4.2.7 (git-74cad14699087b7e) running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.1g, Zlib 1.2.11, Liblzma N/A, and Libzstd N/A.
May 31 21:37:51.570 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
May 31 21:37:51.570 [notice] Read configuration file "/home/zenny-nowm/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/TorBrowser/Data/Tor/torrc-defaults".
May 31 21:37:51.570 [notice] Read configuration file "/home/zenny-nowm/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/TorBrowser/Data/Tor/torrc".
May 31 21:37:51.572 [notice] Opening Socks listener on 127.0.0.1:9150
May 31 21:37:51.572 [warn] Could not bind to 127.0.0.1:9150: Address already in use. Is Tor already running?
May 31 21:37:51.572 [notice] Opening Control listener on 127.0.0.1:9151
May 31 21:37:51.572 [warn] Could not bind to 127.0.0.1:9151: Address already in use. Is Tor already running?
May 31 21:37:51.572 [warn] Failed to parse/validate config: Failed to bind one of the listener ports.
May 31 21:37:51.572 [err] Reading config failed--see warnings above.

The gtk part related to the same error read like:

Tor exited during startup. This might be due to an error in your torrc file, a bug in Tor or another program on your system, or faulty hardware. Until you fix the underlying problem and restart Tor, Tor Browser will not start.

Changed the port to 9051 by running torbrowser-launcher --settings as well as sudo chown -hR root to the `.local/share/torbrowser (https://www.linuxslaves.com/2015/05/installing-tor-in-kali-linux-and-fixing.html and https://medium.com/@jamesmacwhite/running-the-tor-browser-on-kali-linux-the-proper-way-d33a38b54e96). But yielded the same error time and again.

Any input on how exactly to run multiple instances of torbrowser-launcher by different users in a single instance of machine because *nix is designed to be a multiple user OS ;-).

Cheers, and stay safe, /z

zenny avatar May 31 '20 21:05 zenny