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

From: Albin <[email-masked]>
Date: Sun, 22 May 2016 23:56:45 +0200

Den Sun, 22 May 2016 23:43:14 +0200
skrev Re: bug#23286: Unable to unlock xscreensaver in Xfce:

> 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)))
> 

This was my original configuration which didn't let me unlock if I had
locked with xflock4. Any other ideas?

> since ‘%desktop-services’ already takes care of slock and xlock.
> 
> Could you try and report back?  We’re getting there! :-)

I hope so! :)

> Ludo’.

Albin