Spyke
tor·Tor - The Onion RouterbyGordon_F

Run `tor-browser` as another user ??

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... :/

View original on lemmy.ml

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

2
sh.itjust.works

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..

1

Thank you, this is a good idea !

I've did

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

and that succeed

2

btw is that .desktop file an actual executable? I'm used to them being text files that contain the actual command. If so, maybe launch that instead.

Also, consider using strace to observe the I/O of the program. This often gives clues about what it tried last, before it stopped.

1

You reached the end

Run `tor-browser` as another user ?? | Spyke