Description of problem: When system is suspended/asleep, resume occurs as expected when opening lid. However, the desktop flashes briefly and then system suspend initiates immediately and cannot be avoided. Closing lid and reopening has no effect; the power button must be pushed, which occasionally results in unintended power off. Version-Release number of selected component (if applicable): F18 How reproducible: Has occurred every time since upgrade to F18 Steps to Reproduce: 1. Suspend system 2. Try to resume 3. Actual results: System must be manually resumed a second time. Expected results: System should resume and allow login to existing desktop session. Additional info: I see quite a few reports of this against F17, but I never experienced this behavior with F17.
*** Bug 906980 has been marked as a duplicate of this bug. ***
What was I thinking setting the severity to low!? This is incredibly aggravating and frustrating! Please help soon.
Please boot the system, reproduce the problem and provide output of dmesg (as attachment). This may be kernel or systemd problem.
Created attachment 693283 [details] dmesg output after experiencing problem
Thanks for the help, Jaroskav! Much appreciated. Just let me know what you need from me. BTW, I also notice that when it is trying to resume the first time, I see the desktop flash, not the xscreensaver login screen. When I hit the power button (twice), and it finally does resume, I don't see this effect; I see only the blank of the screensaver. Not sure if that helps.
The dmesg seems OK. Lids are tricky and sometimes needs workarounds due to bugs in machines firmware/ACPI. Sometimes BIOS upgrade may help. As the lid handling was switched from upower to systemd in f18 I suspect there aren't the previous workarounds implemented. Could you provide output of journalctl?
Created attachment 695665 [details] journalctl output Okay, thank you for your continued help. I will pursue a BIOS upgrade, but, in the meantime, here is the log you requested.
Awesome. This symptom only occurs in Xfce desktop, not GNOME or LXDE.
(In reply to comment #8) > Awesome. This symptom only occurs in Xfce desktop, not GNOME or LXDE. > Thanks for info, the journalctl output seems OK. Reassigning to xfce4-power-manager for further investigation.
Both systemd and xfce4-power-manager are trying to handle the suspend event - which then results in suspending twice. To prevent that, please edit /etc/systemd/logind.conf, comment out the events you want to ignore and set them to 'ignore' e.g. "HandleLidSwitch=ignore" or "HandlePowerKey=ignore". Or don't use xfce4-power-manager at all. I'm sorry for the incontinence. Please complain to the systemd developers/maintainers who decided to push this feature F18 without contacting the Xfce or LXDE maintainers (among many others).
(In reply to comment #10) > comment out the events you want to ignore Sorry, I mean "enable the commented out lines" be removing the # sign.
Actually, this is a duplicate of Bug 887459. Sorry. Although, that one is still open.