Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

OS: Fedora 14 GUI: GNOME

I need to run an application with another user then the "default" (normally used). Purpose: create a ".desktop" file on my desktop to run e.g.: Google Chrome with another user (NOT ROOT! - so beesu doesn't count.) There aren't any gksu, or kdesu packages in Fedora 14. Why?

So i want to create a user with "adduser SOMEONE", and i want to run e.g.: Google Chrome with "SOMEONE" - then it will have minimum permissions, "more security".

Thank you!

share|improve this question

Fedora uses consolehelper to facilitate running a program as a different user.

You should consider using SELinux to restrict the permissions and capabilities of the application instead though.

share|improve this answer

I found this solution myself:

xhost local:transmission-user
sudo -u transmission-user -- /usr/bin/transmission-gtk
share|improve this answer
THIS IS THE SOLUTION!! :) – LanceBaynes Feb 8 '11 at 14:50

Currently I use this workaround, using ssh with -X parameter to pass the X session and then invoke the program I need. It's a little stupid I think (but at least it works).

Note that MB is the other user I use (I guess SSH server must be started – I think I started it an year ago).

nki@nki-PC-S2PV ~ $ ssh mb@localhost -X
mb@localhost's password:
Welcome to Linux Mint 12 Lisa (GNU/Linux 3.0.0-12-generic x86_64...

mb@nki-PC-S2PV ~ $ firefox
share|improve this answer
Lolwut. Love the idea of having a linux server with X, whose only job is running my firefox :/ >_____> – Rixius Feb 14 '13 at 20:24
So the idea that this is just an example is so unrealistic that you don't even consider it as an option ? Interesting ;) Actually using it for Virtualbox with duplicated virtual machines where the hard disk signatures match and you can't have the same machine (hdd) twice). Regards :) – user1228603 Feb 15 '13 at 13:29
No, I wasn't saying it was unrealistic. Just that the thought had not crossed my mind. I am now colored intrigued. No malcontent meant. <3 – Rixius Feb 15 '13 at 15:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.