Important: You are required to change your passwords used for Gentoo services and set an email address for your Wiki account if you haven't done so. See the full announcement and Wiki email policy change for more information.

LightDM

From Gentoo Wiki
Jump to: navigation, search
Other languages:English 100% • ‎한국어 100% • ‎русский 100%


External resources

LightDM is a cross-desktop display manager whose aim is to be the standard display manager for the X server.

The key features (as listed by upstream) are:

  • A well-defined greeter API allowing multiple GUIs
  • Support for all display manager use cases, with plugins where appropriate
  • Low code complexity
  • Fast performance

Installation

Install x11-misc/lightdm:


→ Information about USE flags
USE flag Default Recommended Description
gtk Yes Pull in the gtk+ greeter
introspection Yes Use dev-libs/gobject-introspection for introspection
kde No Pull in the kde greeter
qt4 Yes Adds support for the Qt GUI/Application Toolkit version 4.x
razor No Pull in the razorqt greeter
root # emerge --ask lightdm

Configuration

The configuration file for LightDM itself is: /etc/lightdm/lightdm.conf

GTK+

/etc/lightdm/lightdm-gtk-greeter.conf

KDE

/etc/lightdm/lightdm-kde-greeter.conf

The LightDM KDE greeter also provides a KCM (KDE Control Module), which appears in the System Settings under System AdministrationLogin Screen (LightDM).

Due to LightDM currently assuming GTK+ greeter as the default, if the KDE greeter is requested, it needs to be specified in the /etc/lightdm/lightdm.conf file:

File/etc/lightdm/lightdm.conf

[SeatDefaults]
…
greeter-session=lightdm-kde-greeter

RazorQt

The RazorQt greeter currently does not offer any configuration options.

Boot service

OpenRC

Set LightDM as the default display manager:

File/etc/conf.d/xdm

DISPLAYMANAGER="lightdm"

To start LightDM on boot, add dbus & xdm to the default runlevel:

root # rc-update add dbus default
root # rc-update add xdm default

To start LightDM now:

root # /etc/init.d/dbus start
root # /etc/init.d/xdm start

systemd

To start LightDM on boot:

root # systemctl enable lightdm

To start LightDM now:

root # systemctl start lightdm