mate-desktop / mate-screensaver

MATE screen saver and locker
https://mate-desktop.org
GNU General Public License v2.0
48 stars 40 forks source link

mate-screensaver does not lock screen #286

Open ulrichmuc opened 11 months ago

ulrichmuc commented 11 months ago

Expected behaviour: lock when computer is idle

Actual behaviour: no locking

Steps to reproduce the behaviour: request locking when computer is idle in the gui

MATE general version: MATE 1.26.0

Package version: gir1.2-matedesktop-2.0:amd64 1.26.0-1

gir1.2-matemenu-2.0:amd64 1.26.0-2ubuntu2

Linux Distribution: ubuntu 22.04.3 LTS (Jammy Jellyfish)

Link to bugreport: BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"

zhuyaliang commented 8 months ago

Please run mate-screensaver-command -l to verify if the screen can be locked

ulrichmuc commented 8 months ago

I guess you wanted to write "-l", not "- l".

I did this of course: I see one of my Photos, but no locking. As soon as I move the mouse, the screen goes back to its previous state.

Best,

    ulrich

On Mon, Dec 18, 2023 at 12:23:26AM -0800, mouse wrote:

Please run mate-screensaver-command - l to verify if the screen can be locked

zhuyaliang commented 8 months ago

Run gsettings get org.mate.screensaver lock-delay to view the returned results

ulrichmuc commented 8 months ago

gsettings get org.mate.screensaver lock-delay gives me "0". If I set lock-delay to "1", I see no difference for mate-screensaver-command -l

Best, ulrich

On Mon, Dec 18, 2023 at 05:47:20PM -0800, mouse wrote:

Run gsettings get org.mate.screensaver lock-delay to view the returned results

— Reply to this email directly, [1]view it on GitHub, or [2]unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

References

Visible links

  1. https://github.com/mate-desktop/mate-screensaver/issues/286#issuecomment-1861969642
  2. https://github.com/notifications/unsubscribe-auth/AXDV2XW6B3RL6WPSMQRS2ULYKDW2RAVCNFSM6AAAAAA4WKMNOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRRHE3DSNRUGI Opening in existing browser session.

-- -lauther

zhuyaliang commented 8 months ago

Please collect logs

mate-screensaver --debug >>/tmp/mslog 2>&1
zhuyaliang commented 8 months ago

@ulrichmuc Please help to check the results of running gsettings get org.mate.screensaver lock-enabled again

ulrichmuc commented 8 months ago

gsettings get org.mate.screensaver lock-enabled gives "true".

On Tue, Dec 19, 2023 at 03:52:01AM -0800, mouse wrote:

@.*** Please help to check the results of running gsettings get org.mate.screensaver lock-enabled again

— Reply to this email directly, [2]view it on GitHub, or [3]unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

References

Visible links

  1. https://github.com/ulrichmuc
  2. https://github.com/mate-desktop/mate-screensaver/issues/286#issuecomment-1862618197
  3. https://github.com/notifications/unsubscribe-auth/AXDV2XR73EMU2YV2W4V6TETYKF5WDAVCNFSM6AAAAAA4WKMNOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRSGYYTQMJZG4 Opening in existing browser session.

-- -lauther

zhuyaliang commented 8 months ago

In this case, the problem can only be analyzed based on debug information

pkill -f mate-screensaver
mate-screensaver --debug >>/tmp/mslog 2>&1
mate-screensaver-command -l