LightDM/zh-cn

LightDM is Article description::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) include:


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

Emerge
安装lightdm:

配置
The (global) configuration file for LightDM can be found at:

GTK+
The GTK+ greeter configuration can be modified by manually editing the following file:

RazorQt
The RazorQt greeter currently does not offer any configuration options.

OpenRC
把 LightDM设置为默认显示管理器：

要在启动时启动LightDM，请将dbus和xdm添加到默认运行级别：

现在启动LightDM：

systemd
启动LightDM时启动：

现在启动LightDM：

命令行工具
LightDM includes a command-line tool,, which can be used to switch user sessions, lock the current seat, etc. To see a list of available commands, use the  option:

例如，锁定当前位置：

Running commands at log-in
A user can run some programs automatically when logging in using LightDM by adding commands in, which will be sourced by LightDM. For example:

Unlock GNOME Keyring
To unlock your GNOME Keyring automatically on login, edit  to look as follows. Note: Lines ending with the comment  should be added.

光标主题不工作
As of March 28, 2015, the stable versions of lightdm (lightdm-1.10.3) and lightdm-gtk-greeter (lightdm-gtk-greeter-1.7.0) have a bug that affects some DEs such as XFCE with setting the mouse cursor. Applications will apply the new mouse theme, but the root window where the window manager draws on does not. To get around this, simply unmask the latest versions (lightdm-1.13.2 and lightdm-gtk-greeter-2.0.0 at the time of writing) and the cursors will be set correctly.

更多信息可以在 Ubuntu's bug #1024482.找到