From ArchWiki
Revision as of 17:04, 28 March 2012 by Graysky (talk | contribs) (Add user and group "Lightdm": added note about not needing to manually add user/groups)
Jump to navigation Jump to search

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.

Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어

External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Template:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary wiki Template:Article summary end

Lightdm LightDM is a cross-desktop display manager that aims to be the standard display manager for the X server.


You can install lightdmAUR from the AUR.

Warning: Lightdm changes your $PATH and it might create issues. See [1] for how to fix the $PATH.

Enabling Lightdm

Lightdm can be loaded on startup by entering it in your daemons array in rc.conf, or by appending the following line to inittab:

x:5:respawn:/usr/sbin/lightdm >& /dev/null

If you're using systemd, Lightdm also has a systemd service file, start it with systemctl start lightdm.service or enable it for boot with systemctl enable lightdm.service.

See Display Manager for detailed instructions.


Lightdm will only show a blank screen until a greeter is chosen. Open the The configuration file at


Find the #greeter-session= option, uncomment it, and change it to the greeter of your choice. For example, to use the default gtk3 greeter, change it to this:


Additional greeters are available in the AUR. To see which greeters are installed, look in /usr/share/xgreeters. Do not include the .desktop extension when setting your greeter.

It is possible to test lightdm with the following command:

$ lightdm --test-mode -c /etc/lightdm/lightdm.conf

Note that this requires xorg-server-xephyr to be installed, first.

NumLock ON

Install numlockx.

for lightDM to turn your NumLock On do this:

# gedit /etc/lightdm/lightdm.conf

add the next line at the end:

greeter-setup-script=/usr/bin/numlockx on

Enable Autologin

# gedit /etc/lightdm/lightdm.conf

Change these lines to:


(last one might need to be created)

# gedit /etc/pam.d/lightdm-autologin

(create if it doesn't exist) Add:

auth requisite
auth required
auth requisite
auth sufficient uid >= 1000 quiet
auth required
account required
password required
session required
-session optional
session optional revoke
session required
session required

Add user and group "Lightdm"

Some packages from AUR might need this to make lightdm and persmissions function correctly. This CAN help automounting of dvd/cd/usb if you are having problems. You can check beforehand with; cat /etc/group and see what groups you have.

# groupadd --system lightdm
# useradd --system -c "Light Display Manager" -g lightdm -d /var/lib/lightdm -s /sbin/nologin lightdm
Note: There is NO need to do the above steps if using this lightdmAUR package.