Today did an update and among them was libsoup3 3.4.0-1 (from 3.2.2-1) and my virt-manager broke in that I could not open any VM’s (cli with virsh still worked fine). Downgraded libsoup3 back to 3.2.2-1 and virt-manager worked again. libsoup3 3.4.0-1 had changes that depend on glib2 2.76.0-1 so keeping all these packages downgraded is getting to be a messy solution.
to fix install xfce4-screensaver-git (should automatically remove xfce4-screensaver)
if downgraded glib2 (2.74.6-1) and accountsservice (22.08.8-2) upgrade them both and enjoy functional lock screen behaviour.
Another solution is to remove xfce4-screensaver and install light-locker as suggested:
explaination: xfce4 uses xflock4 to handle screen locking. xflock4 is a bash script that calls in order: xscreensaver, light-locker, xfce4-screensaver and launches the first of those it finds. Default installs of xfce have xfce4-screensaver installed so that is what gets launched and erratic lock screen behaviour follows since xfce4-screensaver has not been updated to reflect changes in glib2. Remove xfce4-screensaver and install either xfce4-screensaver-git or light-locker to fix. No need to downgrade any packages as I suggested earlier.
For me, the issue goes away if I temporarily turn off one of my two monitors. So as a workaround, I can turn it off, make it through the lock screen, and then turn my second monitor back on afterwards.
I’m visiting here from ArcoLinux Land
I was having this issue and this thread helped me with figuring out a workaround so I thought I’d leave it here as well. At least for me, using the newer 4.18 version of xfce4-screensaver seemed to fix the issue. To install it from the Arch testing repos: sudo pacman -U https://archive.archlinux.org/packages/x/xfce4-screensaver/xfce4-screensaver-4.18.0-1-x86_64.pkg.tar.zst
I know this is not ideal as you’ll have packages out of sync, but so far, it has been working for me, until the rest of Xfce 4.18 lands in the main repos.
Fixes the issue for me with 4.18.0-1. It just hit Manjaro Unstable branch. As an added bonus, I checked out my .xsession-errors and I found out that my autostart script that I have been using to lock the screen with xfce4-screensaver was no longer working. I was getting the following:
06:42:36.868: Unable to launch "/bin/autolock"
(specified by autostart/autolock screensaver.desktop):
Failed to execute child process “/bin/autolock” (Permission denied)
I removed the script and the autostart entry and xfce4-screensaver no longer has an issue with locking the screen after a set time.
For me, xfce4-screensaver 4.18.0-1 solves the problem being discussed in this thread: boot-up after suspend or hibernate displays a blinking, nonfunctional login screen.
Unfortunately, for me, the update introduces a new problem: I am not able to switch reliably between users after hibernation. (Correction: See Edit below.)
For one example (and I’m experiencing other anomalies, too): User 1 hibernates. Upon reboot, User 1 switches on the login screen to User 2 (without logging in as User 2) and then switches back to User 1. Logging in at this point as User 1 fails the first time but succeeds the second time (and, upon second login, User 1’s previous session is properly restored). (Also irritating: Switching between users on the login screen after hibernation used to require only a simple press of the up or down arrow key, but it now requires a press of a new Switch User button.)
Since two users use my computer, I’m reverting for now to the previous workaround.
Edit: The previous workaround is actually worse than the upgrade to xfce4-screensaver 4.18.0-1, since the previous workaround doesn’t even offer the option of switching between users after hibernation.