Screensaver makes system unusable after latest Dom0 update (19-5)

After the latest Dom0 update (19th may 2025), my system immediately goes to sleep or hibernation instead of simply blanking the screen. Changing screensaver config in Dom0 additionally results in countless errors. Since at least some systems don’t wake up from sleep (mine doesn’t) this problem can make the system unusable, the only thing left to do is switching it off with the power button. Even though I got some errors while doing so, I managed to switch the screen saver off. Hopefully this solves the direct problem, but something is definitely wrong here since the latest Dom0 update.

Edit: The problem seems directly caused by XScreensaver, locking the screen causes the problem. It doesn’t show the password box to unlock the screen anymore, leaving the user locked out

4 Likes

You may be able to type in your password anyway.

(I have a similar situation with KDE…the monitor sometimes wakes up but shows nothing but a mouse pointer on a black screen. Plugging in a thumbdrive will wake it up the rest of the way, but I also discovered I could type in the password and it would work even while showing a black screen.)

Good suggestion Steve, but sadly it didn’t work.

Even with the screensaver and powermanager disabled, the screen turns to black after some time. After having been forced to power the system down (and losing my work) with the power button for three times now, I decided to switch to i3, hopefully the issue is absent there.

@kurt Do you have a HiDPI display? Or something with resolution equal or higher than Full-HD?

Same problem here, XScreensaver in dom0 updated and now the password entry box to unlock the screen after it was locked no longer appears. It’s not a problem with the screen not turning on, my screen doesn’t turn off and when I press a button the mouse cursor appears for around a second.

Only way out is to switch to TTY and reboot.

That’s exactly it okiyama. It’s pretty much impossible to work like this. Luckily i3 seems to be working just fine.

Thank you for bringing this up when you did.

I can’t fix it (and my suggested workaround was a shot in the dark), but at least now I know not to update dom0. (Even though I’m using KDE I don’t dare.)

1 Like

Exact same problem here. FWIW I do have a High Resolution (5120x1440) screen.

I’ve turned on “Presentation mode” by clicking on the battery icon in the task bar. So far this seems to successfully prevent screen blanking and thus works around the issue.

Of course the downside is that now I’ll have to shut everything down when leaving for an hour or two. :roll_eyes:

Please read this issue on Github:

I have submitted a patch to fix this and some workarounds for the time:

3 Likes

@kurt

As a temporary solution to keep your job, you could try Ctrl+Alt+F2 login as user, ps auxwww | fgrep screen, kill xscreensaver --splash and switch back Ctrl+Alt+F1.

P.S. Didn’t notice. This tip is already in the fix above.

1 Like

The fix PR is merged and is in current-testing. If you do not want to wait for it to move to stable, you could install it right now via:

sudo qubes-dom0-update --action=update --enablerepo=qubes-dom0-current-testing xscreensaver-base

If this solves the issue for you and you have a Github account, it would be highly appreciated if you could give it a thumbs-up in [updates-status]. So it would be pushed faster to stable repository for other users.

3 Likes

fell into this…

for me, the last update (20th of may) broke qubes-dom0-update. If I try to run sudo qubes-dom0-update it gives me

/usr/lib/qubes/qubes-download-dom0-updates.sh: No such file or directory

So if I had the screensaver issue, I would not be able to apply the update. Right now, I can’t apply any updates

The mentioned script is in UPDATEVM (actually its template). What do you use for dom0 update? Fedora, Debian or Whonix?

Dom0 is fc37
System default is debian-12-xfce

So the script is in another template?

Thing is, I can check for updates and apply updates in any template except dom0. Dom0 throws the above error either in the terminal of via gui

Yes. That script should be present on dom0’s updatevm (which is sys-firewall by default). Or rather on whichever template it uses (which is default-dvmfedora-41-xfce by default at this moment). If you do not have it, install it on that template. Or select another template and/or updatvm for dom0. On Fedora templates, the package name is qubes-core-agent-dom0-updates. Otherwise, you may ask about it on Forum (better on a new topic).

thanks for the pointer that was it. I had switched sys-firewall to debian-12-minimal to try and harden it a bit not thinking that this would affect dom0’s update process. Switching back to my original template fixed everything. Thanks!!

1 Like

You can use a debian-12 minimal based sys-firewall. I’d clone debian-12-minimal, add this script to it (plus the other few items a service qube needs, and those that a service qube client needs since sys-firewall connects to sys-net). And just use that.

You shouldn’t have to go back to a full template.

1 Like

yes, after confirming that it was the sys-firewall template the issue, I added the required package in debian-12-minimal and tested it to make sure everything worked

1 Like