- 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.
- Template:Filename: Is executed with root priviledges when LXDM is ready to show the login window.
- Template:Filename: Is run as root before logging a user in.
- Template:Filename: Is run as the logged-in user right after they have logged in.
- Template:Filename: Is run as the logged-in user right after they have logged out.
- Template:Filename: Is run as root before rebooting with LXDM.
- 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:
#!/bin/sh # 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".