Screen lock can't be disabled... again. Qubes 4.3.0

In Qubes 4.2 you could disable screen lock permanently by enabling Presentation Mode in battery settings (default screen settings simply couldn’t help with it). After upgrading to 4.3.0 this method already doesn’t work. Or rather, it only works from time to time (mostly doesn’t). For all the times I launched Qubes after upgrading, screen lock was disabled only once, when I upgraded Whonix WS. Now, after reboot, during this session, screen lock works again, no matter what.
Why haven’t you been able to fix this screen lock bug in all this time?
Now I have to constantly enter the screen password again, or constantly make sure the screen doesn’t turn off. But there are situations when some process is happening on the screen, the progress of which must be constantly monitored.
So consider it as a request, made for all users, to configure the screen lock disable feature.
P.S. If any users know of current methods for disabling the screen lock, I would be grateful if you would share them.

2 Likes

Me? Sorry, I wasn’t aware of that bug. :slight_smile:

A workaround would be to set the time to 1440 minutes before the screensaver starts.

2 Likes

I did and its getting locked after a few minutes regardless. Its quite bugged I think.

1 Like

May be caused by the multiple places where settings, affecting the screen lock timeout, exist. As far as I understood, R4.3 changed to using xscreensaver, so those settings have to be checked… in addition to the power management and logind settings.

1 Like

I already disabled power management, and the Lock Screen in Screensaver preferences is set to 1440 minutes.
I just noticed Activate screensaver when computer is idle option inside Screensaver Preferences > Screensaver was set to 5 minutes (although disabled). Maybe thats where the bug is. Now i turned the option on and changed it to 1440 minutes here as well, then disabled it again. I’ll report back if this fixes the problem.

1 Like

The workaround is working! @Qubie

2 Likes

Isn’t it the other way around? Qubes moved from xscreensaver to xfce4-screensaver.

From the release notes:

Default screen locker is changed from XScreenSaver to xfce4-screensaver

None of the tricks I used seem to be working anymore. I know I used to use xset manually per session in the past and if I remember correctly my long term “fix” was activating the presentation mode in the settings. I don’t see that setting anywhere anymore.

I have tried xset, I have disabled the screensaver in the settings and looked for the presentation mode in the Power Manager settings. It said that the xfce power manager is not running. Maybe this is related? I confirmed to start it and disabled everything and I’m yet to find out if it helps.

Before I decided to go for a clean 4.3 reinstall, it didn’t seem to lock the screen anymore after I confirmed starting the XFCE power manager.

After the clean install, it’s still the same. When accessing the power manager settings, it says that it’s not running. I would have to start it manually every time. That may work to disable the screensaver. Before installing the official i3 package and Qubes config, I took the time to open the power manager in the default environment. The power manager was running.

Could this be a bug when using Qubes with i3? Should the power manager be running?

Don’t know how you all, but I found screensaver settings and disabled screen lock and screensaver. It helped. But then I enabled screensaver for some reason. Then disabled it again but now it still works anyway. Enabling/disabling doesn’t help anymore.

I have the same problem, fully up-to-date 4.3.0. I disabled the screensaver, but the screen still locks after a few (2-5?) minutes.

Did you disable the second tab “Lock Screen” ?

No, I still want the features from there (e.g. screen getting locked after waking from sleep). I just don’t want an auto-lock after a timeout and retyping my password every 5 minutes.

I have noticed what has been mentioned here too and for me this is a “good” bug.

When I log into Qubes OS, Presentation mode is on, because I left it that way when I shut down last. However, although Presentation mode is on, the screen locks anyway. I have to turn off Presentation mode and turn it back on again to take effect.

This is a good security feature if you ask me. Screen lock is there for a good reason. You don’t want to always have Presentation mode on, it’s big security risk if you have to step way at some point.

Definitely worth the inconvenience of having to enable it after startup the first time it happens.

Excellent job devs, although unintentional. Please don’t fix! :rofl: