Hi Bernd, > Please understand, the problem is not, to run multiple Tor Browsers as > the same user. > The problem is to run multiple Tor Browsers, each from a different user > at the same time on the same machine.
Yes, I had perfectly understood this the first time I read your bug report, no worries. > After investigation I found, that this is because of a fixed SOCKSPORT > and and fixed CONTROLPORT. > But each user needs his own SOCKSPORT and CONTROLPORT. > > To fix this, the upstream script which is installed at > ~/.local/share/torbrowser/tbb/x86_64/tor-browser_de/Browser/start-tor-browser > has to be changed for each user. The patch is attached. > > The patch first searches for free ports and then modifies the config > files to use the free ports. > > I have build a wrapper script for torbrowser-launcher to apply the > patch, if it isn't already applied. > But I hope it will be fixed by upstream. I'll open an issue upstream to ask for review / inclusion of your patch or a modified version thereof. Cheers! u.