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

  • mina86@lemmy.wtf
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 days ago

    Capital letters in user names. 🤮

    Debian has torbrowser-launcher you might wanna take a look at that.

    As for the issue, this could be because the user lacks credentials to connect to the display.

    • Korhaka@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      5
      ·
      4 days ago

      Allows multiple easy to remember users. You can have user, User, uSer, USeR, USER, uSER…