Subject: bug#23286: Unable to unlock xscreensaver in Xfce

From: [email-masked] (Ludovic Courtès)
Date: Sun, 22 May 2016 23:43:14 +0200

Albin <[email-masked]> skribis:

> Den Sat, 21 May 2016 06:37:49 +0200

[...]

>> Please try to call these manually (in that order) and stop at the
>> first one that doesn't throw an error:
>> 
>> $ xscreensaver-command -lock
>
> Unable to unlock.
>
>> $ gnome-screensaver-command --lock
>
> Command not found.
>
>> $ xlock -mode blank
>
> Worked. ('xlock' also worked.)
>
>> $ slock
>
> Worked.

IIUC, xfce-lock uses one of the above lockers.  For them to work, and if
you want to be able to unlock your screen ;-), you need to make sure you
use ‘screen-locker-service’  for each of them.

So:

  (operating-system
    ;; …
    (services (cons (screen-locker-service xscreensaver)
                    %desktop-services)))

since ‘%desktop-services’ already takes care of slock and xlock.

Could you try and report back?  We’re getting there! :-)

Ludo’.