I added the suggested entry and now swaylock works fine. Thanks Emmanuel and Remco for helping!-------- Original Message -------- On Dec 22, 2023, 09:24, Emmanuel Beffara wrote:
> Hello, De Remco van 't Veer le 22/12/2023 à 08:56: > This works for me but I > am not sure it's still needed. I am pretty sure > swaylock does not like to > be setuid anymore. I faced the same issue some time ago, not sure when. > Indeed the issue was with swaylock complaining about setuid. My system > configuration contains the following simpler entry, which uses > screen-locker-configuration: (operating-system ... (services (cons* ... > (service screen-locker-service-type (screen-locker-configuration (name > "swaylock") (program (file-append swaylock "/bin/swaylock")) (using-pam? #t) > (using-setuid? #f))) ... %desktop-services)) ... ) -- Emmanuel