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

  • kumi@feddit.online
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    3 days ago

    Do you get a different result if you replace that :0 with your actual DISPLAY value?

    Also make sure you run that in a context that does have access to the x server (i guess keep your display manager running as you do this).

    Depending on your setup you should be running such commands as normal user instead of root.