this post was submitted on 06 Jan 2026
21 points (95.7% liked)

Linux

65305 readers
614 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS
 

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
[–] kumi@feddit.online 1 points 4 months ago* (last edited 4 months 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.