jbuchermn / newm

Wayland compositor
MIT License
961 stars 31 forks source link

It is impossible to unlock after a long tim #98

Open CRAG666 opened 2 years ago

CRAG666 commented 2 years ago

@jbuchermn Usually I never leave my computer without using more than 10 minutes, in any case I better turn it off. However, yesterday I left the computer on without use for around 30 minutes when trying to unlock, another lock screen would appear and so on in an endless cycle. In the end I had to turn off the computer

jbuchermn commented 2 years ago

Can you post a log?

CRAG666 commented 2 years ago

newm_log

jbuchermn commented 2 years ago

Can you describe in more detail what happens? I see a lot of "Locking for user..." log entries which should only be fired once you hit the keybinding for lock or timeout passes...

CRAG666 commented 2 years ago

I was working, so I left the computer for at least 1 hour without activity, when I tried to unlock it I couldn't, because again it showed me the message to insert a password and if every time I tried to unlock it was an infinite loop.

jbuchermn commented 2 years ago

So it did unlock and then lock again immediately? Or did it act like your password is wrong?

CRAG666 commented 2 years ago

So it did unlock and then lock again immediately? Or did it act like your password is wrong?

Exactly that

jbuchermn commented 2 years ago

Which one? :D

CRAG666 commented 2 years ago

HA HA, All :)

CRAG666 commented 2 years ago

Everything you ask happened, it was an infinite loop

jbuchermn commented 2 years ago

Which one? Unlock (lock screen disappears) and immediately lock again, or not even unlock (lock screen never disappears)

CRAG666 commented 2 years ago

@jbuchermn It disappears for a few seconds and then the lock window appears, that happens infinitely.As I say the behavior is approximately when you stop using the equipment for one hour

jbuchermn commented 2 years ago

Okay, that helps :) is this consistent? I e every time you don't use it for an hour? Can you post anlog of the panel (newm_panel_log)?

CRAG666 commented 2 years ago

Of course, I will publish a log, thanks

hekatonkheirex commented 2 years ago

I happens to me too. I don't know if the op has a different greeter, but I'm using gdm, if that helps.

CRAG666 commented 2 years ago

i am us greetd

jbuchermn commented 1 year ago

How about a log of newm and newm-panel basic?

hekatonkheirex commented 1 year ago

newm log

newm-panel-basic

Traceback (most recent call last):
  File "/usr/bin/newm-panel-basic", line 3, in <module>
    from newm_panel_basic import panel
  File "/usr/lib/python3.10/site-packages/newm_panel_basic/__init__.py", line 5, in <module>
    from .launcher import launcher
  File "/usr/lib/python3.10/site-packages/newm_panel_basic/launcher.py", line 11, in <module>
    from thefuzz import process  # type: ignore
ModuleNotFoundError: No module named 'thefuzz'
jbuchermn commented 1 year ago

What happens once you install thefuzz?

hekatonkheirex commented 1 year ago

It works if I don't wait to the screen to turn off. If the screen turns off it I have to force restart the laptop (power off with the power button).