Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Painful "You'll be redirected to the unlock dialog in a few seconds" - Does it have to be there? #126

Open
davelindquist opened this issue Jan 30, 2019 · 17 comments

Comments

@davelindquist
Copy link

The new light-locker seems to have implemented a very painful dialog + delay -- when you switch to a session that is locked, you get:

This session is locked
You'll be redirected to the unlock 
dialog automatically in a few seconds.

This delay (before the unlock dialog comes up) is PAINFUL; several seconds of wait time. Is there a reason that this has to be there? The older versions did not have this; why was this delay added? Can it be removed, or configured out?

Thanks very much!

@psjbeisler
Copy link

this pegs my SSD and rarely recovers even. I end up having to reboot and finally just uninstalled it before it killed my hardware...

@adrhc
Copy link

adrhc commented Apr 12, 2019

did you tried CTRL + ALT + F7?

@davelindquist
Copy link
Author

Yeah, CTRL - ALT - F7 is an easy way to make this happen.

It seems like it's doing something weird like:

  • On the locked VT, displaying the message.
  • Preparing the greeter on a separate VT
  • Switching to that VT after a delay
  • Then, when I enter username and password on the greeter VT, unlocking and switching back to the real VT

But this is just a rough hypothesis.

Can anyone explain exactly what is going on, and why this message is needed? (light-locker never used to do this -- how did it work before?)

Thanks!

@psjbeisler
Copy link

psjbeisler commented Apr 13, 2019

my keyboard wouldnt even work, it was almost like a kernel panic, I just stopped using it all together...

@micw
Copy link

micw commented Sep 10, 2019

Hello,
I haven't seen that issue for months after I did a freh install of archlinux. But a few days ago,it reappeared. Switching VTs does not help :-(

@micw
Copy link

micw commented Sep 10, 2019

I give up with light-locker. That "something is broken after suspend" kills my whole prodoctivity.

My current workaround is:

  • removed light-locker from system
  • Changed the lock command: xfconf-query -c xfce4-session -p /general/LockCommand -s "dm-tool switch-to-greeter"
  • Enabled Lock-On-Syspend: xfconf-query -c xfce4-session -p /shutdown/LockScreen -t bool -s true --create

This gives me a working setup where I get a lightdm greeter screen after suspend or when I manually lock the screen.

@foresto
Copy link

foresto commented Sep 24, 2019

+1

See also: #94

@Zeioth
Copy link

Zeioth commented Sep 25, 2019

I can confirm, the issue is back. See #146
I'm downgrading systemd by now.

EDIT: For those on arch, replacing arch mirrors by manjaro mirrors is an easy fix (and a way to prevent future issues)

@malteger
Copy link

My current workaround is:

  • removed light-locker from system
  • Changed the lock command: xfconf-query -c xfce4-session -p /general/LockCommand -s "dm-tool switch-to-greeter"
  • Enabled Lock-On-Syspend: xfconf-query -c xfce4-session -p /shutdown/LockScreen -t bool -s true --create

This gives me a working setup where I get a lightdm greeter screen after suspend or when I manually lock the screen.

@micw For me this workaround left the session unlocked, ctrl + alt + F7 just switches back to the desktop

@micw
Copy link

micw commented Sep 25, 2019

The lock-on-suspend stopped to work for me after I rebootet. The "dm-tool switch-to-greeter" still works. You can test it by just issuing the command.
I switched to xfce4-screensaver now which simply works.

@petrmanek
Copy link

After a recent update, I'm also getting this bug. Running light-locker 1.8.0-2 with systemd 243.51-1 on arch (5.3.1.arch1-1). My current workaround is not to run light-locker at all.

@Laurencio
Copy link

I have this issue too. on Mx Linux 18.3.
That dialog appears and lies because no matter how long you wait it will still be there. I have to Ctrl+Shift+Backspace to restart session.

@vedavrat
Copy link

vedavrat commented Feb 5, 2022

I have this issue too on GarudaLinux (ArchLinux) after Suspend.
To have the access to XFCE, I have to kill (-9) light-locker from Ctrl-Alt-F2 terminal (VT)...

light-locker 1.9.0-4 (community)
Linux 5.16.0-zen1-1-zen ZEN SMP PREEMPT 10 Jan 2022 20:12
OS: Garuda Linux x86_64 1.4 Soaring (White-tailed-eagle)
DE: Xfce 4.16
WM: Xfwm4
WM Theme: Default
Theme: Prof-XFCE-2.1
CPU: Intel i7-2620M (4) @ 3.400GHz
GPU: NVIDIA GeForce GT 540M 1920x1080

@DarkLight5668
Copy link

this pegs my SSD and rarely recovers even. I end up having to reboot and finally just uninstalled it before it killed my hardware...

It can kill hardware? I also got session locked idk what to do

@DarkLight5668
Copy link

did you tried CTRL + ALT + F7?

I did this and my session got locked what should I do?

@alejandro-colomar
Copy link

Still a problem on Debian Sid.

$ dpkg -l | grep light-locker
ii  light-locker                          1.8.0-3                                   amd64        simple screen locker for lightDM display manager

@ig3
Copy link

ig3 commented Jun 18, 2024

Still occurring on Debian 12/bookworm

light-locker/stable,now 1.8.0-3 amd64 [installed,automatic]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests