[Xfce-bugs] [Bug 8708] Xfce4-session: Shutdown/restart without consolekit no longer works in 4.10pre (buttons disabled)

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Mon Apr 16 18:58:01 CEST 2012


https://bugzilla.xfce.org/show_bug.cgi?id=8708

--- Comment #1 from Klaus Kusche <klaus.kusche at computerix.info> ---
Hmmm, some additional findings:

* "Commenting out all consolekit-related code lines in xfsm-shutdown.c
solves the problem for me: The shutdown/restart buttons are enabled and work."
Not completely true. Works on some systems, not on others, don't know why.

* Xfce's shutdown mechanism works fine: In the keyboard settings, I've bound
"xfce4-session-logout --halt" to a key combination, and that works fine,
in spite of the shutdown and reboot buttons being grey:
Pressing those keys shuts down Xfce and the system cleanly.

So it's just the keys and menu entry enabling which fails,
not the shutdown itself.

* ps *permanently* shows two root-owned processes as soon as Xfce is started:
sudo -H -S -p XFSM_SUDO_PASS  -- /usr/lib64/xfce4/session/xfsm-shutdown-helper
/usr/lib64/xfce4/session/xfsm-shutdown-helper

Is that expected?
At least, it also shows that sudo is working fine!

* If I run the above sudo command in a shell,
I get the response "XFSM_SUDO_DONE", and the command is waiting for input.
If I type something, it says "FAILED" and terminates
(I don't know what it expects).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list