Since update to 1.6.6, lid close fail to lock or suspend + lock when using xfce4-screensaver. Other lockers don't seem affected by this. A dialog with following error message appears: "none of the lock tools ran successfully, the screen will not be locked" Reverting back to 1.6.5, the system returns to a successful lock. Possible culprit is commit 26d621a8d30c1c2d0fcf56fd89379ef8f9f8ada6
I confirm that just reverting 26d621a8d30c1c2d0fcf56fd89379ef8f9f8ada6 restores normal laptop lid locking behavior.
Created attachment 9557 Proposed patch xfce4-session needs to be patched as well. I attached a proposal.
(In reply to Maurizio Galli from comment #2) > Created attachment 9557 > Proposed patch > > xfce4-session needs to be patched as well. I attached a proposal. needs further digging as there are other unexpected behaviors
Created attachment 9560 xfce4-power-manager log
Created attachment 9561 xfce4-screensaver log during lid events
Created attachment 9575 xfce-power-manager-log xfce-power-manager-log
Created attachment 9576 xfce4-screensaver log during lid events
Created attachment 9579 error message After clicking yes the system goes to hibernate, like it should.
Created attachment 9634 xfce4-session: Support xfce4-screensaver I added another patch for xfce4-session (untested) - maybe MauG you can take it for a spin and also tell me which side-effects you noticed with your own (slightly different) patch.
Locks screen now appears but suspend fails with the same error dialog. Moreover suspend seems to fail through the session manager too now.
Sean Davis referenced this bugreport in commit cc33cea3df2ab361cdbddecfa901fbc048ce278b Send empty DBus responses (bug #16522) https://git.xfce.org/apps/xfce4-screensaver/commit?id=cc33cea3df2ab361cdbddecfa901fbc048ce278b
Combine the session patch with the screensaver commit just above, and this issue should be resolved. Please confirm.
(In reply to Sean Davis from comment #12) > Combine the session patch with the screensaver commit just above, and this > issue should be resolved. Please confirm. It works! No more error messages nor failures. Thank you for fixing this issue! Unless there is some side effect coming up, I will close this as resolved:fixed
Please leave it open until I push the session fix. Thanks a bunch for fixing this Sean!!
Simon Steinbeiss referenced this bugreport in commit 0c4496b3c989e5e200afb0abd7f61ff65f1bebc8 Add support for xfce4-screensaver (Bug #16522) https://git.xfce.org/xfce/xfce4-session/commit?id=0c4496b3c989e5e200afb0abd7f61ff65f1bebc8
Simon Steinbeiss referenced this bugreport in commit 3faf52e8d61db5770499d454e54981a70e60d1b5 Add support for xfce4-screensaver (Bug #16522) https://git.xfce.org/xfce/xfce4-session/commit?id=3faf52e8d61db5770499d454e54981a70e60d1b5
Fixed with xfce4-session 4.14.2, xfce4-power-manager 1.6.6 and xfce4-screensaver from git master :)
*** Bug 16605 has been marked as a duplicate of this bug. ***