[Pkg-xfce-devel] Bug#765589: Bug#765589: lightdm: greeter-hide-users=true in 01_debian.conf

Yves-Alexis Perez corsac at debian.org
Thu Oct 16 14:04:20 UTC 2014


On jeu., 2014-10-16 at 15:42 +0200, Alex Andreotti wrote:
> On Thu, Oct 16, 2014 at 03:34:38PM +0200, Yves-Alexis Perez wrote:
> > On jeu., 2014-10-16 at 15:31 +0200, Alex Andreotti wrote:
> > > On Thu, Oct 16, 2014 at 03:23:28PM +0200, Yves-Alexis Perez wrote:
> > > > control: tag -1 unreproducible moreinfo
> > > > On jeu., 2014-10-16 at 15:02 +0200, Alex Andreotti wrote:
> > > > > Package: lightdm
> > > > > Version: 1.10.3-1
> > > > > Severity: wishlist
> > > > > 
> > > > > Hello dear Maintainer,
> > > > > 
> > > > > I would like to know if is really necessary to declare greeter-hide-users=true
> > > > > in /usr/share/lightdm/lightdm.conf.d/01_debian.conf
> > > > 
> > > > Yes, I don't want to expose each and every users of each and every
> > > > Debian box running LightDM.
> > > 
> > > Ok, but isn't already set by default to true on /etc/lightdm/lightdm.conf?
> > 
> > No, default is false.
> 
> Isn't this a countersense? Why not setting it true here by default and
> leave from 01_debian.conf?

Because lightdm.conf comes from upstream (so we don't need to patch it
manually) and is usually modified (with tracking) by the box
administrator.
> 
> > > 
> > > > > I like to set it to false and have to do it on every lightdm upgrade,
> > > > > /usr/share/lightdm/lightdm.conf.d/01_debian.conf override /etc/lightdm/lightdm.conf,
> > > > > is this wanted/expected?
> > > > 
> > > > Here editing /etc/lightdm/lightdm.conf works just fine, it overrides
> > > > correctly settings from /usr/share.
> > > 
> > > So, how do I check why on my system /usr/share win?
> > 
> > Check lightdm --show-config which will show you from where the variables
> > are set (to a different value than the default):
> > 
> > root at scapa:~# lightdm --show-config
> >    [SeatDefaults]
> > A  greeter-session=lightdm-greeter
> > B  greeter-hide-users=false
> > A  session-wrapper=/etc/X11/Xsession
> > 
> > Sources:
> > A  /usr/share/lightdm/lightdm.conf.d/01_debian.conf
> > B  /etc/lightdm/lightdm.conf
> > 
> 
> So, I tried setting it to true on 01_debian.conf:
> 
>     lightdm --show-config
>     ~
>     [sudo] password for alex: 
>        [SeatDefaults]
>     A  greeter-session=lightdm-greeter
>     A  greeter-hide-users=true
>     A  session-wrapper=/etc/X11/Xsession
>     
>        [LightDM]
>     B  greeter-session=lightdm-gtk-greeter
>     B  greeter-hide-users=false
>     B  greeter-allow-guest=false
>     
>     Sources:
>     A  /usr/share/lightdm/lightdm.conf.d/01_debian.conf
>     B  /etc/lightdm/lightdm.conf
>     
> It show correct order but on boot it ask for username...

Well, that looks obvious to me… Compare with my output, and look at the
session ([]) names… You're defining greeter-hide-users in the wrong
section.
> 

Regards,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20141016/5f2c2e93/attachment.sig>


More information about the Pkg-xfce-devel mailing list