Ubuntu – Ubuntu 17.10: Disable user list in GDM

17.10gdm

I have the following system:

$ lsb_release -a
Distributor ID: Ubuntu
Description:    Ubuntu 17.10
Release:        17.10
Codename:       artful

$ gdm3 --version
GDM 3.26.1

I would like to disable the user list in GDM and enter my user name and password to log-in. I have already searched a lot but did not find any valuable solution.

How can I achieve this?

Best Answer

This feature is currently bugged, see: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1724944 and mark yourself affected

You need to install the dconf-editor tool if you not have already:

sudo apt install dconf-editor

Then when you opened it navigate to:

/org/gnome/login-screen

and set the 'disable-user-list' button to 'on':

enter image description here


Since the above is still bugged, the only solution is right now via terminal edit the following lines in /etc/gdm3/greeter.dconf-defaults:

#[org/gnome/login-screen]
# disable-user-list=true

to:

[org/gnome/login-screen]
disable-user-list=true

Be sure to edit both lines otherwise you might crash your login completely.