1

The Tor Browser Sandbox is pretty great (thanks Yawning!) but how can one run multiple instances of it at the same time?

2

This isn't really something that's supported, because it's an uncommon use case and the code is still at the point of "it should do common things really well".

That said, if you set $XDG_RUNTIME_DIR, $XDG_CONFIG_HOME and $XDG_DATA_HOME to unique directories that exist (with appropriate permissions in the case of the runtime directory), it should work.

The use of the various directories is per the XDG Base Directory specification, available at https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

  • Note that this changes the search path for Pulse Audio related files. I had to set two other environment variables to get audio working in the sandbox, export PULSE_COOKIE=~/.config/pulse/cookie and export PULSE_SERVER=unix:/var/run/user/$(id -u)/pulse/native. – Peter Gerber Jun 11 '17 at 19:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.