xfce4 screensaver does not enable on Saver Timout

Bug #1912077 reported by Craig Harding
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
xfce4-screensaver (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

xfce4-screensaver started not enabling after the 'Saver Timeout' would be past. At some point I removed light-locker as per one of comments in https://bugs.launchpad.net/ubuntu/+source/xfce4-screensaver/+bug/1875025 as I have having password unlock issues.

To give some background - I did an upgrade from 16.04 to 18.xx and then to 20.04 LTS.

Ever since then I believe xfce4-screensaver hasn't behaved properly. My laptop will be idle and it sometimes works (xfce4-screensaver sometimes enables and sometimes not). I still cannot find when it works and when it doesn't. I sometimes have to shutdown xfce4-screensaver and restart it. When I do this and to try and debug this I have been running:

'xfce4-screensaver --no-daemon --debug 2>&1| tee xfce4-screensaver.debug'.

Attached is that file from the last couple of days.

My xfce4-screensaver options are:
SCREENSAVER tab:
- Enables Screensaver: ON
- Activate screensaver when computer is idle: ON
- Regard the computer as idle: 2min
- Inhibit screensaver for fullscreen applications: ON
LOCK SCREEN tab:
- Enable Lock Screen: OFF

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xfce4-screensaver 0.1.10-0ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-59.65-generic 5.4.78
Uname: Linux 5.4.0-59-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.14
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Sat Jan 16 15:06:25 2021
ExecutablePath: /usr/bin/xfce4-screensaver
InstallationDate: Installed on 2017-04-07 (1380 days ago)
InstallationMedia: Xubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215)
SourcePackage: xfce4-screensaver
UpgradeStatus: Upgraded to focal on 2020-08-10 (159 days ago)

Revision history for this message
Craig Harding (craigwharding) wrote :
description: updated
Revision history for this message
Craig Harding (craigwharding) wrote :

If I kill -15 the xfce4-screensaver process and restart it, the screensaver will work ok but when I close lid and open again during future session, screensaver will not work but is still running..

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xfce4-screensaver (Ubuntu):
status: New → Confirmed
Revision history for this message
Douglas Silva (o-alquimista) wrote (last edit ):

I believe I can reproduce this on Xubuntu 22.10 kinetic. Basically my issue is that *sometimes* the screensaver will not lock the screen when the system is idle.

This is reproducible about 70% of the time. Sometimes it works.

I have a workaround:
1. Open screensaver settings (xfce4-screensaver-preferences)
2. Toggle 'Activate screensaver when computer is idle' and touch the option 'Regard the computer as idle after'. By 'toggle' I mean disable, then re-enable it. By 'touch' I mean, change to arbitrary value, then revert to desired value.

This should make the screensaver respect your settings, at least for the current session.

### Current configuration:
- Activate screensaver when computer is idle: ON
-- Regard the computer as idle after: 9 minutes

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.