[Quick Tip] Hide User List in Ubuntu 18.04 Login Screen

April 20, 2018 — 1 Comment

gnome shell

The Gnome login screen normally shows a list of available users to log in as. For those who want to disable showing the user list, and manually type a username to login with, below I will show you how.

Open terminal by pressing Ctrl+Alt+T on keyboard, when it opens, run following commands one by one:

1. Run command to get access to root:

sudo -i

Type in your password (no visual feedback while typing) when it prompts and hit Enter.

2. Then switch to user gdm, which is required to run gsettings to configure gdm settings.

su gdm -s /bin/bash

3. Finally hide user list from login screen using Gsettings:

gsettings set org.gnome.login-screen disable-user-list true

After that, restart your computer and enjoy!

How to Restore

To restore the change, open terminal and re-do previous steps, except running the last command with:

gsettings set org.gnome.login-screen disable-user-list false

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to ubuntuhandbook1@gmail.com

One response to [Quick Tip] Hide User List in Ubuntu 18.04 Login Screen

  1. Can you write about installing Sopcast and Viber in Ubuntu 18.04?
    Thank you!

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

*