You are not logged in.
Initial problem solved, but bigger issue uncovered.
Last edited by Rhiadratech (2011-07-03 18:29:08)
Offline
Actually, it seems I have a bigger issue.... GKSU doesnt work at all, it thinks the password is wrong, when the same password works for sudo in terminal.
"Failed to run leafpad as user root.
Failed to communicate with gksu-run-helper.
Received:
/bin/su: incorrect password
While expecting:
gksu: waiting"
Last edited by Rhiadratech (2011-06-30 22:06:09)
Offline
GKSU doesnt work at all, it thinks the password is wrong, when the same password works for sudo in terminal.
gksu expects the root password.
Offline
Thats not how it works in *buntu based distros!
I disabled root....
so whats 'The arch way' to elevate graphical apps?
Offline
*buntu based distros use gksudo not gksu AFAIK. Try using it instead, I think it should work as you expect.
Offline
Thats not how it works in *buntu based distros!
I disabled root....
so whats 'The arch way' to elevate graphical apps?
Disabling root account is not recommended in arch.
Take a look here:
https://wiki.archlinux.org/index.php/Su … root_login
Also, as nicodoggie said, you can use gksudo instead, which is provided by the gksu package itself.
Offline
Thanks guys. gksudo does indeed work as I expected gksu to.
Offline
gksu is dead and deprecated. you shouldn't start any applications as root like leafpad.
we have modern solutions this days and is called polkit
Give what you have. To someone, it may be better than you dare to think.
Offline
gksu is dead and deprecated. you shouldn't start any applications as root like leafpad.
we have modern solutions this days and is called polkit
Thanks for the info on gksu being deprecated.
Would you recommend gksu-polkit or simply polkit? Also, shouldn't the gksu package in the repos be replaced with gksu-polkit in the meanwhile?
Offline
there is NO port of gksu using polkit.
Give what you have. To someone, it may be better than you dare to think.
Offline
Well i might not be understanding it correctly, but what does this say:
The new gksu will use PolicyKit as backend, instead of su and sudo.And, seems that gksu-polkit packages are available for a few distros:
Offline
thanks
Give what you have. To someone, it may be better than you dare to think.
Offline
Wonder, can you expand on that - how does one use polkit to do things needing root access, eg editing config files, installing apps with pacman etc?
If you can explain or point me to a wiki, i'll look into it.
I'm always willing to learn, im still very much a linux noob ^_^ despite using it for a couple of years now.
Offline
The OLD "GKSU" has been DEPRECATED for some time now as wonder very correctly advised Over 2 years ago. Over 4 years now since gnome released gksu-polkit as the new secure replacement for gksu. And ArchLinux wholeheartedly embraced PolicyKit.
Unfortunately the gnome wiki is not as clear and explicit as it could be... https://wiki.gnome.org/gksu
For some years it has remained unchanged and should be read to understand that one should now use gksu-polkit instead. I guess the reason they still have the old gksu name and version around is in case there are legacy applications that might just possibly not work with the new polkit version. So they gave the new secure version a new name, which a simple user alias can shorten. Pretty straightforward really... even a relative simpleton like me figured that one out ;=)
I am new to ArchLinux and very very very impressed with ease of installation and seamless compatibility so far, but in this one instance I am frankly amazed how gksu-polkit is not at the very least in the core repositiory and not to mention the extra or community! It is essential for users wanting sudo access to graphical applications as root who on no account should use sudo for graphical applications. You could argue you don't want such a facility in Arch though that would be strange. But then you would have to explain why you have its now ancient gksu available instead of its recommended successor gksu-polkit.
Makes no sense surely? This is now 2013 and nothing seems to have changed in arch re gksu. Whereas everything else is new! Will Arch still have the old now ancient gksu in a decade's time?? Come on guys!
;=)
my 2c
Last edited by smudger (2013-10-31 12:35:24)
Offline
Before bumping a 2 year old topic claiming that we're lacking behind, you should have investigated about gksu-polkit. The project has been abandoned upstream, there's a 0.0.2 release full of bugs, some snapshot used by some distros labeled as 0.0.3 and so far nothing is done with it anymore.
For me, gksu-polkit is just as dead as gksu is.
Also, Debian, which is upstream for this project, has removed gksu-polkit from unstable, testing and stable because of this.
Last edited by JGC (2013-10-31 14:07:10)
Offline