From ArchWiki
Revision as of 12:59, 5 December 2011 by Niadh (Talk | contribs) (Initial page, I have often looked to find this and had to dig deep into the lxde page, and since every other display manager has a page why not lxdm?)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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 – فارسی

From LXDM - LXDE Display Manager:

LXDM is the lightweight display manager aimed to replace gdm in LXDE distros. The UI is implemented with GTK+. It is stil in early stages of development.


To install simply type:

# pacman -S lxdm

To make the graphical login the default method of logging into the system, edit your /etc/inittab file (recommended) by adding or uncommenting this line:

x:5:respawn:/usr/sbin/lxdm >/dev/null 2>&1

Alternatively you can add lxdm to your list of daemons in /etc/rc.conf. These procedures are detailed on the Display Manager page.


The configuration files for LXDM are all located in Template:Filename. The main configuration file is Template:Filename, and is well documented in it's comments. Another file, Template:Filename, is the systemwide x session configuration file and should generally not be edited. The other files in this folder are all bash scripts, which are run when certain events happen in LXDM.

These are:

  1. Template:Filename: Is executed with root priviledges when LXDM is ready to show the login window.
  2. Template:Filename: Is run as root before logging a user in.
  3. Template:Filename: Is run as the logged-in user right after they have logged in.
  4. Template:Filename: Is run as the logged-in user right after they have logged out.
  5. Template:Filename: Is run as root before rebooting with LXDM.
  6. Template:Filename: Is run as root before poweroff with LXDM.
Expected Logout Behavior

What might be slightly surprising with LXDM is that, by default, it does not clear the last user's desktop background or kill the user's processes when that user logs out. If you desire this behaviour, you can edit Template:Filename like this:


# Kills all your processes when you log out.
killall --user $USER -TERM

# Set's the desktop background to solid black. Useful if you have multiple monitors.
xsetroot -solid black

If you want to log in to one account without providing a password, find the line in Template:Filename that looks like this:


Uncomment it, then substitute your own username instead of "username".