screensaver/screenlocker stopped working after update

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

screensaver/screenlocker stopped working after update

Postby jiml8 » Oct 13th, '15, 09:30

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.
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09

Re: screensaver/screenlocker stopped working after update

Postby doktor5000 » Oct 13th, '15, 19:42

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: screensaver/screenlocker stopped working after update

Postby jiml8 » Oct 14th, '15, 05:58

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.
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09

Re: screensaver/screenlocker stopped working after update

Postby jiml8 » Oct 14th, '15, 06:13

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.
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09

Re: screensaver/screenlocker stopped working after update

Postby doktor5000 » Oct 14th, '15, 20:58

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: screensaver/screenlocker stopped working after update

Postby jiml8 » Oct 16th, '15, 18:18

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.
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09


Return to Basic support

Who is online

Users browsing this forum: daniewicz and 1 guest