GNOME Bugzilla – Bug 684773
GDM: Settings `IncludeAll=false` and `Include=username` do not have any effect
Last modified: 2018-05-24 10:46:06 UTC
GDM 3.4.1-3 from Debian Sid/unstable is build with --with-custom-conf=/etc/gdm3/daemon.conf so the following file $ more /etc/gdm3/daemon.conf [daemon] [security] [xdmcp] [greeter] IncludeAll = false Include = joey should only display the user joey in the user list. Unfortunately it does not work and all users are displayed. Grepping GDM’s source it looks like that key is not used anymore. /src/gdm(master) $ git grep GDM_KEY_INCLUDE_ALL common/gdm-settings-keys.h:#define GDM_KEY_INCLUDE_ALL "greeter/IncludeAll" paul@mattotaupa:~/src/gdm(master) $ gedit common/gdm-settings-keys.h & /src/gdm(master) $ git grep gdm-settings-keys common/Makefile.am: gdm-settings-keys.h \ common/test-settings-client.c:#include "gdm-settings-keys.h" daemon/gdm-display.c:#include "gdm-settings-keys.h" daemon/gdm-server.c:#include "gdm-settings-keys.h" daemon/gdm-simple-slave.c:#include "gdm-settings-keys.h" daemon/gdm-simple-slave.c:#include "gdm-settings-keys.h" daemon/gdm-xdmcp-chooser-slave.c:#include "gdm-settings-keys.h" daemon/gdm-xdmcp-display-factory.c:#include "gdm-settings-keys.h" daemon/main.c:#include "gdm-settings-keys.h" daemon/session-worker-main.c:#include "gdm-settings-keys.h" daemon/simple-slave-main.c:#include "gdm-settings-keys.h" daemon/xdmcp-chooser-slave-main.c:#include "gdm-settings-keys.h" gui/simple-chooser/chooser-main.c:#include "gdm-settings-keys.h" gui/simple-chooser/gdm-host-chooser.c:#include "gdm-settings-keys.h" gui/simple-greeter/gdm-greeter-login-window.c:#include "gdm-settings-keys.h" gui/simple-greeter/gdm-user-chooser-widget.c:#include "gdm-settings-keys.h" gui/simple-greeter/greeter-main.c:#include "gdm-settings-keys.h" Although I also could not find a commit where a line containing `GDM_KEY_INCLUDE_ALL` was removed.
This issue is tracked as #688741 [1] in the Debian BTS. [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688741
This problem is still present in Debian Jessie (GDM 3.14). See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759360 Note: In bug #759360 gdm 3.12 is reported but Jessie finally shipped GDM 3.14 when it was released.
Well the code to handle IncludeAll/Include/Exclude seems to be not present in 3.14
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gdm/issues/112.