%general-entities; ]> $LastChangedBy$ $Date$ LXDM-&lxdm-version; LXDM Introduction to LXDM The LXDM is a lightweight Display Manager for the LXDE desktop. It can also be used as an alternative to other Display Managers such as GNOME's GDM or KDE's KDM. &lfs75_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &lxdm-md5sum; Download size: &lxdm-size; Estimated disk space required: &lxdm-buildsize; Estimated build time: &lxdm-time; LXDM Dependencies Required , and (runtime, for default theme background) Recommended and Optional User Notes: Installation of LXDM First, fix some files. mv -vi pam/lxdm{,.orig} && cat > pam/lxdm << "EOF" && #%PAM-1.0 auth required pam_unix.so auth requisite pam_nologin.so account required pam_unix.so password required pam_unix.so session required pam_unix.so EOF sed -i 's/^bg/#&/' data/lxdm.conf.in Install LXDM by running the following commands: ./configure --prefix=/usr \ --sysconfdir=/etc \ --with-pam \ --with-systemdsystemunitdir=no && make This package does not come with a test suite. Now, as the root user: make install Command Explanations cat > pam/lxdm << "EOF" ...: Replace default /etc/pam.d/lxdm by another one appropriate for BLFS. sed -i ... lxdm.conf.in: Fix the background to the default one. : This option enables use of pam authentication. : BLFS does not support systemd. Configuring LXDM Config Files /etc/lxdm/lxdm.conf /etc/lxdm/lxdm.conf 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. Localization If you wish lxdm greeter in your native language, for non-English speakers, a fix is necessary, as root user: sed -i '1a\\nexport <your_LANG>' /usr/sbin/lxdm where the value to be used in <your_LANG> is the same you obtain with echo $LANG command. Starting lxdm You can manually start lxdm, e.g, if you install the bootscript, by running, as root user: /etc/rc.d/init.d/lxdm start Another option, change to runlevel 5, as root user: init 5 Runlevel 5 is necessary, by definition. However, BLFS default is runlevel 3. To permanently change the default to 5, thus obtaining the lxdm greeter screen automatically, you need to modify /etc/inittab, as root user: mov -vi /etc/inittab{,-orig} && sed -i '/initdefault/ s/3/5/' /etc/inittab Boot Script Install the /etc/rc.d/init.d/lxdm init script from the package. lxdm make install-lxdm Contents Installed Programs Installed Libraries Installed Directories lxdm, lxdm-binary and lxdm-config None /etc/lxdm and /usr/share/lxdm Short Descriptions lxdm is a script to execute lxdm-binary lxdm lxdm-binary is the actual Display Manager; needs to be executed with option to daemonize lxdm lxdm-config is a graphical customizing program lxdm