Revision of Configure login prompt from Thu, 12/04/2014 - 20:28
The revisions let you track differences between multiple versions of a post.
The user login promt is presented to the user by a display manager (DM). The behavior and appeareance of the login prompt can be configured by adjusting the display manager's settings.
LightDM
Trisquel 7 uses LightDM as its display manager. Users can override this configuration by adding their own configuration file to /etc/lightdm/lightdm.conf.d/. If you don't have this folder, create it.
sudo mkdir -p /etc/lightdm/lightdm.conf.dYour own configuration file should begin with a number 50.
sudo touch /etc/lightdm/lightdm.conf.d/50-myconfig.confLightDM has good documentation on its website about the different things you might want to do with it. Here are some examples.
Hiding the user list
You can replace the user list with a simple login prompt with the following rules.
[SeatDefaults] greeter-hide-users=true greeter-show-manual-login=true
Hiding the guest user loging
LightDM displays a guest session dy default. You can disable it with the following.
[SeatDefaults] allow-guest=false
Automatic login
You can configure the system to log a certain user in by default with "autologin-user". If you also use "autologin-user-timeout", you can define a delay in seconds during which a normal loging prompt is displayed. Any user activity will cancel the automatic loging.
[SeatDefaults] autologin-user=username autologin-user-timeout=delayIf you want to log in a guest user by default, use "autologin-guest" instead of "autologin-user".
[SeatDefaults] autologin-guest=true
GDM
Trisquel 6's display manager was GDM.
Hiding the user list
To disable user list on login, press Alt + F2 when logged in and use the following command.sudo gconftool-2 -t bool -s /apps/gdm/simple-greeter/disable_user_list true