I am running Gentoo with Gnome and PolicyKit. When I boot my machine up, the shutdown or restart buttons of Gnome do not do anything and applications like time-admin (that have an unlock-button with PolicyKit) have just greyed-out unlock-buttons. "polkit-auth" returns nothing for my user. When restarting X, all of the mentioned issues are fine and polkit-auth also shows all relevant rights. Reproducible: Always Steps to Reproduce: 1. Boot Gentoo with Gnome 2. Klick on Shutdown-Button in Gnome-Panel or launch apps like time-admin 3. Reset X, e.g. via CTRL+ALT+BACKSPACE Actual Results: After first boot up I have to restart X to be able to work satisfactory. Expected Results: When Gnome is coming up, the mentioned issues should be working immediatly without any reset of X. After some trouble, I found the following way to fix this. But I am not sure if it is a good fix (or maybe breaks something) and therefore I open up this bug report. I just added dbus as a dependency of the xdm initscript: --- xdm.old 2008-12-22 19:08:42.000000000 +0100 +++ /etc/runlevels/default/xdm 2008-12-22 19:01:25.000000000 +0100 @@ -51,7 +51,7 @@ before alsasound # Start before X - use acpid consolekit hald xfs + use acpid consolekit hald dbus xfs } setup_dm() {
as you are using xdm the gnome-session script should be using dbus by default. Would you please provide `emerge info` so we can see what useflags you have things compiled with.
(In reply to comment #1) > as you are using xdm the gnome-session script should be using dbus by default. > Would you please provide `emerge info` so we can see what useflags you have > things compiled with. > Hi Gentoobugsie, today I booted my system and was kind of shocked when I saw that my buttons were gone again. :) I spent some time on this and recognized that console-kit-daemon was not running. I reverted /etc/runlevels/default/xdm and rc-update add console-kit-daemon default. So this was my fault, sorry for this mistake. Do you still need my emerge --info?
(In reply to comment #2) > (In reply to comment #1) > > as you are using xdm the gnome-session script should be using dbus by default. > > Would you please provide `emerge info` so we can see what useflags you have > > things compiled with. > > > > Hi Gentoobugsie, > > today I booted my system and was kind of shocked when I saw that my buttons > were gone again. :) > > I spent some time on this and recognized that console-kit-daemon was not > running. I reverted /etc/runlevels/default/xdm and rc-update add > console-kit-daemon default. > > So this was my fault, sorry for this mistake. Do you still need my emerge > --info? > No if it is working fine, go ahead and close this bug report.