KDM (KDE Display Manager) is the login manager of KDE. It supports themes, auto-logging, session type choice, etc.
See Display Manager for installation instructions.
KDM can be configured from the KDE System Settings program but you need to run it as root:
- in KDEMod it will automatically ask you the root password
- in KDE you can use kdesu:
Archlinux KDM themes can be installed like this:
# pacman -S archlinux-themes-kdm
Many other KDM 4 themes are available at http://kde-look.org/index.php?xcontentmode=41. Choose between the installed themes in System Settings (run as root) as described above.
Themes files are in
The theme format is the same one as GDM, a documentation can be found here: Detailed Description of Theme XML format.
The master configuration file is Template:Filename. The default file contains comprehensive comments about the function of each item.
To force the number of dots per inch of the X server, add a -dpi option to ServerArgsLocal. A commonly used value is 96 dpi.
ServerArgsLocal=-dpi 96 -nolisten tcp
This variable stores a list of directories containing session type definitions in Template:Filename format, ordered by falling priority. In Arch Linux some window managers install such files in Template:Filename or Template:Filename. Add these to the list in order to be able to select them in KDM.
The Session variable is the name of a program which is run as the user who logs in. It is supposed to interpret the session argument (see SessionsDirs) and start the session as desired for that argument. One may wish to customize this for window manager sessions, for example to set a wallpaper and start a screensaver. To do this in a way which will survive pacman updates (which clobber Xsession) do as follows:
cp /usr/share/config/kdm/Xsession /usr/share/config/kdm/Xsession.custom
In kdmrc set
And then edit Xsession.custom as desired.
KDM depends on Xorg for keyboard input so if you don't have the good keymap check your xorg.conf file.
See the Xorg article for instructions.