Red Hat Bugzilla – Bug 467913
Please add a dependency on usermode-gtk
Last modified: 2008-10-27 10:18:18 EDT
+++ This bug was initially created as a clone of Bug #466768 +++
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; pt-BR; rv:188.8.131.52) 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.
--- Additional comment from firstname.lastname@example.org on 2008-10-15 18:38:15 EDT ---
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...
--- Additional comment from email@example.com on 2008-10-15 18:47:07 EDT ---
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?
--- Additional comment from firstname.lastname@example.org on 2008-10-16 07:39:22 EDT ---
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?
--- Additional comment from email@example.com on 2008-10-16 07:49:54 EDT ---
Or that the system-* tools or usermode has missing deps.
--- Additional comment from firstname.lastname@example.org on 2008-10-16 08:02:46 EDT ---
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.
--- Additional comment from email@example.com on 2008-10-16 15:35:19 EDT ---
Do you have usermode-gtk installed? (Run (rpm -q usermode-gtk) in a terminal.)
--- Additional comment from firstname.lastname@example.org on 2008-10-16 22:50:40 EDT ---
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.
--- Additional comment from email@example.com on 2008-10-16 22:53:08 EDT ---
So the bug is that those tools are all missing a dependency on usermode-gtk?
--- Additional comment from firstname.lastname@example.org on 2008-10-16 22:54:36 EDT ---
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!)
--- Additional comment from email@example.com on 2008-10-17 06:09:30 EDT ---
there's only a dependency on usermode but not on usermode-gtk in the system tools. I will fix it in our system tools.
--- Additional comment from firstname.lastname@example.org on 2008-10-17 06:17:23 EDT ---
(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.
--- Additional comment from email@example.com on 2008-10-17 07:14:20 EDT ---
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.
--- Additional comment from firstname.lastname@example.org on 2008-10-17 07:23:43 EDT ---
only system-config-services and system-config-samba supports PolicyKit and the rest not.
Uh, sorry. I should have edited this text before cloning the bug. So here's the problem described in fewer words:
This package is currently missing a dependency on usermode-gtk. So on systems
where this isn't installed (like the current KDE live images) this package
isn't working properly as a non-root user from the menu.