No description
Find a file
2025-03-19 14:57:46 +13:00
.github/workflows Update version of CLA check 2025-03-19 14:57:46 +13:00
common Fix typos found with codespell 2023-05-29 13:44:38 +12:00
data x-server-xvnc: Adjust default color depth to match upstream TigerVNC. 2022-08-26 16:48:46 +12:00
debian Only making success handler act if a restore file exists 2024-06-10 12:22:30 +12:00
doc Fix documentation build warnings 2021-02-16 12:52:48 +13:00
help Don't remove autotools generated files in distclean. That was kind of naughty and I should just use bzr clean-tree instead... 2015-08-10 11:41:00 +12:00
liblightdm-gobject Fix typos found with codespell 2023-05-29 13:44:38 +12:00
liblightdm-qt Fix typos found with codespell 2023-05-29 13:44:38 +12:00
m4 Add vapigen.m4 into repository so can compile without Vala installed 2015-09-28 14:00:20 +13:00
po Fix tests broken by default config change in 77a7c6b7b8 2022-07-18 15:25:34 +12:00
src fix: fix some memory leak in session_child_run 2024-12-12 16:29:47 +13:00
tests Fix tests failing on 32 bit architectures using 64 bit time handling. 2024-04-19 09:15:13 +12:00
autogen.sh autogen.sh: Fixed typo 2014-06-27 09:41:45 +01:00
configure.ac Tell configure to check for setusercontext 2024-01-18 10:21:04 +13:00
CONTRIBUTING.md Fix URL capitalization 2022-04-26 14:07:41 +12:00
COPYING.GPL3 Add missing COPYING.GPL3 2013-03-08 11:00:29 +13:00
COPYING.LGPL2 Relicense liblightdm to LGPL-2/LGPL-3 so GPL-2 code can link against it 2013-02-01 09:56:09 +13:00
COPYING.LGPL3 Relicense liblightdm to LGPL-2/LGPL-3 so GPL-2 code can link against it 2013-02-01 09:56:09 +13:00
lightdm.doap Fix download URL 2013-12-10 10:44:53 +13:00
Makefile.am Add a build rule to sign tarball 2022-10-27 16:26:52 +13:00
NEWS Fix typos found with codespell 2023-05-29 13:44:38 +12:00
README.md Update link to the KDE greeter 2024-06-20 16:53:29 +12:00

LightDM Display Manager

Test status LightDM questions on AskUbuntu

LightDM is a lightweight, cross-desktop display manager. A display manager is a daemon that:

  • Runs display servers (e.g. X) where necessary.
  • Runs greeters to allow users to pick which user account and session type to use.
  • Allows greeters to perform authentication using PAM.
  • Runs session processes once authentication is complete.
  • Provides remote graphical login options.

Key features of LightDM are:

  • Cross-desktop - supports different desktop technologies (X, Wayland, Mir, etc)
  • Lightweight - low memory usage and fast performance
  • Supports remote login (incoming: XDMCP and VNC; outgoing: XDMCP and pluggable)
  • Supports guest sessions
  • Has a comprehensive test suite

The core LightDM project does not provide any greeter with it; you should install a greeter appropriate to your system. Popular greeter projects are:

Configuration

LightDM configuration is provided by the following files:

/usr/share/lightdm/lightdm.conf.d/*.conf
/etc/lightdm/lightdm.conf.d/*.conf
/etc/lightdm/lightdm.conf

System provided configuration should be stored in /usr/share/lightdm/lightdm.conf.d/. System administrators can override this configuration by adding files to /etc/lightdm/lightdm.conf.d/ and /etc/lightdm/lightdm.conf. Files are read in the above order and combined together to make the LightDM configuration.

For example, if a sysadmin wanted to override the system configured default session (provided in /usr/share/lightdm/lightdm.conf.d) they should make a file /etc/lightdm/lightdm.conf.d/50-myconfig.conf with the following:

[Seat:*]
user-session=mysession

Configuration is in keyfile format. For most installations you will want to change the keys in the [Seat:*] section as this applies to all seats on the system (normally just one). A configuration file showing all the possible keys is provided in data/lightdm.conf.

Display Setup Script

LightDM can be configured to run an external shell script to setup displays.

If an display setup script is used, it must be:

  • Located under /usr/share
  • Owned by the user lightdm and group lightdm
  • It cannot print or log to any destination not accessible to LightDM

To test a configuration:

  • Install xserver-xephyr: sudo apt install xserver-xephyr
  • Run the test as user lightdm: sudo -u lightdm lightdm --test-mode --debug

Put the shell script reference in the LightDM configuration:

[Seat:*]
display-setup-script=/usr/share/example_display_setup_script.sh 

Questions

Stack Overflow and Ask Ubuntu are good sites for frequently asked questions.