16.04.2 When one clicks on the gearswitch thing at top right (to log out or shutdown), there is a list of users, can this list be suppressed somehow?
Edited to add: Need to set this for all users, not just the logged in user.
16.04.2 When one clicks on the gearswitch thing at top right (to log out or shutdown), there is a list of users, can this list be suppressed somehow?
Edited to add: Need to set this for all users, not just the logged in user.
This setting is controlled via
gsettings
. To disable showing other usernames in the panel, run the following in terminalCompare:
This answer helps you if you want to hide one (or several) specific accounts from the list.
If you want to disable the list completely and show no users (except guest account), follow @Serg's answer.
The presence of an account in the system menu's user list is connected to whether it shows up in the lightdm greeter/login screen.
To hide a user in both places, you may follow e.g. this answer by Marc Culler (tested by me on Ubuntu 16.04), which can be summarized as
Now in order to still be able to log into an account hidden this way through the GUI, you have to enable manual logins in lightdm, which allows you to type in any username. See How to configure lightdm to allow manual logins in Ubuntu 14.04 for more information about this.