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
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
recent debian update breaks screensaver
recent debian update breaks screensaver
Last edited by paratrap on 2020-06-06 16:10, edited 2 times in total.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: recent debian update breaks screensaver
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:
Of course it is possible that you've broken things:
Code: Select all
apt policy
deadbang
Re: recent debian update breaks screensaver
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:~$
Re: recent debian update breaks screensaver
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.
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.