Configuration Information
The LXDM daemon configuration /etc/lxdm/lxdm.conf
file options includes
numlock on/off, backgraound image (bg), session, etc. You can set
a default session by uncommenting the line:
session=/usr/bin/startlxde and replacing startlxde with your session of
choice. For GNOME
session=/usr/bin/gnome-session. For OPENBOX session=/usr/bin/openbox-session and
for XFCE
session=/usr/bin/startxfce4.
It is also possible to set the preferred session on a per-user
basis by editing the ~/.dmrc file for each user and adding:
[Desktop]
Session=xfce
You can replace the default dummy face in the greeting screen by
other image representing your user. For that, copy or symlink the
desired image to your home directory, with the name .face
.
Starting lxdm
You can manually start lxdm, e.g, if the bootscript
has been installed, by running, as root
user:
/etc/rc.d/init.d/lxdm start
By definition, X should be executed at runlevel 5, consequently,
the same is true for lxdm.
However, BLFS default runlevel is 3. Changing to runlevel 5, from
the terminal, as root
user, makes
the lxdm bootscript
to be executed, obtaining the greeter screen:
init 5
In order to permanently set the default to 5, obtaining the
lxdm greeter screen
automatically, you can modify /etc/inittab
, as root
user (the instructions below also make a
backup, so you can easily revert the modification):
cp -v /etc/inittab{,-orig} &&
sed -i '/initdefault/ s/3/5/' /etc/inittab
One important script, executed after login, is /etc/lxdm/Xsession
, which we have fixed to fit
BLFS specifications.