Red Hat Bugzilla – Bug 466768
Can't run system-config-* tools that requires privileged access
Last modified: 2008-10-27 14:43:23 EDT
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; pt-BR; rv:220.127.116.11) Gecko/2008100707 Fedora/3.0.2-1.fc10 Firefox/3.0.2
I'm running kde 4.1.2 and am trying to access administration tools without success. Whenever i launch one of these tools that requires privileged access, the cursor bounces on screen, the task bar shows the icon from the window, but after some seconds it's dismissed and the cursor stops bouncing and no windows is opened. When i try this on konsole, i got a prompt asking my password and the window is opened. This happend with almost any system-config tool that needs password to open.
These doesn't work:
These is the one that actually worked:
These are from System menu and doesn't work also:
Steps to Reproduce:
1. Install Fedora 10 KDE LiveCD
2. Go to Administration menu and click on one of the items
3. Watch the cursor bounce without any window opening
Cursor bouncing, icon on task bar and no window;
On Fedora 9, the cursor used to bounce, the task bar used to show the icon and after awhile the window asking my password used to open. This is the expected result on Fedora 10, i think.
Don't know what else i can provide. But if you ask, i will.
Most of these tools have nothing at all to do with PolicyKit.
Tentatively moving to KDE, since "running under KDE" seems to be the only common factor here...
consolehelper from usermode-gtk is what these tools use to get root.
Is there anything new in F10 we have to do in KDE to get consolehelper to work?
i have latest rawhide (today) running on my test machine. I cannot reproduce this problem. It seems something is broken in Fedora 10 KDE LiveCD?
Or that the system-* tools or usermode has missing deps.
I think maybe Rex ir right cause i have a gnome-session installed even when i installed from kde live cd and the system-* tools doesn't work there too.
Do you have usermode-gtk installed? (Run (rpm -q usermode-gtk) in a terminal.)
Nop, i didn't have usermode-gtk. I installed and everything worked. So something is wrong with kde live?
BTW thank you for your support.
So the bug is that those tools are all missing a dependency on usermode-gtk?
CCing Sebastian Vahl, the KDE live CD maintainer, he may want to manually pull in usermode-gtk onto the spin. (Still, I think there should be a dependency if the tools aren't going to work without it!)
there's only a dependency on usermode but not on usermode-gtk in the system tools. I will fix it in our system tools.
(In reply to comment #10)
> there's only a dependency on usermode but not on usermode-gtk in the system
> tools. I will fix it in our system tools.
Ok then. Or should I also add it to the kickstarts?
BTW: It is possible that the applications design of the system-config-tools has changed in some way? What I mean: I could start system-config-services and it seems to be working. If I want to disable a service there, a PoliciKit window pops up and asks me for the root password. system-config-date and system-config-firewall want's this password before starting the application.
Looks like system-config-services has been ported to use PolicyKit instead of running as root entirely, system-config-date and system-config-firewall are still using usermode-gtk (which runs the entire application as root). That's also why system-config-services works without usermode-gtk and the others don't.
only system-config-services and system-config-samba supports PolicyKit and the rest not.
All of the other system-config-* packages now have Requires: usermode-gtk in Rawhide.