this post was submitted on 06 Jan 2026
1 points (66.7% liked)

Tor - The Onion Router

1953 readers
1 users here now

Tips, tricks and information about the Tor network!

Tor Project

founded 6 years ago
MODERATORS
 

cross-posted from: https://lemmy.ml/post/41309316

Hi,

I need to run Tor Browser as another user..

So here what I'm doing under, MX Linux ( Debian, SysVinit, xfce)

#as root, in a terminal under xfce

useradd --create-home --system --shell /usr/sbin/nologin TorUser
# btw --system or not ?

tar -xf tor-browser-linux...tar -C /opt --totals
chown -R TorUser:TorUser /opt/tor-browser

runuser -u TorUser -- /opt/tor-browser/start-tor-browser.desktop

return

Launching './Browser/start-tor-browser --detach'...

But nothing happen, and I don't see any process for TorUser

any ideas ?

Posted on the offical Tor-browser in June, but no reactions so far... :/

you are viewing a single comment's thread
view the rest of the comments
[–] lurch@sh.itjust.works 1 points 1 week ago (2 children)

So you started with a terminal window and ran

sudo -i

or

sudo -s

in it?

[–] dewomser@social.tchncs.de 2 points 1 week ago (1 children)
[–] lurch@sh.itjust.works 1 points 1 week ago (1 children)

I see. In that case, can you check if you can run a more simple application instead of the browser, eg. another terminal or so? If not, check your env vars for X or wayland. Does your su or PAM filter them out?

Also maybe check your kernel messages for segfault etc..

[–] Gordon_F@lemmy.ml 2 points 1 week ago

Thank you, this is a good idea !

I've did

#as root
runuser -u TorUser -- python3 -V

and that succeed

[–] Gordon_F@lemmy.ml 2 points 1 week ago

I do not use sudo I open a virtual terminal and did su then the commands I posted.