! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Shutdown/Reboot fail and go back to the login screen
Status:
RESOLVED: FIXED
Severity:
critical
Product:
Xfce4-session
Component:
General

Comments

Description Hudson Zuo 2011-08-14 10:18:57 CEST
Using xorg+slim+xfce4 on Gentoo linux, SUSPEND is ok, but SHUTDOWN and REBOOT fail.
When click on Shutdown/Reboot button in logout dialog, it goes back to slim login screen.
Comment 1 Hudson Zuo 2011-08-14 10:57:01 CEST
Created attachment 3823 
Enable xfsm_shutdown_helper_send_command execute when shutdown_type is XFSM_SHUTDOWN_HALT or XFSM_SHUTDOWN_REBOOT. XFSM did nothing for them, I think.

patch for the bug.
Comment 2 Nick Schermer editbugs 2012-04-13 20:29:08 CEST
Can you reproduce this with 4.9, because large portions of the code changed.
Comment 3 Ahau 2012-04-13 21:05:55 CEST
I've reproduced it in 4.9, (using lxdm) but only when working on an ext2 partition (this behavior was the same in 4.8).  Other filesystems appear to exit normally on my end.

When I was using slim, the slim logs made it look to me like the xorg server was crashing on xfce logout (this would happen on all filesystems).  Xorg would then try to recover, and load the login manager.  I don't get the same log information with lxdm, however.  If there's any testing I could do to get you more useful information, please let me know.

Thank you for looking into this!
Comment 4 Nick Schermer editbugs 2012-04-13 21:10:27 CEST
Created attachment 4317 
Drop sync code

Well the sync code is just crazy, so could you try this patch?
Comment 5 Ahau 2012-04-13 22:51:34 CEST
Many thanks, Nick!

I've applied the patch and recompiled.  When shutting down or rebooting, my screen flashes to the login manager for a (very) brief instant before dropping to the CLI and shutting down.  I've posted an updated package containing this patch and asked our community member who was initially experiencing the bug to test it on his hardware and report back.  I'll let you know how it goes.

Bug #7887

Reported by:
Hudson Zuo
Reported on: 2011-08-14
Last modified on: 2012-04-18

People

Assignee:
Nick Schermer
CC List:
3 users

Version

Attachments

Additional information