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 LightDM.
This package is known to build and work properly using an LFS-7.10 platform.
Download (HTTP): http://downloads.sourceforge.net/lxdm/lxdm-0.5.3.tar.xz
Download MD5 sum: 061caae432634e6db38bbdc84bc6ffa0
Download size: 236 KB
Estimated disk space required: 5.6 MB
Estimated build time: less than 0.1 SBU
GTK+-2.24.30, ISO Codes-3.69, and librsvg-2.40.16 (runtime, for default theme background)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/lxdm
First, some fixes.
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:sysconfig/i18n:profile.d/i18n.sh:g' data/lxdm.in &&
sed -i 's:/etc/xprofile:/etc/profile:g' data/Xsession &&
sed -e 's/^bg/#&/'        \
    -e '/reset=1/ s/# //' \
    -e 's/logou$/logout/' \
    -e "/arg=/a arg=$XORG_PREFIX/bin/X" \
    -i data/lxdm.conf.in
        Install LXDM by running the following commands:
./configure --prefix=/usr     \
            --sysconfdir=/etc \
            --with-pam        &&
make
        This package does not come with a test suite.
          Now, as the root user:
        
make install
          cat > pam/lxdm << "EOF"
          ...: Replace default /etc/pam.d/lxdm by another one appropriate for
          BLFS.
        
          sed -i ...
          data/lxdm.conf.in: Modifications in the default
          configuration: (1) fix the background to the default one; (2)
          restart X when session is close; (3) typo; and (4) include
          XORG_PREFIX, which may be different from
          /usr.
        
          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.
          --with-pam: This parameter
          enables use of pam authentication.
        
            Install the /etc/rc.d/init.d/lxdm
            init script from the blfs-systemd-units-20160602 package.
          
make install-lxdm
            The LXDM daemon configuration file (/etc/lxdm/lxdm.conf) specifies options that
            include numlock on/off, background 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
            another image representing your user. For that, copy or symlink
            the desired image to your home directory with the name
            .face.
          
Last updated on 2016-09-04 13:51:37 -0700