cross-posted from: https://lemmy.ml/post/41309316
Hi,
I need to run
Tor Browseras 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.desktopreturn
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… :/
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.
@lurch@sh.itjust.works the last entry the gave
stracewasexit_group(0) = ?
I don’t know if this help ?
no, interesting entries would be further up
So you started with a terminal window and ran
sudo -ior
sudo -sin it?
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…
Thank you, this is a good idea !
I’ve did
#as root runuser -u TorUser -- python3 -Vand that succeed
I do not use
sudoI open a virtual terminal and didsuthen the commands I posted.