1

Topic: xscreensaver-demo: locking not enabled.

My screen lock is not working. The screensaver works normally, but the screen does not lock. I get the title message when trying to lock manually. Deskop lumina.
I installed xlock and it works, but I don't know where to replace what. Does anyone have an idea?

2

Re: xscreensaver-demo: locking not enabled.

Hey, you may try xidle as it is in the repositories for testing. With this you can reach a combination between: xscreensaver > xidle > lock (slock for example).

Here is the link for the package: https://www.hyperbola.info/packages/?sort=&q=xidle
You can also use direct on stable now by compiling the package yourself. Just download all the files here in a selected folder and run "makepkg -s": https://git.hyperbola.info:50100/packag … tree/xidle

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

3

Re: xscreensaver-demo: locking not enabled.

Thank you for your reply, yes I will definitely check it out as soon as I get my head around it and can compile packages. 
In the meantime, I'm looking for a solution for this:


cc -o xidle xidle.c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -D__dead= -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -lXss -lXext -lX11
make: cc: Permission denied

4

Re: xscreensaver-demo: locking not enabled.

Well, you can also just download the package itself from testing, nothing was changed so deep it would make that package not running in stable:

64bit -> https://repo.hyperbola.info:50011/gnu-p … pkg.tar.lz
32bit -> https://repo.hyperbola.info:50011/gnu-p … pkg.tar.lz

Or you go with libretools:

https://forums.hyperbola.info/viewtopic.php?id=632

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

5

Re: xscreensaver-demo: locking not enabled.

Ok, xidle works fine, but this is a workaround solution, since lumina-deskop is the default desktop I was looking for a solution.
$ xscreensaver-command -lock
xscreensaver-command: locking not enabled."

I see that the problem is with permissions
xscreensaver: 22:14:32: couldn't get password of "user"
xscreensaver: 22:14:32: couldn't get password of "root"
xscreensaver: 22:14:32: locking is disabled (error getting password).

the solution is to give setuid

doas chmod +s /usr/bin/xscreensaver

then everything works fine just have no idea if this is the way it should be
slock also has setUID enabled
while xlock does not, and you define your own password.

6

Re: xscreensaver-demo: locking not enabled.

We would need to modify the corresponding packages then as only slock concludes with direct settings from upstream.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!