Page 1 of 1

screensaver/screenlocker stopped working after update

PostPosted: Oct 13th, '15, 09:30
by jiml8
A few days ago, I allowed an update (not sure what was updated) and now my screensaver/screenlocker never activate. I can manually lock the display, but if I just walk away, the 5 minute timeout to screensaver and subsequent 60 second timeout to screenlocker never happens.

I have tried resetting the screensaver/locker in the KDE control center, but it seems to have no effect. Something is not running, but I have no idea what, or why.

Re: screensaver/screenlocker stopped working after update

PostPosted: Oct 13th, '15, 19:42
by doktor5000
Sounds like your user dbus session could be hosed somehow.

For some more details, please see the answer to http://askubuntu.com/questions/61339/wh ... -under-kde on how to trigger that manually to see whether you can spot any issues.

There's also http://superuser.com/questions/820596/k ... n-lock-log which has hints on how to monitor the dbus signals and write a log from them.

FWIW, does manual locking still work?
Code: Select all
/usr/$(rpm -E %_lib)/kde4/libexec/kscreenlocker_greet --immediateLock

Re: screensaver/screenlocker stopped working after update

PostPosted: Oct 14th, '15, 05:58
by jiml8
Both links were useful, and seem to show that there is no problem with dbus, and that the screensaver service is available in my KDE session. Yes, it does work when I invoke it manually using any of several methods (ctrl-alt-L, the icon in the taskbar, qdbus org.freedesktop.ScreenSaver /ScreenSaver Lock, kscreenlocker_greet --immediateLock).

It is not invoked after a period of inactivity, as it should be, and as it is configured to be in the KDE control center.

Re: screensaver/screenlocker stopped working after update

PostPosted: Oct 14th, '15, 06:13
by jiml8
There is also no reference to kscreenlocker or ScreenSaver in .xsession-errors or in /var/log/messages. In fact, there is no reference to either of those anyplace in /var/log or its subdirectories.

~/.kde4/share/config/kscreensaverrc contains:
[ScreenSaver]
ActionBottomLeft=0
ActionBottomRight=0
ActionTopLeft=0
ActionTopRight=0
Enabled=true
Lock=true
LockGrace=60000
PlasmaEnabled=false
Saver=KPendulum.desktop
Timeout=300

which looks OK to me.

Re: screensaver/screenlocker stopped working after update

PostPosted: Oct 14th, '15, 20:58
by doktor5000
Hmmm, if I remember correctly, one user had an issue with the power management settings - seems displaying the OSD (for screen brightness changes and such) broke something there.
You may try fiddling around with the there.

Otherwise I'd suggest asking upstream at https://forum.kde.org/ on how to debug/log the idle watcher that would trigger the locking.

Re: screensaver/screenlocker stopped working after update

PostPosted: Oct 16th, '15, 18:18
by jiml8
Without rebooting, or logging out and back in, or anything else, my screensaver has come to life on its own.

I have no explanation. I suspect that when I manually executed those commands a few days ago, it was reinstated (or something) by KDE.

I have not yet logged out and back in, and I certainly have not rebooted. So I don't know if this will last.