the-cavalry / light-locker

A simple session-locker for lightdm
GNU General Public License v2.0
224 stars 22 forks source link

light-locker on Gnome: two issues #82

Open cribari opened 8 years ago

cribari commented 8 years ago

When I first installed Antergos Linux (an Arch derivative), I uninstalled lightdm and installed gdm. (My DE is Gnome; currently, Gnome 3.20.) Recently, I did the opposite: I moved from gdm to lightdm (because I believe gdm is linked to a pulseaudio bug that affects my notebook). I installed

lightdm lightdm-webkit2-greeter gnome-shell-extension-status-menu-buttons

and disabled gdm and did a sudo systemctl enable lightdm. My problem: I am unable to lock the screen using the Gnome status button or the keyboard shortcut. Also: when I resume from suspend the screen is not locked. My light locker settings:

https://dl.dropboxusercontent.com/u/2171814/light-locker.png

The only way I can lock the screen is with

dm-tool lock

My second problem: screensaver does not work. I have xscreensaver installed and it works flawless with gdm but when LightDM + light-locker is used it simply does not work at all.

HarlemSquirrel commented 8 years ago

I think that light-locker and xscreensaver conflict if they are both running. I have a fresh install of Antergos with GNOME. My screen will turn off and when it comes back on I have to unlock so that's good.

However, it seems like when I unlock my screen my light-locker settings are reset to never blank or turn off the screen so this is not good. I seem to be getting this error:

lightdm[458]: Error using VT_WAITACTIVE 7 on /dev/tty0: Interrupted system call
postadelmaga commented 8 years ago

@HarlemSquirrel

I got the same problem:

I hope somebody fix this problem, I personally switched to GDM also because it is more coherent with gnome settings.

noenthu commented 7 years ago

Based on what I found - if you are using lightdm, light-locker with gnome. Disable screensaver and power management for gnome using dconf-editor This will allow your light-locker settings to persist over reboots and locks

image

postadelmaga commented 7 years ago

@noenthu I am trying your suggestion, thanks. Anyway it is a bit sad to loose all power setting just to make the screenlocker works

killajoe commented 7 years ago

still present, plugin activation is not aviable anymore: https://i.imgur.com/47CSyHI.png

eratio08 commented 7 years ago

Having the same problem - I can't disable the gnome plugins on antergos (using dconf editor 3.23.4)

cavalier38 commented 7 years ago

Could this be related to #97?

noenthu commented 7 years ago

@eratio08 the option to disable using dconf editor stopped working for me as well. I don't have a better solution, and decided to switch over to using gdm. No issues since

noenthu commented 7 years ago

@cavalier38 I'll try to test it out when time permits