Bug 448194
Summary: | Xfce: You can't shutdown by clicking Quit (desktop menu) then Shutdown | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mark Summerfield <mark> |
Component: | xfce4-session | Assignee: | Kevin Fenzi <kevin> |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 8 | CC: | christoph.wickert, das |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-01-09 06:32:45 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mark Summerfield
2008-05-24 08:41:28 UTC
Of course the filename is /etc/sudoers (Also the file says it must only be edited by visudos by that doesn't seem to be available.) My "fix" only worked once. Now it isn't possible to shutdown again. I'll go back to KDE 3.5. Mark, in Xfce 4.4 the shutdown/reboot is triggered via dbus/hal and should work out of the box. In Xfce 4.2 it was based on sudo, so one needs to edit /etc/sudoers once and add ALL=NOPASSWD:/usr/sbin/xfsm-shutdown-helper Unfortunately there is no way for us to do this automatically. If you get an error message about /etc/sudoers then I guess you are still on Xfce 4.2. Please give us the output of "rpm -q xfce4-panel". Correction: This needs to bee ALL=NOPASSWD:/usr/libexec/xfsm-shutdown-helper I just installed the standard xfce that comes with Fedora 8 using Pirut, i.e., xfce4-panel.i386 4.4.2-1.fc8, etc., so maybe it is okay in Fedora 9. Anyway, I've switched back to KDE now. Thanks. (In reply to comment #5) > I just installed the standard xfce that comes with Fedora 8 using Pirut, i.e., > xfce4-panel.i386 4.4.2-1.fc8, etc., so maybe it is okay in Fedora 9. This is strange, it has been working in Fedora 7 and 8 too. > Anyway, I've switched back to KDE now. > Thanks. The above fix will also work with Xfce 4.4, because it falls back to sudo if hald is not available. But I'd like to ask you to help me troubleshooting this issue because you might just have encountered a hal or dbus problem. Please log in to xfce and open a terminal ps -A | grep dbus ps -A | grep hald Do you have dbus and hald running? Then try the following: killall xfce4-panel && xfce4-panel When you now hit the shutdown button, do you see something like "HAL not available or does not permit to shutdown/reboot the computer, trying sudo fallback instead" on the terminal just before you logout? Or do you have anything like this in .xsession-errors? What login manager are you running? gdm? TIA! This looks like a duplicate or at least related to: https://bugzilla.redhat.com/show_bug.cgi?id=444789 I haven't heard anything back from the reporter there however. ;( I already used Pirut to remove Xfce entirely---I had only been experimenting with it. And I'm loathe to reinstall it because when I went back to KDE I discovered that my Desktop Menu had been completely messed up. The only way I could find to restore it was to install kmenu-gnome. The same problem in Xfce in F9. rpm -q xfce4-panel => xfce4-panel-4.4.2-4.fc9.i386 I added the line to /etc/sudoers: ALL=NOPASSWD:/usr/libexec/xfsm-shutdown-helper Still Quit -> 'restart' or Quit -> 'shutdown' is not working. All three restart/shutdown/logout results the same, that is, logout. On the console back in init 3 I get some error message with something like xfce-mcs-manager and hald. Let me copy the error message. I am typing this by doing the restart from my
laptop, so minor errors may be there.
<<
** (xfdesktop.3491): CRITICAL **: settings_register_callback" assertion 'cb &&
user_data && mcs_client' failed
** (xfdesktop.3491): CRITICAL **: settings_register_callback" assertion 'cb &&
user_data && mcs_client' failed
could not attach to desktop process
** (xfce-session:3336): WARNING **: xfsm-shutdown-helper.c:176: Failed to
contact HAL: org.freedessktop.hal.power-management.reboot-multiple-sessions
auth_admin <-- (action, result)
** (xfce-session:3336): WARNING **: Failed to perform shutdown action!
waiting for X server to shut down xfce-mcs-manager: Fatal IO error 11 (Resource
temporarily unavailable) on X server :0.0.
xfce-panel: Fatal IO error 4 (Interrupted system call) on X server :0.0.
.
>>
This was the error after I added that line to the /etc/sudoers file. As mentioned before you shouldn't need to do anything with sudo, as it's all handled via dbus/hal now just fine. Das: Can you provide the debugging that Christoph was looking for from comment #6? This message is a reminder that Fedora 8 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 8. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '8'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 8's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 8 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 8 changed to end-of-life (EOL) status on 2009-01-07. Fedora 8 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |