You are not logged in.
Hi,
(Another thread...)
When my laptop lid closes, the system goes to sleep. Unlocking lightdm after waking up from this suspend causes a black screen. Switching to tty1 and back to tty7 also has the backlight turned off. Recovering seems only possible by restarting lightdm.
When suspending manually or through Xfce's power menu timeout, the session can be unlocked after waking up fine.
Changing the lid action to "Lock screen" in the power manager (for both Battery/AC to be sure) does not seem to have an effect - the laptop is still? Changing the action to "Switch off display" does have the desired effect of no locking or suspend.
With "Switch off display", and while manually locked, closing the lid does cause the laptop to enter suspend. But unlocking *does not* cause a black screen!
Anybody happen to have an idea of what is happening?
Using Mint 21.1 with Xfce 4.16 and LightDM 1.30.0.
SOLVED: Recompiled xfce4-settings from source and installed that, solved the issue.
Last edited by ikt (2023-05-22 18:14:05)
Offline
After killing the power manager with
xfce4-power-manager -q
Closing the laptop lid does not lock the screen or suspend the laptop. The display only turns off.
So it's definitely something with xfce4-power-manager causing this behavior.
Sadly, I cannot run it in debug:
xfce4-power-manager --debug
Because the screen stays black on (attempt to) resume...
Edit:
Digged further, undid the stuff I did in https://forums.linuxmint.com/viewtopic. … 1#p2328201.
Now on resuming, the laptop always goes to the lock screen, but a black screen is encountered.
The symptoms look like it's this: https://bugs.debian.org/cgi-bin/bugrepo … bug=991788
Blindly running
xrandr --auto
after unlock works, so it may be xfce4-settings related...
Last edited by ikt (2023-05-22 17:39:30)
Offline
Sadly, I cannot run it in debug:
xfce4-power-manager --debug
Because the screen stays black on (attempt to) resume...
Pipe the output to a file so you can review it when you recover:
xfce4-power-manager -Q
xfce4-power-manager --no-daemon --debug > ~/pw.log 2>&1
Also, maybe this reddit thread might be helpful.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
ikt wrote:Sadly, I cannot run it in debug:
xfce4-power-manager --debug
Because the screen stays black on (attempt to) resume...
Pipe the output to a file so you can review it when you recover:
xfce4-power-manager -Q xfce4-power-manager --no-daemon --debug > ~/pw.log 2>&1
Also, maybe this reddit thread might be helpful.
Thanks, though these don't seem to match my symptoms anymore. However, this does seem to match the behavior 1:1:
https://bugs.debian.org/cgi-bin/bugrepo … bug=991788
Sadly it looks like where I get xfce4 from (Mint, Ubuntu Jammy) still has the flag enabled...
Edit:
Followed the advice there of recompiling it myself, and the issue seems to be completely solved now.
Last edited by ikt (2023-05-22 18:14:47)
Offline
[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 546.07 KiB (Peak: 546.91 KiB) ]