%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 The following fixes are needed. cat > pam/lxdm << "EOF" && #%PAM-1.0 auth substack system-auth auth optional pam_gnome_keyring.so account include system-account session optional pam_systemd.so session optional pam_keyinit.so force revoke session include system-auth session optional pam_gnome_keyring.so auto_start EOF sed -i 's:sysconfig/i18n:profile.d/i18n.sh:g' data/lxdm.in && sed -i 's:/etc/xprofile:/etc/profile:g' data/Xsession && sed -i 's/^bg/#&/' data/lxdm.conf.in 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 Command Explanations cat > pam/lxdm << "EOF" ...: Replace default /etc/pam.d/lxdm by another one appropriate for BLFS. sed -i ... data/lxdm.conf.in: Fix the background to the default one. sed -i ... data/Xsession: Source /etc/profile, instead of other file, according to BLFS standard. sed -i ... data/lxdm.in: Fix greeter's locale for BLFS specification. : 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