Ask Your Question

no gksudo? so just su or sudo then?

asked 2012-12-03 17:33:08 +0000

lenrev gravatar image

Hi, I'm a Fedora newbie, I'm trying to run some applications with GUI as root and for that I've gotten used to typing 'gksudo [command]'.

My question is how to run an app with GUI as root without using gksudo?

please help me, I just don't want to go back to Ubuntu.

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted

answered 2012-12-03 18:00:00 +0000

sten gravatar image

Fedora doesn't have gksudo, because it uses PolicyKit instead. The short answer to your question is, yes, use sudo.

The long answer is, if you'd rather have a GUI prompt, either you or the maintainer of the application you want to run can implement PolicyKit rules. Docs start here: https://live.gnome.org/PolicyKit

edit flag offensive delete link more


Probably not! What are you actually trying to do?

randomuser ( 2012-12-13 15:14:22 +0000 )edit

answered 2012-12-03 18:34:51 +0000

hhlp gravatar image

Beesu is a wrapper around su and works with consolehelper under Fedora to let you have a graphic interface like gksu


sudo yum install beesu
edit flag offensive delete link more

answered 2014-01-29 10:13:53 +0000

Dennis gravatar image

i found a PolicyKit alternative called pkexec

usage is

pkexec [--user username] PROGRAM [ARGUMENTS...]
edit flag offensive delete link more

answered 2012-12-03 17:40:59 +0000

ThomasMcA gravatar image

I recently switched from Kubuntu to Fedora XFCE, and I use kdesu in my GUI shortcuts. To find out if you have kdesu, run which kdesu in a console. If it returns a path (like /bin/kdesu) then kdesu will work on your system.

edit flag offensive delete link more

answered 2014-01-29 19:04:21 +0000

q2dg gravatar image

Can PolicyKit be a total replacement for sudo?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.


Asked: 2012-12-03 17:33:08 +0000

Seen: 11,560 times

Last updated: Jan 29 '14