You are not logged in.

#1 2011-07-06 10:31:45

craigdabbs
Member
Registered: 2011-07-01
Posts: 11

[SOLVED] run a gui app with root privilege

Hi,

New user to arch and linux in gereral, i have come from ubuntu.

In ubuntu when a application required higher permissions it asked for the root password so it could do what it wanted to do.  In arch i am running gnome3, have policykit and consolekit installed and i think its working to a degree as its sometimes askes for passwords for mounting certain things but when i try and run a app like Gparted that needs root permissions it wont ask and gparted wont run (it shows a error message saying that it needs to run as root) i have the same thing with unetbootin.

Is there anyway to get a similar system to ubuntu ?  or maybe i should return to ubuntu and do some more learning before diving in the deep end here smile

i have added this      AdminIdentities=unix-group:wheel

/etc/polkit-1/localauthority.conf.d/50-localauthority.conf

Any help would be much appreciated

Thank you

craig

Last edited by craigdabbs (2011-07-06 15:57:22)

Offline

#2 2011-07-06 10:37:45

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: [SOLVED] run a gui app with root privilege

Maybe I'm getting you wrong but

gksu gparted

starts gparted as root (gksu has to be installed)

Offline

#3 2011-07-06 11:00:14

craigdabbs
Member
Registered: 2011-07-01
Posts: 11

Re: [SOLVED] run a gui app with root privilege

that works well and brings up a gui interface to enter the password.

Would like a app like gparted when it requires that elevated privilege to bring that up automatically without touching the command prompt.

Offline

#4 2011-07-06 12:53:58

Dastingo
Member
Registered: 2011-01-15
Posts: 41

Re: [SOLVED] run a gui app with root privilege

Modify the shortcut in the menu (what DE are you using?) and change the command to "gksu gparted".

Offline

#5 2011-07-06 13:24:12

craigdabbs
Member
Registered: 2011-07-01
Posts: 11

Re: [SOLVED] run a gui app with root privilege

since rebooting after installing gksu the apps are loading up with the prompt for root now. thanks all smile

Offline

#6 2011-07-06 14:25:42

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: [SOLVED] run a gui app with root privilege

Please mark as solved.

Offline

Board footer

Powered by FluxBB