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 the 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
aptitude 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.
현재 구성 보기
To view effective configuration, run
This will show current settings, with the configuration files these settings were read from.
Look up these lines in lightdm configuration file, uncomment them and customize to your preference.
[SeatDefaults] #autologin-user= #autologin-user-timeout=0
Note that this has to be in the [?SeatDefaults] section, not the [LightDM] section.
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 settings into /usr/share/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.