Hey Matthew,

I have successfully used slock on a Guix system, but I haven't tried using the Guix slock on a foreign distribution. I would expect it to not work, and the error message gives us an idea why:

When using the guix installed slock, it doesn't lock the screen, and errors with the following error: "slock: unable to disable OOM killer. Make sure to suid or sgid slock."

None of the programs in the Guix store (ie. /gnu/store) will have setuid or setgid set. On a Guix system you can install a slock screen-locker-service, which will provide a setuid binary for slock (via the setuid-program-service). This is done automatically as part of the default %desktop-services. I don't know of a way to do this on a foreign distribution.

Carlo



Reply via email to