Xdm

From campisano.org
Jump to navigation Jump to search

Xdm - X Display Manager

  • The X default (login) Display Manager (like slim and lightdm)

Install

to install and configure your default login manager, use

apt-get install xdm
update-alternatives --config x-session-manager

Configure

Xdm will start your session as defined in ~/.xsession

you can configure additional displays editing /etc/X11/xdm/Xservers, for example

:0 local /usr/bin/X :0 vt7 -nolisten tcp
:1 local /usr/bin/X :1 vt8 -nolisten tcp

you can configure other details in /etc/X11/xdm/Xsetup, for example

#!/bin/sh

case "$DISPLAY" in
    :0*)
        xsetroot -solid '#3B4E3E'
        ;;
    :1*)
        xsetroot -solid '#3B3E4E'
        ;;
    *)
        xsetroot -gray
        ;;
esac

References