You are not logged in.

#1 2024-04-04 11:28:02

jimjamz
Member
From: Nagasaki, Japan
Registered: 2016-04-04
Posts: 189

[SOLVED] Xscreensaver, lightdm and bl-lock issues

I've started to use Xscreensaver.  I've set up the basic configuration of the screensaver via xscreensaver-settings.
However, I have noticed that when the screensaver initiates and I then resume activity, I am not presented with the lightdm login screen.  I am instead presented with xscreensaver's own login feature.  This is fine, but doesn't work well, and I have witnessed it sometimes not initiating, and even displaying what's on screen (i.e after removing the screensaver) when I try to sleep/hibernate the device.

I have noticed that I have also now lost use of bl-lock.  I can no longer initiate this via the keybinds SUPER+L, from the power icon in the tray, or via bl-lock in the CLI.

** Message: 12:26:08.391: Received error message from the locker: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Unknown method Lock or interface org.freedesktop.ScreenSaver.

Does lightdm and bl-lock have to be re-configured via xscreensaver?

Last edited by jimjamz (2024-04-07 16:45:52)

Offline

#2 2024-04-04 12:03:50

altman
Member
From: Canada
Registered: 2015-10-24
Posts: 619

Re: [SOLVED] Xscreensaver, lightdm and bl-lock issues

Can t help you much here but found that, unless that you have had already had a look at it, I m still trying to find where its files should be online as I don t use screensaver, hope it can be of any help to you;

https://linux.die.net/man/1/xscreensaver

https://manpages.debian.org/bullseye/xs … .1.en.html

Last edited by altman (2024-04-04 12:05:24)


My Linux installs are as in my music; it s on Metal

Offline

#3 2024-04-04 15:38:51

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,138
Website

Re: [SOLVED] Xscreensaver, lightdm and bl-lock issues

bl-lock call light-locker, lightdm's screen locker...

https://github.com/BunsenLabs/bunsen-ut … in/bl-lock

See if this fixes your issue...

https://wiki.archlinux.org/title/XScreenSaver#LightDM

My recommendation though is to uninstall xscreensaver, it's really archaic in 2024 (32 years since it's release).


I don't care what you do at home. Would you care to explain?

Offline

#4 2024-04-04 19:17:36

altman
Member
From: Canada
Registered: 2015-10-24
Posts: 619

Re: [SOLVED] Xscreensaver, lightdm and bl-lock issues

I usually use the one provided but I guess that we all have our favs.


My Linux installs are as in my music; it s on Metal

Offline

#5 2024-04-07 11:39:02

jimjamz
Member
From: Nagasaki, Japan
Registered: 2016-04-04
Posts: 189

Re: [SOLVED] Xscreensaver, lightdm and bl-lock issues

hhh wrote:

bl-lock call light-locker, lightdm's screen locker...

https://github.com/BunsenLabs/bunsen-ut … in/bl-lock

See if this fixes your issue...

https://wiki.archlinux.org/title/XScreenSaver#LightDM

My recommendation though is to uninstall xscreensaver, it's really archaic in 2024 (32 years since it's release).

That did the trick.  I did look at that Arch wiki page some days before posting this so apologies for not paying more attention.

Adding the one-liner:

xscreensaver-auth.default.*.newLoginCommand: dm-tool switch-to-greeter

to ~/.Xresources was all that was needed.  It also doesn't require to log you in twice as mentioned in the caveat.

The reason for wanting to use xscreensaver is because of this project to enable classic After Dark savers to be used without the requirement of WINE:
https://github.com/abrasive/nightcap

Offline

#6 2024-04-07 16:00:39

altman
Member
From: Canada
Registered: 2015-10-24
Posts: 619

Re: [SOLVED] Xscreensaver, lightdm and bl-lock issues

Great to know it worked out on your end, please mark it as solved.


My Linux installs are as in my music; it s on Metal

Offline

Board footer

Powered by FluxBB