Skip to content

use different tordatadir_path for different firefox profiles

tor-browser version 13.0.13

when i create a new profile with tor-browser --ProfileManager
then tor-browser init fails with Tor Browser could not connect to Tor
and also adding a tor bridge does not help

fix:
set extensions.torlauncher.tordatadir_path = "$HOME/.tor project/Tor.$N"
(default value is "$HOME/.tor project/Tor")
($N is the profile number)
close tor-browser (dont restart via new identity)
restart the profile with tor-browser --ProfileManager
now tor-browser init works as expected

different firefox profiles already have different tmp_ipc_dir:
extensions.torlauncher.tmp_ipc_dir = "/run/user/$UID/Tor-1"
extensions.torlauncher.tmp_ipc_dir = "/run/user/$UID/Tor-2"
...
so something similar should be possible for tordatadir_path

tmp_ipc_dir stores control.socket and socks.socket

related:
How to run multiple Tor browsers with different IPs?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information