Anyone smart enough to edit a wiki should know /usr/share is for packages, not users... :/
|Deletions are marked like this.||Additions are marked like this.|
|Line 17:||Line 17:|
|Line 18:||Line 19:|
|apt-get install lightdm||apt install lightdm|
|Line 28:||Line 29:|
|Line 31:||Line 33:|
|Line 34:||Line 37:|
|Line 36:||Line 40:|
|/usr/sbin/lightdm --show-config||lightdm --show-config|
|Line 38:||Line 42:|
|Line 42:||Line 47:|
|Line 43:||Line 49:|
|$ lightdm --test-mode --debug||lightdm --test-mode --debug|
|Line 47:||Line 53:|
|Line 56:||Line 63:|
|Line 60:||Line 68:|
|To enable user list, place the following setting into '''/etc/lightdm/lightdm.conf''':||To enable user list, place the following setting into '''/etc/lightdm/lightdm.conf.d/01_my.conf''':
|Line 67:||Line 76:|
|Line 82:||Line 92:|
|== User configuration ==|
|Line 83:||Line 94:|
== User configuration ==
|Line 88:||Line 97:|
LightDM is a cross-desktop Display Manager. It was built as a relatively light-weight and highly customizable alternative to GDM. It's developed at Canonical by Robert Ancell and all contributors are required to assign their copyright to Canonical through a Contributor License Agreement that allows proprietarization.
- No Gnome dependencies
- Uses webkit to render themes
- Supports Gtk and Qt
LightDM was introduced in Wheezy, it's stable enough for use also in current stable and Sid.
To install lightdm, run as root
apt install lightdm
LightDM configuration file is found at /etc/lightdm/lightdm.conf. Making a backup of the original configuration file is recommended.
Alternatively, create /etc/lightdm/lightdm.conf.d/ and place your configuration files there.
To change the current default Display Manager, run
If you're new to LightDM, it's recommended to have GDM, slim or another Display Manager installed as a backup.
Viewing current configuration
To view effective configuration, run
This will show current settings, with the configuration files these settings were read from.
Install xserver-xephyr. Then, run LightDM as an X application:
lightdm --test-mode --debug
Look up these lines in lightdm configuration file, uncomment them and customize to your preference.
[Seat:*] #autologin-user= #autologin-user-timeout=0
Enable user list
By default, LightDM is configured so that the user should enter login name and password. Login name is considered sensitive information.
It is possible to provide the user with selection of available user accounts. The most recently used login name will be selected in the list. The user still has to enter password to login. This provides useful compromise between security and convenience for a single-user desktop system.
To enable user list, place the following setting into /etc/lightdm/lightdm.conf.d/01_my.conf:
Change the greeter's background
Debian's LightDM GTK greeter is configured in /etc/lightdm/lightdm-gtk-greeter.conf. There, we may find that the background image points to /usr/share/images/desktop-base/desktop-background, which is a symlink managed by update-alternatives and is also the main desktop background, or we may find (Debian 9 and up) that no value is set in the greeter.conf file.
If the lightdm greeter's background is using the symlink (debian 8 and below), the best way is to find some images that you like from /usr/share/images/desktop-base/, then use update-alternatives to change the desktop-background group:
update-alternatives --config desktop-background
If not, then edit /etc/lightdm/lightdm-gtk-greeter.conf and place an integer value (to set a color) or a filename of a .png or .svg file to be used as the greeter image in the file, like this:
LightDM itself has no user configuration. Once you've authenticated with your username and password, LightDM will run an X session. If you wish to configure your login environment, you must use the configuration files for whichever type of X session your system is configured to use. By default, this will be the Debian Xsession.