recent debian update breaks screensaver

If none of the more specific forums is the right place to ask

recent debian update breaks screensaver

Postby paratrap » 2020-06-04 15:59


Recent debian buster update breaks gnome blackscreen screen saver. Not sure when this happened exactly. Two my notebook stops to blackscreen. To fix add:

# /usr/share/X11/xorg.conf.d/60-sleep.conf
Section "ServerFlags"
Option "StandbyTime" "1"
Option "SuspendTime" "1"
Option "OffTime" "1"
Option "BlankTime" "1"


It is lightdm related issue, gnome-screensaver no longer autostarted use lightdm-screensaver:

# ~/.config/autostart/lightdm-screensaver.desktop
[Desktop Entry]
Exec=bash -c 'dbus-monitor --session "type=signal,interface=org.gnome.SessionManager.Presence,member=StatusChanged" | while read -r STATUS; do [[ $STATUS == uint32*3 ]] && xset dpms force off; done'
Last edited by paratrap on 2020-06-06 16:10, edited 2 times in total.
Posts: 28
Joined: 2010-09-05 13:08

Re: recent debian update breaks screensaver

Postby Head_on_a_Stick » 2020-06-04 17:05

The screen blanking option works just fine in my fully updated buster GNOME desktop. I'm using Wayland though, which I presume is not the case for you if an X.Org configuration file changes the behaviour.

Of course it is possible that you've broken things:
Code: Select all
apt policy
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Posts: 12194
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: recent debian update breaks screensaver

Postby paratrap » 2020-06-04 17:47

I guess I can not brake it simultaneity on two machines. Yes, I'm using X11, wayland have resolution issues on my AMD video card machine.

Code: Select all
axet@axet-laptop:~$ apt policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 ./ Packages
     release o=obs://,n=Debian_10,l=home:strycore,c=
 500 stable/main amd64 Packages
     release v=1.0,o=Google LLC,a=stable,n=stable,l=Google,c=main,b=amd64
 500 buster/updates/non-free i386 Packages
     release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=non-free,b=i386
 500 buster/updates/non-free amd64 Packages
     release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=non-free,b=amd64
 500 buster/updates/main i386 Packages
     release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=i386
 500 buster/updates/main amd64 Packages
     release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=amd64
 500 buster-updates/main i386 Packages
     release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=main,b=i386
 500 buster-updates/main amd64 Packages
     release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=main,b=amd64
 100 buster-backports/non-free i386 Packages
     release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=non-free,b=i386
 100 buster-backports/non-free amd64 Packages
     release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=non-free,b=amd64
 100 buster-backports/main i386 Packages
     release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=main,b=i386
 100 buster-backports/main amd64 Packages
     release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=main,b=amd64
 100 buster-backports/contrib i386 Packages
     release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=contrib,b=i386
 100 buster-backports/contrib amd64 Packages
     release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=contrib,b=amd64
 500 buster/contrib i386 Packages
     release v=10.4,o=Debian,a=stable,n=buster,l=Debian,c=contrib,b=i386
 500 buster/contrib amd64 Packages
     release v=10.4,o=Debian,a=stable,n=buster,l=Debian,c=contrib,b=amd64
 500 buster/non-free i386 Packages
     release v=10.4,o=Debian,a=stable,n=buster,l=Debian,c=non-free,b=i386
 500 buster/non-free amd64 Packages
     release v=10.4,o=Debian,a=stable,n=buster,l=Debian,c=non-free,b=amd64
 500 buster/main i386 Packages
     release v=10.4,o=Debian,a=stable,n=buster,l=Debian,c=main,b=i386
 500 buster/main amd64 Packages
     release v=10.4,o=Debian,a=stable,n=buster,l=Debian,c=main,b=amd64
Pinned packages:
Posts: 28
Joined: 2010-09-05 13:08

Re: recent debian update breaks screensaver

Postby paratrap » 2020-06-05 07:37

Seems like I found a source of the problem. gnome-screensaver is not running:

axet@axet-laptop:~$ gnome-screensaver-command -q
** Message: 11:26:00.976: Screensaver is not running!

As I know gnome should start it automatically without manually adding it to the startup applications. The question is why?

EDIT: lightdm not starting gnome-screensaver by default, not sure if manually adding it to the startup application is the correct approach.
Posts: 28
Joined: 2010-09-05 13:08

Return to General Questions

Who is online

Users browsing this forum: No registered users and 10 guests