%general-entities; ]> $LastChangedBy$ $Date$ lightdm-&lightdm-version; lightdm Introduction to Lightdm The lightdm package contains a lightweight display manager based upon GTK. &lfs81_checked; Lightdm Package Information Download (HTTP): Download (FTP): Download MD5 sum: &lightdm-md5sum; Download size: &lightdm-size; Estimated disk space required: &lightdm-buildsize; Estimated build time: &lightdm-time; The greeter is a program to present a graphical login screen. There are several alternative greeters, but the gtk+ package is the reference implementation. For a list of other greeters, see . Lightdm-gtk-greeter Package Information Download (HTTP): Download (FTP): Download MD5 sum: &lightdm-gtk-greeter-md5sum; Download size: &lightdm-gtk-greeter-size; Estimated disk space required: &lightdm-gtk-greeter-buildsize; Estimated build time: &lightdm-gtk-greeter-time; Lightdm Dependencies Required , , , and Recommended , , and Optional , , , , intltool, libido, and libindicator User Notes: Installation of Lightdm First, create a dedicated user and group to take control of the lightdm daemon after it is started. Issue the following commands as the root user: groupadd -g 65 lightdm && useradd -c "Lightdm Daemon" \ -d /var/lib/lightdm \ -u 65 -g lightdm \ -s /bin/false lightdm Install lightdm by running the following commands: ./configure \ --prefix=/usr \ --libexecdir=/usr/lib/lightdm \ --localstatedir=/var \ --sbindir=/usr/bin \ --sysconfdir=/etc \ --disable-static \ --disable-tests \ --with-greeter-user=lightdm \ --with-greeter-session=lightdm-gtk-greeter \ --docdir=/usr/share/doc/lightdm-&lightdm-version; && make This package does not come with a test suite. Now, as the root user: make install && cp tests/src/lightdm-session /usr/bin && rm -rf /etc/init && install -v -dm755 -o lightdm -g lightdm /var/lib/lightdm && install -v -dm755 -o lightdm -g lightdm /var/lib/lightdm-data && install -v -dm755 -o lightdm -g lightdm /var/cache/lightdm && install -v -dm770 -o lightdm -g lightdm /var/log/lightdm Now build the greeter: tar -xf ../lightdm-gtk-greeter-2.0.3.tar.gz && cd lightdm-gtk-greeter && export CFLAGS="$CFLAGS -Wno-declaration-after-statement" && ./configure \ --prefix=/usr \ --libexecdir=/usr/lib/lightdm \ --sbindir=/usr/bin \ --sysconfdir=/etc \ --with-libxklavier \ --enable-kill-on-sigterm \ --disable-libido \ --disable-libindicator \ --disable-static --docdir=/usr/share/doc/lightdm-gtk-greeter-&lightdm-gtk-greeter-version; && make Now, as the root user: make install Configuring lightdm Config Files /etc/lightdm/{lightdm,users,keys}.conf /etc/lightdm/lightdm.conf /etc/lightdm/users.conf /etc/lightdm/keys.conf /etc/lightdm/lightdm-gtk-greeter.conf <phrase revision="sysv">Boot Script</phrase> <phrase revision="systemd">Systemd Unit</phrase> Install the /etc/rc.d/init.d/lightdm init script from the make install-lightdm lightdm Install and enable the systemd unit. From the package: make install-lightdm && systemctl enable lightdm Starting lightdm If the lightdm bootscript has been installed, start lightdm by running, as the root user: /etc/rc.d/init.d/lightdm start By convention, X should be executed at runlevel 5, consequently, the same is true for lightdm. However, LFS default runlevel is 3. Changing to runlevel 5, from a console terminal, as root user, starts the lightdm bootscript, bringing up the greeter screen: init 5 In order to permanently set the default to 5, starting the lightdm greeter screen automatically, modify /etc/inittab. As the root user: cp -v /etc/inittab{,-orig} && sed -i '/initdefault/ s/3/5/' /etc/inittab Available Sessions The greeter offers a list of available sessions, depending on the Window Managers and Desktop Environments installed. The list includes sessions which have a corresponding .desktop file installed under /usr/share/xsessions. Most of the Window Managers and Desktop Environments automatically provide those files, but if necessary, you may include a custom one. Contents Installed Programs Installed Libraries Installed Directories dm-tool, lightdm, and lightdm-gtk-greeter liblightdm-gobject-1.so /etc/lightdm, /etc/apparmor.d, /usr/lib/lightdm, /usr/include/lightdm-gobject-1, /usr/share/help/C/lightdm /usr/share/gtk-doc/html/lightdm-gobject-1, /usr/share/doc/lightdm-gtk-greeter-&lightdm-gtk-greeter-version;, /var/lib/lightdm, /var/lib/lightdm-data, /var/cache/lightdm, and /var/log/lightdm Short Descriptions lightdm is a display and login manager. lightdm lightdm-gtk-greeter is an auxiliary process that displays the greeter, a graphical user interface that performs user authentication and initiates the selected window manager or display environment. lightdm-gtk-greeter