English
Ask Your Question
1

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 delete

Comments

mmm, if you know how to use zenity, yad etc. You can create a GUI, you need. As I did. In Fedora, there is only Beesu (this uses "su")

davidva ( 2012-12-04 16:53:28 +0000 )edit

5 Answers

Sort by ยป oldest newest most voted
0

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 publish link more

Comments

oh, OK! Thank you! umm, would that be safe? i mean using sudo for a graphical application?

lenrev ( 2012-12-03 18:02:40 +0000 )edit

Probably not! What are you actually trying to do?

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

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

Instalation

sudo yum install beesu
edit flag offensive delete publish link more
1

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 publish link more
0

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 publish link more

Comments

isn't kdesu for KDE? wouldn't that require me to install KDE as well? sorry but one of the reasons why i moved was because i noticed that unity+ubuntu consumes a lot of memory space and so does KDE, installing GS on an ubuntu with unity as the out-of-the-box desktop environment may (or may not, but most of the time it does) render the OS unstable, and the GS+ubuntu isn't that mature yet so chances are it's still full of bugs. I plan on sticking with this one (Fedora desktop GS) longer than i did with ubuntu. But thanks for your rather quick reply!

lenrev ( 2012-12-03 17:56:18 +0000 )edit

Hmmm, I prefer a few of the KDE apps, so I installed some KDE dependencies. But I don't think I installed the whole KDE desktop. Besides, I don't use the KDE desktop - I use XFCE. The performance is better, and there's less bloatware.

ThomasMcA ( 2012-12-04 01:22:15 +0000 )edit
0

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

q2dg gravatar image

Can PolicyKit be a total replacement for sudo?

edit flag offensive delete publish link more

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

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 to your questions.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Stats

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

Seen: 4,349 times

Last updated: Jan 29