%general-entities; ]> $LastChangedBy: cjg $ $Date: 2014-08-31 16:03:10 +1200 (Sun, 31 Aug 2014) $ 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 GNOME's GDM or KDE's KDM. &lfs76_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 Optional User Notes: Installation of LXDM Install LXDM by running the following commands: ./configure --prefix=/usr \ --sysconfdir=/etc \ --with-pam \ --disable-consolekit \ --with-systemdsystemunitdir=/lib/systemd/system && make This package does not come with a test suite. Now, as the root user: make install && sed -e "/pam_selinux.so/d" -i pam/lxdm && awk '/system-auth/{c++;if(c==2){sub("system-auth","system-account");}}1' pam/lxdm 2>&1 | tee /etc/pam.d/lxdm Command Explanations sed -e "/pam_selinux.so/d" -i pam/lxdm: This command removes the selinux pam module as selinux is not part of blfs. awk '/system-auth/{c++;if(c==2){sub("system-auth","system-account");}}1': This command repaces the second instance of system-auth with system-account to make logind work correctly. : This option enables use of pam authentication. : This option disables the use of consolekit as it is not used on a systemd system. : This option ensures that the systemd unit file gets installed in the correct location. Configuring LXDM Config Files /etc/lxdm/lxdm.conf /etc/lxdm/lxdm.conf Configuration Information The LXDM daemon is configured using the /etc/lxdm/lxdm.conf file. Within this file 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 To prevent the possibility of lxdm not cleanly logging out a users session add the following to the /etc/lxdm/PostLogout as the root user: cat > /etc/lxdm/PostLogout << "EOF" # Terminate current user session /bin/loginctl terminate-session $XDG_SESSION_ID # Restart lxdm /bin/systemctl restart lxdm.service EOF Systemd Units To start the LXDM daemon at boot, enable the previously installed systemd unit by running the following command as the root user: lxdm systemctl enable lxdm Contents Installed Programs Installed Libraries Installed Directories lxdm-config, lxdm and lxdm-binary. None. /etc/lxdm, /etc/pam.d, and /usr/share/lxdm. Short Descriptions lxdm Is the lxdm daeamon. lxdm