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

Hello!

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"
EndSection

EDIT:

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

# ~/.config/autostart/lightdm-screensaver.desktop
[Desktop Entry]
Type=Application
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'
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name=lightdm-screensaver
Last edited by paratrap on 2020-06-06 16:10, edited 2 times in total.
paratrap
 
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
Head_on_a_Stick
 
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 http://download.opensuse.org/repositories/home:/strycore/Debian_10 ./ Packages
     release o=obs://build.opensuse.org/home:strycore/Debian_10,n=Debian_10,l=home:strycore,c=
     origin download.opensuse.org
 500 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages
     release v=1.0,o=Google LLC,a=stable,n=stable,l=Google,c=main,b=amd64
     origin dl.google.com
 500 http://security.debian.org/debian-security buster/updates/non-free i386 Packages
     release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=non-free,b=i386
     origin security.debian.org
 500 http://security.debian.org/debian-security buster/updates/non-free amd64 Packages
     release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=non-free,b=amd64
     origin security.debian.org
 500 http://security.debian.org/debian-security buster/updates/main i386 Packages
     release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=i386
     origin security.debian.org
 500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
     release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=amd64
     origin security.debian.org
 500 http://deb.debian.org/debian buster-updates/main i386 Packages
     release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=main,b=i386
     origin deb.debian.org
 500 http://deb.debian.org/debian buster-updates/main amd64 Packages
     release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=main,b=amd64
     origin deb.debian.org
 100 http://deb.debian.org/debian buster-backports/non-free i386 Packages
     release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=non-free,b=i386
     origin deb.debian.org
 100 http://deb.debian.org/debian buster-backports/non-free amd64 Packages
     release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=non-free,b=amd64
     origin deb.debian.org
 100 http://deb.debian.org/debian buster-backports/main i386 Packages
     release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=main,b=i386
     origin deb.debian.org
 100 http://deb.debian.org/debian buster-backports/main amd64 Packages
     release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=main,b=amd64
     origin deb.debian.org
 100 http://deb.debian.org/debian buster-backports/contrib i386 Packages
     release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=contrib,b=i386
     origin deb.debian.org
 100 http://deb.debian.org/debian buster-backports/contrib amd64 Packages
     release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=contrib,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian buster/contrib i386 Packages
     release v=10.4,o=Debian,a=stable,n=buster,l=Debian,c=contrib,b=i386
     origin deb.debian.org
 500 http://deb.debian.org/debian buster/contrib amd64 Packages
     release v=10.4,o=Debian,a=stable,n=buster,l=Debian,c=contrib,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian buster/non-free i386 Packages
     release v=10.4,o=Debian,a=stable,n=buster,l=Debian,c=non-free,b=i386
     origin deb.debian.org
 500 http://deb.debian.org/debian buster/non-free amd64 Packages
     release v=10.4,o=Debian,a=stable,n=buster,l=Debian,c=non-free,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian buster/main i386 Packages
     release v=10.4,o=Debian,a=stable,n=buster,l=Debian,c=main,b=i386
     origin deb.debian.org
 500 http://deb.debian.org/debian buster/main amd64 Packages
     release v=10.4,o=Debian,a=stable,n=buster,l=Debian,c=main,b=amd64
     origin deb.debian.org
Pinned packages:
axet@axet-laptop:~$
paratrap
 
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.
paratrap
 
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

fashionable