Index: introduction/welcome/changelog.xml
===================================================================
--- introduction/welcome/changelog.xml	(revision 8d427b0a8c6f80a550c444d2917631fdfd57dde1)
+++ introduction/welcome/changelog.xml	(revision 9fa25aa2c2c537c20f6124356e3dfb866bc8e370)
@@ -44,4 +44,20 @@
 
 -->
+      <listitem>
+        <para>August 1st, 2015</para>
+        <itemizedlist>
+          <listitem>
+            <para>[fernando] - Add sddm-0.11.0. First fix to
+            <ulink url="&blfs-ticket-root;6639">#6639</ulink>.</para>
+          </listitem>
+          <listitem>
+            <para>[fernando] - Move lxdm-0.5.0 to Chapter
+            "Display Managers".</para>
+          </listitem>
+          <listitem>
+            <para>[fernando] - Add Chapter "Display Managers".</para>
+          </listitem>
+        </itemizedlist>
+      </listitem>
 
       <listitem>
Index: lxde/apps/apps.xml
===================================================================
--- lxde/apps/apps.xml	(revision 8d427b0a8c6f80a550c444d2917631fdfd57dde1)
+++ lxde/apps/apps.xml	(revision 9fa25aa2c2c537c20f6124356e3dfb866bc8e370)
@@ -27,5 +27,4 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lxtask.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lxterminal.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lxdm.xml"/>
 
 </chapter>
Index: de/apps/lxdm.xml
===================================================================
--- lxde/apps/lxdm.xml	(revision 8d427b0a8c6f80a550c444d2917631fdfd57dde1)
+++ 	(revision )
@@ -1,370 +1,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
-   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-  <!ENTITY % general-entities SYSTEM "../../general.ent">
-  %general-entities;
-
-  <!-- Place this in the general.ent file
-  <!ENTITY TEMPLATE-version "">
-  -->
-
-  <!ENTITY lxdm-download-http "http://downloads.sourceforge.net/lxdm/lxdm-&lxdm-version;.tar.xz">
-  <!ENTITY lxdm-download-ftp  " ">
-  <!ENTITY lxdm-md5sum        "a51686720e606ca456d7f56ae4159d1f">
-  <!ENTITY lxdm-size          "232 KB">
-  <!ENTITY lxdm-buildsize     "4.7 MB">
-  <!ENTITY lxdm-time          "less than 0.1 SBU ">
-]>
-
-<sect1 id="lxdm" xreflabel="LXDM-&lxdm-version;">
-  <?dbhtml filename="lxdm.html"?>
-
-  <sect1info>
-    <othername>$LastChangedBy$</othername>
-    <date>$Date$</date>
-  </sect1info>
-
-  <title>LXDM-&lxdm-version;</title>
-
-  <indexterm zone="lxdm">
-    <primary sortas="a-LXDM">LXDM</primary>
-  </indexterm>
-
-  <sect2 role="package">
-    <title>Introduction to LXDM</title>
-
-    <para>
-      The <application>LXDM</application> is a lightweight Display Manager for
-      the <application>LXDE</application> desktop. It can also be used as an
-      alternative to other Display Managers such as
-      <application>GNOME's</application> <application>GDM</application> or
-      <application>KDE's</application> <application>KDM</application>.
-    </para>
-
-    &lfs77_checked;
-
-    <bridgehead renderas="sect3">Package Information</bridgehead>
-    <itemizedlist spacing="compact">
-      <listitem>
-        <para>
-          Download (HTTP): <ulink url="&lxdm-download-http;"/>
-        </para>
-      </listitem>
-      <listitem>
-        <para>
-          Download (FTP): <ulink url="&lxdm-download-ftp;"/>
-        </para>
-      </listitem>
-      <listitem>
-        <para>
-          Download MD5 sum: &lxdm-md5sum;
-        </para>
-      </listitem>
-      <listitem>
-        <para>
-          Download size: &lxdm-size;
-        </para>
-      </listitem>
-      <listitem>
-        <para>
-          Estimated disk space required: &lxdm-buildsize;
-        </para>
-      </listitem>
-      <listitem>
-        <para>
-          Estimated build time: &lxdm-time;
-        </para>
-      </listitem>
-    </itemizedlist>
-
-    <bridgehead renderas="sect3">LXDM Dependencies</bridgehead>
-
-    <bridgehead renderas="sect4">Required</bridgehead>
-    <para role="required">
-      <xref linkend="gtk2"/>,
-      <xref linkend="iso-codes"/> and
-      <xref linkend="librsvg"/> (runtime, for default theme background)
-    </para>
-
-    <bridgehead renderas="sect4">Recommended</bridgehead>
-    <para role="recommended">
-     <xref linkend="consolekit"/> and
-     <xref linkend="linux-pam"/>
-    </para>
-    
-    <bridgehead renderas="sect4">Optional</bridgehead>
-    <para role="optional">
-      <xref linkend="gtk3"/>
-    </para>
-
-    <para condition="html" role="usernotes">
-      User Notes: <ulink url="&blfs-wiki;/lxdm"/>
-    </para>
-  </sect2>
-
-  <sect2 role="installation">
-    <title>Installation of LXDM</title>
-
-    <para>
-      First, some fixes.
-    </para>
-
-<screen><userinput>cat &gt; pam/lxdm &lt;&lt; "EOF" &amp;&amp;
-<literal>#%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</literal>
-EOF
-
-sed -i 's:sysconfig/i18n:profile.d/i18n.sh:g' data/lxdm.in &amp;&amp;
-sed -i 's:/etc/xprofile:/etc/profile:g' data/Xsession &amp;&amp;
-sed -e 's/^bg/#&amp;/'        \
-    -e '/reset=1/ s/# //' \
-    -e 's/logou$/logout/' \
-    -e "/arg=/a arg=$XORG_PREFIX/bin/X" \
-    -i data/lxdm.conf.in</userinput></screen>
-
-    <para>
-      Install <application>LXDM</application> by running the following
-      commands:
-    </para>
-
-<screen><userinput>./configure --prefix=/usr     \
-            --sysconfdir=/etc \
-            --with-pam        \
-            --with-systemdsystemunitdir=no &amp;&amp;
-make</userinput></screen>
-
-    <para>
-      This package does not come with a test suite.
-    </para>
-
-    <para>
-      Now, as the <systemitem class="username">root</systemitem> user:
-    </para>
-
-<screen role="root"><userinput>make install</userinput></screen>
-
-  </sect2>
-
-  <!--Optional section-->
-  <sect2 role="commands">
-    <title>Command Explanations</title>
-
-    <para>
-      <command>cat &gt; pam/lxdm &lt;&lt; "EOF" ...</command>: Replace default
-      <filename>/etc/pam.d/lxdm</filename> by another one appropriate for BLFS.
-    </para>
-
-    <para>
-      <command>sed -i ... data/lxdm.conf.in</command>: 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 <envar>XORG_PREFIX</envar>, which may be different from
-      <filename class="directory">/usr</filename>.
-    </para>
-
-    <para>
-      <command>sed -i ... data/Xsession</command>: Source
-      <filename>/etc/profile</filename>, instead of other file, according to
-      BLFS standard.
-    </para>
-
-    <para>
-      <command>sed -i ... data/lxdm.in</command>: Fix greeter's locale for BLFS
-      specification.
-    </para>
-
-    <para>
-      <parameter>--with-pam</parameter>: This parameter enables use of pam
-      authentication.
-    </para>
-
-    <para>
-      <parameter>--with-systemdsystemunitdir=no</parameter>: BLFS does not
-      support systemd.
-    </para>
-
-  </sect2>
-
-  <sect2 role="configuration">
-    <title>Configuring LXDM</title>
-
-   <sect3 id="lxdm-config">
-      <title>Config Files</title>
-
-      <para>
-        <filename>/etc/lxdm/lxdm.conf</filename>
-      </para>
-
-      <indexterm zone="lxdm lxdm-config">
-        <primary sortas="e-etc-lxdm-lxdm.conf">/etc/lxdm/lxdm.conf</primary>
-      </indexterm>
-
-    </sect3>
-
-   <sect3 id="lxdm-init">
-      <title>Boot Script</title>
-
-      <para>
-        Install the <filename>/etc/rc.d/init.d/lxdm</filename> init script from
-        the <xref linkend="bootscripts"/> package.
-      </para>
-
-      <indexterm zone="lxdm lxdm-init">
-        <primary sortas="f-lxdm">lxdm</primary>
-      </indexterm>
-
-<screen role="root"><userinput>make install-lxdm</userinput></screen>
-
-    </sect3>
-
-    <sect3>
-      <title>Configuration Information</title>
-
-      <para>
-        The LXDM daemon configuration <filename>/etc/lxdm/lxdm.conf</filename>
-        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 <command>startlxde</command>
-        with your session of choice. For <application>GNOME</application>
-        session=/usr/bin/gnome-session.  For <application>OPENBOX</application>
-        session=/usr/bin/openbox-session and for
-        <application>XFCE</application> session=/usr/bin/startxfce4.
-      </para>
-
-      <para>
-        It is also possible to set the preferred session on a per-user basis by
-        editing the ~/.dmrc file for each user and adding:
-        <screen><literal>[Desktop]
-        Session=xfce</literal></screen>
-      </para>
-
-      <para>
-        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 <filename>.face</filename>.
-      </para>
-
-    </sect3>
-
-    <sect3>
-      <title>Starting lxdm</title>
-
-      <para>
-        You can manually start <command>lxdm</command>, e.g, if the bootscript
-        has been installed, by running, as <systemitem
-        class="username">root</systemitem> user:
-      </para>
-
-<screen role="root"><userinput>/etc/rc.d/init.d/lxdm start</userinput></screen>
-
-      <para>
-        By definition, X should be executed at runlevel 5, consequently, the
-        same is true for <application>lxdm</application>. However, BLFS default
-        runlevel is 3. Changing to runlevel 5, from the terminal, as
-        <systemitem class="username">root</systemitem> user, makes the
-        <command>lxdm</command> bootscript to be executed, obtaining the
-        greeter screen:
-      </para>
-
-<screen role="root"><userinput>init 5</userinput></screen>
-
-      <para>
-          In order to permanently set the default to 5, obtaining the
-          <command>lxdm</command> greeter screen automatically, you can modify
-          <filename>/etc/inittab</filename>, as <systemitem
-          class="username">root</systemitem> user (the instructions below also
-          make a backup, so you can easily revert the modification):
-      </para>
-
-<screen role="root"><userinput>cp -v /etc/inittab{,-orig} &amp;&amp;
-sed -i '/initdefault/ s/3/5/' /etc/inittab</userinput></screen>
-
-      <para>
-          One important script, executed after login, is
-          <filename>/etc/lxdm/Xsession</filename>, which we have fixed to fit
-          BLFS specifications.
-      </para>
-
-    </sect3>
-  
-  </sect2>
-  <!--Required section-->
-  <sect2 role="content">
-    <title>Contents</title>
-
-    <segmentedlist>
-      <segtitle>Installed Programs</segtitle>
-      <segtitle>Installed Libraries</segtitle>
-      <segtitle>Installed Directories</segtitle>
-
-      <seglistitem>
-        <seg>
-          lxdm, lxdm-binary and lxdm-config
-        </seg>
-        <seg>
-          None
-        </seg>
-        <seg>
-          /etc/lxdm and
-          /usr/share/lxdm
-        </seg>
-      </seglistitem>
-    </segmentedlist>
-
-    <variablelist>
-      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
-      <?dbfo list-presentation="list"?>
-      <?dbhtml list-presentation="table"?>
-
-      <!-- If the program or library name conflicts (is the same) as the
-      package name, add -prog or -lib to the varlistentry entity id
-      and the 2nd entry of the indexterm zone entity -->
-
-      <varlistentry id="lxdm-prog">
-        <term><command>lxdm</command></term>
-        <listitem>
-          <para>
-            is a script to execute <command>lxdm-binary</command>
-          </para>
-          <indexterm zone="lxdm lxdm-prog">
-            <primary sortas="b-lxdm">lxdm</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="lxdm-bin">
-        <term><command>lxdm-binary</command></term>
-        <listitem>
-          <para>
-             is the actual Display Manager; needs to be executed with option
-             <option>-d</option> to daemonize
-          </para>
-          <indexterm zone="lxdm lxdm-bin">
-            <primary sortas="b-lxdm">lxdm</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="lxdm-config-prog">
-        <term><command>lxdm-config</command></term>
-        <listitem>
-          <para>
-            is a graphical customizing program
-          </para>
-          <indexterm zone="lxdm lxdm-config">
-            <primary sortas="b-lxdm">lxdm</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-    </variablelist>
-
-  </sect2>
-
-</sect1>
Index: packages.ent
===================================================================
--- packages.ent	(revision 8d427b0a8c6f80a550c444d2917631fdfd57dde1)
+++ packages.ent	(revision 9fa25aa2c2c537c20f6124356e3dfb866bc8e370)
@@ -495,4 +495,8 @@
 
 <!-- Chapter 26 -->
+<!ENTITY lxdm-version                 "0.5.0">
+<!ENTITY sddm-version                 "0.11.0">
+
+<!-- Chapter 27 -->
 <!ENTITY fluxbox-version              "1.3.7">
 <!ENTITY icewm-version                "1.3.8">
@@ -501,5 +505,5 @@
 
 <!-- Part VII -->
-<!-- Chapters 27-29 -->                           <!-- stable lt .90 micro version -->
+<!-- Chapters 28-33 -->                           <!-- stable lt .90 micro version -->
 <!ENTITY kde-version                  "15.04.3">
 <!ENTITY kde-old-version              "4.14.3">
@@ -532,5 +536,5 @@
 
 <!-- Part IX -->
-<!-- Chapter 32 -->
+<!-- Chapter 36 -->
 <!ENTITY xfce4-version                "4.12">
 
@@ -555,5 +559,5 @@
 <!ENTITY xfce4-session-version        "4.12.1">
 
-<!-- Chapter 33 -->
+<!-- Chapter 37 -->
 <!ENTITY midori-version               "0.5.10">
 <!ENTITY parole-version               "0.8.0">
@@ -568,5 +572,5 @@
 
 <!-- Part X -->
-<!-- Chapter 34 -->
+<!-- Chapter 38 -->
 <!ENTITY lxmenu-data-version          "0.1.4">
 <!ENTITY lxde-icon-theme-version      "0.5.1">
@@ -580,5 +584,5 @@
 <!ENTITY lxde-common-version          "0.99.0">
 
-<!-- Chapter 35 -->
+<!-- Chapter 39 -->
 <!ENTITY gpicview-version             "0.2.4">
 <!ENTITY lxappearance-obconf-version  "0.2.2">
@@ -587,7 +591,6 @@
 <!ENTITY lxtask-version               "0.1.6">
 <!ENTITY lxterminal-version           "0.2.0">
-<!ENTITY lxdm-version                 "0.5.0">
-
-<!-- Chapter 36 -->
+
+<!-- Chapter 40 -->
 <!ENTITY lxqt-version                 "0.9.1">
 <!ENTITY libqtxdg-version             "1.2.0">
@@ -608,5 +611,5 @@
 <!ENTITY lxqt-session-version         "0.9.0">
 
-<!-- Chapter 39 -->
+<!-- Chapter 41 -->
 <!ENTITY lximage-qt-version           "0.4.0">
 <!ENTITY obconf-qt-version            "0.9.0.8.g1ce85f1">
@@ -618,5 +621,5 @@
 
 <!-- Part X -->
-<!-- Chapter 38 -->
+<!-- Chapter 42 -->
 <!ENTITY AbiWord-version              "3.0.1">
 <!ENTITY gnumeric-version             "1.12.23">
@@ -627,9 +630,9 @@
 <!ENTITY libreoffice-dlversion        "&libreoffice-version;&libreoffice-patch;">
 
-<!-- Chapter 39 -->
+<!-- Chapter 43 -->
 <!ENTITY seamonkey-version            "2.33.1">
 <!ENTITY firefox-version              "39.0">
 
-<!-- Chapter 40 -->
+<!-- Chapter 44 -->
 <!ENTITY balsa-version                "2.5.2">
 <!ENTITY ekiga-version                "4.0.1">
@@ -654,5 +657,5 @@
 
 <!-- Part XI -->
-<!-- Chapter 41 -->
+<!-- Chapter 45 -->
 <!ENTITY alsa-download-http           "http://alsa.cybermirror.org">
 <!ENTITY alsa-download-ftp            "ftp://ftp.alsa-project.org/pub">
@@ -721,5 +724,5 @@
 <!ENTITY xvid-version                 "1.3.3">
 
-<!-- Chapter 42 -->
+<!-- Chapter 46 -->
 <!ENTITY libva-version                "1.6.0">
 <!ENTITY libva-intel-driver-version   "1.6.0">
@@ -727,5 +730,5 @@
 <!ENTITY libvdpau-va-gl-version       "0.3.4">
 
-<!-- Chapter 43 -->
+<!-- Chapter 47 -->
 <!ENTITY mpg123-version               "1.22.2">
 <!ENTITY vorbistools-version          "1.4.0">
@@ -738,5 +741,5 @@
 <!ENTITY pnmixer-version              "0.5.1">
 
-<!-- Chapter 44 -->
+<!-- Chapter 48 -->
 <!ENTITY ffmpeg-version               "2.7.2">
 <!ENTITY mplayer-version              "2015-02-20">
@@ -745,5 +748,5 @@
 <!ENTITY vlc-version                  "2.2.1">
 
-<!-- Chapter 45 -->
+<!-- Chapter 49 -->
 <!ENTITY cdrdao-version               "1.2.3">
 <!ENTITY dvd-rw-tools-version         "7.1">
@@ -755,5 +758,5 @@
 
 <!-- Part XII -->
-<!-- Chapter 46 -->
+<!-- Chapter 50 -->
 <!ENTITY cups-version                 "2.0.3">
 <!ENTITY cups-filters-version         "1.0.71">
@@ -761,10 +764,10 @@
 <!ENTITY gutenprint-version           "5.2.10">
 
-<!-- Chapter 47 -->
+<!-- Chapter 51 -->
 <!ENTITY sane-version                 "1.0.24">
 <!ENTITY sane-fe-version              "1.0.14">
 <!ENTITY xsane-version                "0.999">
 
-<!-- Chapter 48 -->
+<!-- Chapter 52 -->
 <!ENTITY sgml-common-version          "0.6.3">
 <!ENTITY sgml-dtd-3-version           "3.1">
@@ -775,5 +778,5 @@
 <!ENTITY docbook-utils-version        "0.6.14">
 
-<!-- Chapter 49 -->
+<!-- Chapter 53 -->
 <!ENTITY DocBook-version              "4.5">
 <!ENTITY docbook-xsl-version          "1.78.1">
@@ -781,5 +784,5 @@
 <!ENTITY xmlto-version                "0.0.26">
 
-<!-- Chapter 50 -->
+<!-- Chapter 54 -->
 <!ENTITY a2ps-version                 "4.14">
 <!ENTITY enscript-version             "1.6.6">
@@ -790,5 +793,5 @@
 <!ENTITY paps-version                 "0.6.8">
 
-<!-- Chapter 51 -->
+<!-- Chapter 55 -->
 <!ENTITY texlive-version              "20150521">
 <!ENTITY texmf-version                "20150523">
Index: x/dm/dm.xml
===================================================================
--- x/dm/dm.xml	(revision 9fa25aa2c2c537c20f6124356e3dfb866bc8e370)
+++ x/dm/dm.xml	(revision 9fa25aa2c2c537c20f6124356e3dfb866bc8e370)
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<chapter id="x-dm">
+  <?dbhtml filename="dm.html" ?>
+
+  <title>Display Managers</title>
+
+  <sect1 id="dm-introduction">
+    <?dbhtml filename="dm-introduction.html" ?>
+
+    <sect1info>
+      <othername>$LastChangedBy$</othername>
+      <date>$Date$</date>
+    </sect1info>
+
+    <title>Introduction</title>
+
+    <para>
+      Display Managers are graphical programs used for starting the graphical
+      display (currently, the X server) and loging in a Windows Manager or
+      Desktop Environment.
+    </para>
+
+    <para>
+      There are many Display Managers available. Some of the more well
+      known include
+      <application>GDM</application>,
+      <application>KDM</application>,
+      <application>LightDM</application>,
+      <application>LXDM</application>,
+      <application>Slim</application>, and
+      <application>SDDM</application>.
+    </para>
+
+    <para>
+      Between the Desktop Environments available for Linux you find
+      <application>Enlightenment</application>,
+      <application>GNOME</application>,
+      <application>KDE</application>,
+      <application>LXDE</application>,
+      <application>LXQt</application>, and
+      <application>XFce</application>.
+    </para>
+
+    <para>
+      Choosing a Display Manager or Display Environment is highly subjective.
+      The choice depends on the look and feel of the packages, the resources
+      (RAM, disk space) required, and the utilities included.
+    </para>
+
+    <para>
+      In this chapter, the installation instructions of some Display Managers
+      are presented. Later in the book, you will find other ones, which are
+      provided as part of some Desktop Envireonments.
+    </para>
+
+  </sect1>
+
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lxdm.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sddm.xml"/>
+
+</chapter>
Index: x/dm/lxdm.xml
===================================================================
--- x/dm/lxdm.xml	(revision 9fa25aa2c2c537c20f6124356e3dfb866bc8e370)
+++ x/dm/lxdm.xml	(revision 9fa25aa2c2c537c20f6124356e3dfb866bc8e370)
@@ -0,0 +1,370 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+
+  <!-- Place this in the general.ent file
+  <!ENTITY TEMPLATE-version "">
+  -->
+
+  <!ENTITY lxdm-download-http "http://downloads.sourceforge.net/lxdm/lxdm-&lxdm-version;.tar.xz">
+  <!ENTITY lxdm-download-ftp  " ">
+  <!ENTITY lxdm-md5sum        "a51686720e606ca456d7f56ae4159d1f">
+  <!ENTITY lxdm-size          "232 KB">
+  <!ENTITY lxdm-buildsize     "4.7 MB">
+  <!ENTITY lxdm-time          "less than 0.1 SBU ">
+]>
+
+<sect1 id="lxdm" xreflabel="lxdm-&lxdm-version;">
+  <?dbhtml filename="lxdm.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>lxdm-&lxdm-version;</title>
+
+  <indexterm zone="lxdm">
+    <primary sortas="a-lxdm">lxdm</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to LXDM</title>
+
+    <para>
+      The <application>LXDM</application> is a lightweight Display Manager for
+      the <application>LXDE</application> desktop. It can also be used as an
+      alternative to other Display Managers such as
+      <application>GNOME's</application> <application>GDM</application> or
+      <application>KDE's</application> <application>KDM</application>.
+    </para>
+
+    &lfs77_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Download (HTTP): <ulink url="&lxdm-download-http;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download (FTP): <ulink url="&lxdm-download-ftp;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download MD5 sum: &lxdm-md5sum;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download size: &lxdm-size;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated disk space required: &lxdm-buildsize;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated build time: &lxdm-time;
+        </para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">LXDM Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para role="required">
+      <xref linkend="gtk2"/>,
+      <xref linkend="iso-codes"/> and
+      <xref linkend="librsvg"/> (runtime, for default theme background)
+    </para>
+
+    <bridgehead renderas="sect4">Recommended</bridgehead>
+    <para role="recommended">
+     <xref linkend="consolekit"/> and
+     <xref linkend="linux-pam"/>
+    </para>
+
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional">
+      <xref linkend="gtk3"/>
+    </para>
+
+    <para condition="html" role="usernotes">
+      User Notes: <ulink url="&blfs-wiki;/lxdm"/>
+    </para>
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of LXDM</title>
+
+    <para>
+      First, some fixes.
+    </para>
+
+<screen><userinput>cat &gt; pam/lxdm &lt;&lt; "EOF" &amp;&amp;
+<literal>#%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</literal>
+EOF
+
+sed -i 's:sysconfig/i18n:profile.d/i18n.sh:g' data/lxdm.in &amp;&amp;
+sed -i 's:/etc/xprofile:/etc/profile:g' data/Xsession &amp;&amp;
+sed -e 's/^bg/#&amp;/'        \
+    -e '/reset=1/ s/# //' \
+    -e 's/logou$/logout/' \
+    -e "/arg=/a arg=$XORG_PREFIX/bin/X" \
+    -i data/lxdm.conf.in</userinput></screen>
+
+    <para>
+      Install <application>LXDM</application> by running the following
+      commands:
+    </para>
+
+<screen><userinput>./configure --prefix=/usr     \
+            --sysconfdir=/etc \
+            --with-pam        \
+            --with-systemdsystemunitdir=no &amp;&amp;
+make</userinput></screen>
+
+    <para>
+      This package does not come with a test suite.
+    </para>
+
+    <para>
+      Now, as the <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>make install</userinput></screen>
+
+  </sect2>
+
+  <!--Optional section-->
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <para>
+      <command>cat &gt; pam/lxdm &lt;&lt; "EOF" ...</command>: Replace default
+      <filename>/etc/pam.d/lxdm</filename> by another one appropriate for BLFS.
+    </para>
+
+    <para>
+      <command>sed -i ... data/lxdm.conf.in</command>: 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 <envar>XORG_PREFIX</envar>, which may be different from
+      <filename class="directory">/usr</filename>.
+    </para>
+
+    <para>
+      <command>sed -i ... data/Xsession</command>: Source
+      <filename>/etc/profile</filename>, instead of other file, according to
+      BLFS standard.
+    </para>
+
+    <para>
+      <command>sed -i ... data/lxdm.in</command>: Fix greeter's locale for BLFS
+      specification.
+    </para>
+
+    <para>
+      <parameter>--with-pam</parameter>: This parameter enables use of pam
+      authentication.
+    </para>
+
+    <para>
+      <parameter>--with-systemdsystemunitdir=no</parameter>: BLFS does not
+      support systemd.
+    </para>
+
+  </sect2>
+
+  <sect2 role="configuration">
+    <title>Configuring LXDM</title>
+
+   <sect3 id="lxdm-config">
+      <title>Config Files</title>
+
+      <para>
+        <filename>/etc/lxdm/lxdm.conf</filename>
+      </para>
+
+      <indexterm zone="lxdm lxdm-config">
+        <primary sortas="e-etc-lxdm-lxdm.conf">/etc/lxdm/lxdm.conf</primary>
+      </indexterm>
+
+    </sect3>
+
+   <sect3 id="lxdm-init">
+      <title>Boot Script</title>
+
+      <para>
+        Install the <filename>/etc/rc.d/init.d/lxdm</filename> init script from
+        the <xref linkend="bootscripts"/> package.
+      </para>
+
+      <indexterm zone="lxdm lxdm-init">
+        <primary sortas="f-lxdm">lxdm</primary>
+      </indexterm>
+
+<screen role="root"><userinput>make install-lxdm</userinput></screen>
+
+    </sect3>
+
+    <sect3>
+      <title>Configuration Information</title>
+
+      <para>
+        The LXDM daemon configuration <filename>/etc/lxdm/lxdm.conf</filename>
+        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 <command>startlxde</command>
+        with your session of choice. For <application>GNOME</application>
+        session=/usr/bin/gnome-session.  For <application>OPENBOX</application>
+        session=/usr/bin/openbox-session and for
+        <application>XFCE</application> session=/usr/bin/startxfce4.
+      </para>
+
+      <para>
+        It is also possible to set the preferred session on a per-user basis by
+        editing the ~/.dmrc file for each user and adding:
+        <screen><literal>[Desktop]
+        Session=xfce</literal></screen>
+      </para>
+
+      <para>
+        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 <filename>.face</filename>.
+      </para>
+
+    </sect3>
+
+    <sect3>
+      <title>Starting lxdm</title>
+
+      <para>
+        You can manually start <command>lxdm</command>, e.g, if the bootscript
+        has been installed, by running, as <systemitem
+        class="username">root</systemitem> user:
+      </para>
+
+<screen role="root"><userinput>/etc/rc.d/init.d/lxdm start</userinput></screen>
+
+      <para>
+        By definition, X should be executed at runlevel 5, consequently, the
+        same is true for <application>lxdm</application>. However, BLFS default
+        runlevel is 3. Changing to runlevel 5, from the terminal, as
+        <systemitem class="username">root</systemitem> user, makes the
+        <command>lxdm</command> bootscript to be executed, obtaining the
+        greeter screen:
+      </para>
+
+<screen role="root"><userinput>init 5</userinput></screen>
+
+      <para>
+          In order to permanently set the default to 5, obtaining the
+          <command>lxdm</command> greeter screen automatically, you can modify
+          <filename>/etc/inittab</filename>, as <systemitem
+          class="username">root</systemitem> user (the instructions below also
+          make a backup, so you can easily revert the modification):
+      </para>
+
+<screen role="root"><userinput>cp -v /etc/inittab{,-orig} &amp;&amp;
+sed -i '/initdefault/ s/3/5/' /etc/inittab</userinput></screen>
+
+      <para>
+          One important script, executed after login, is
+          <filename>/etc/lxdm/Xsession</filename>, which we have fixed to fit
+          BLFS specifications.
+      </para>
+
+    </sect3>
+
+  </sect2>
+  <!--Required section-->
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directories</segtitle>
+
+      <seglistitem>
+        <seg>
+          lxdm, lxdm-binary and lxdm-config
+        </seg>
+        <seg>
+          None
+        </seg>
+        <seg>
+          /etc/lxdm and
+          /usr/share/lxdm
+        </seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <!-- If the program or library name conflicts (is the same) as the
+      package name, add -prog or -lib to the varlistentry entity id
+      and the 2nd entry of the indexterm zone entity -->
+
+      <varlistentry id="lxdm-prog">
+        <term><command>lxdm</command></term>
+        <listitem>
+          <para>
+            is a script to execute <command>lxdm-binary</command>
+          </para>
+          <indexterm zone="lxdm lxdm-prog">
+            <primary sortas="b-lxdm">lxdm</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="lxdm-bin">
+        <term><command>lxdm-binary</command></term>
+        <listitem>
+          <para>
+             is the actual Display Manager; needs to be executed with option
+             <option>-d</option> to daemonize
+          </para>
+          <indexterm zone="lxdm lxdm-bin">
+            <primary sortas="b-lxdm">lxdm</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="lxdm-config-prog">
+        <term><command>lxdm-config</command></term>
+        <listitem>
+          <para>
+            is a graphical customizing program
+          </para>
+          <indexterm zone="lxdm lxdm-config">
+            <primary sortas="b-lxdm">lxdm</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>
Index: x/dm/sddm.xml
===================================================================
--- x/dm/sddm.xml	(revision 9fa25aa2c2c537c20f6124356e3dfb866bc8e370)
+++ x/dm/sddm.xml	(revision 9fa25aa2c2c537c20f6124356e3dfb866bc8e370)
@@ -0,0 +1,323 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+
+  <!-- Place this in the general.ent file
+  <!ENTITY TEMPLATE-version "">
+  -->
+
+  <!ENTITY sddm-download-http "http://anduin.linuxfromscratch.org/sources/BLFS/conglomeration/sddm/sddm-&sddm-version;.tar.xz">
+  <!ENTITY sddm-download-ftp  " ">
+  <!ENTITY sddm-md5sum        "e110a7683867400dc9484d4744fd41dd">
+  <!ENTITY sddm-size          "4.6 KB">
+  <!ENTITY sddm-buildsize     "19 MB">
+  <!ENTITY sddm-time          "0.6 SBU ">
+]>
+
+<sect1 id="sddm" xreflabel="sddm-&sddm-version;">
+  <?dbhtml filename="sddm.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>sddm-&sddm-version;</title>
+
+  <indexterm zone="sddm">
+    <primary sortas="a-SDDM">SDDM</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to SDDM</title>
+
+    <para>
+      The <application>SDDM</application> package contains a lightweight
+      display manager written in <application>Qt</application> and QML.
+    </para>
+
+    &lfs77_checked; &gcc5_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Download (HTTP): <ulink url="&sddm-download-http;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download (FTP): <ulink url="&sddm-download-ftp;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download MD5 sum: &sddm-md5sum;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download size: &sddm-size;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated disk space required: &sddm-buildsize;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated build time: &sddm-time;
+        </para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">SDDM Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para role="required">
+      <xref linkend="cmake"/> and
+      <xref linkend="qt5"/>
+    </para>
+
+    <bridgehead renderas="sect4">Recommended</bridgehead>
+    <para role="recommended">
+      <xref linkend="linux-pam"/>
+    </para>
+
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional">
+      <ulink url="http://sourceforge.net/projects/docutils/">Docutils</ulink>
+    </para>
+
+    <bridgehead renderas="sect4">Runtime Dependencies</bridgehead>
+    <para role="required">
+      <xref linkend="consolekit"/>
+    </para>
+
+    <para condition="html" role="usernotes">User Notes:
+      <ulink url="&blfs-wiki;/sddm"/>
+    </para>
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of SDDM</title>
+
+    <para>
+      It is recommended to have a dedicated user and group to take
+      control of the <command>sddm</command> daemon after it is
+      started. Issue the following commands as the
+      <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>groupadd -g 64 sddm &amp;&amp;
+useradd -c "SDDM Daemon Owner" -d /var/lib/sddm -u 64 \
+        -g sddm -s /bin/false sddm</userinput></screen>
+
+    <para>
+      Install <application>SDDM</application> by running the following
+      commands:
+    </para>
+
+<screen><userinput>mkdir build &amp;&amp;
+cd    build &amp;&amp;
+
+cmake -DCMAKE_INSTALL_PREFIX=/usr \
+      -DCMAKE_BUILD_TYPE=Release  \
+      -DENABLE_JOURNALD=OFF       \
+      -DBUILD_MAN_PAGES=ON
+      -Wno-dev .. &amp;&amp;
+make</userinput></screen>
+
+    <para>
+      This package does not come with a test suite.
+    </para>
+
+    <para>
+      Now, as the <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>make install &amp;&amp;
+install -v -dm755 -o sddm -g sddm /var/lib/sddm</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <para>
+      <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used to
+      apply higher level of the compiler optimizations.
+    </para>
+
+    <para>
+      <parameter>-DENABLE_JOURNALD=OFF</parameter>: This switch is used because
+      BLFS does not support <application>systemd</application>.
+    </para>
+
+  </sect2>
+
+  <sect2 role="configuration">
+    <title>Configuring SDDM</title>
+
+    <sect3>
+      <title>Linux PAM Configuration</title>
+
+      <para>
+        If you have built <application>SDDM</application>
+        with <application>Linux PAM</application> support,
+        create the necessary configuration files by running
+        the following commands as the <systemitem
+        class="username">root</systemitem> user:
+      </para>
+
+<screen role="root"><userinput>cat &gt; /etc/pam.d/sddm &lt;&lt; "EOF"  &amp;&amp;
+<literal># Begin /etc/pam.d/sddm
+
+auth     requisite      pam_nologin.so
+auth     required       pam_env.so
+
+auth     required       pam_succeed_if.so uid &gt;= 1000 quiet
+auth     include        system-auth
+
+account  include        system-account
+password include        system-password
+
+session  required       pam_limits.so
+session  include        system-session
+
+# End /etc/pam.d/sddm</literal>
+EOF
+cat &gt; /etc/pam.d/sddm-autologin &lt;&lt; "EOF" &amp;&amp;
+<literal># Begin /etc/pam.d/sddm-autologin
+
+auth     requisite      pam_nologin.so
+auth     required       pam_env.so
+
+auth     required       pam_succeed_if.so uid &gt;= 1000 quiet
+auth     required       pam_permit.so
+
+account  include        system-account
+
+password required       pam_deny.so
+
+session  required       pam_limits.so
+session  include        system-session
+
+# End /etc/pam.d/sddm-autologin</literal>
+EOF
+cat &gt; /etc/pam.d/sddm-greeter &lt;&lt; "EOF"
+<literal># Begin /etc/pam.d/sddm-greeter
+
+auth     required       pam_env.so
+auth     required       pam_permit.so
+
+account  required       pam_permit.so
+password required       pam_deny.so
+session  required       pam_unix.so
+-session optional       pam_systemd.so
+
+# End /etc/pam.d/sddm-greeter</literal>
+EOF</userinput></screen>
+
+    </sect3>
+
+    <sect3 id="sddm-init">
+      <title>Starting sddm</title>
+
+      <para>
+        You can manually start <command>sddm</command>, e.g, if the bootscript
+        has been installed, by running, as <systemitem
+        class="username">root</systemitem> user:
+      </para>
+
+<screen role="root"><userinput>/etc/rc.d/init.d/sddm start</userinput></screen>
+
+      <para>
+        By definition, X should be executed at runlevel 5, consequently, the
+        same is true for <application>sddm</application>. However, BLFS default
+        runlevel is 3. Changing to runlevel 5, from the terminal, as
+        <systemitem class="username">root</systemitem> user, makes the
+        <command>sddm</command> bootscript to be executed, obtaining the
+        greeter screen:
+      </para>
+
+<screen role="root"><userinput>init 5</userinput></screen>
+
+      <para>
+        In order to permanently set the default to 5, obtaining the
+        <command>sddm</command> greeter screen automatically, you can modify
+        <filename>/etc/inittab</filename>, as <systemitem
+        class="username">root</systemitem> user (the instructions below also
+        make a backup, so you can easily revert the modification):
+      </para>
+
+<screen role="root"><userinput>cp -v /etc/inittab{,-orig} &amp;&amp;
+sed -i '/initdefault/ s/3/5/' /etc/inittab</userinput></screen>
+
+    </sect3>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directories</segtitle>
+
+      <seglistitem>
+        <seg>
+          sddm and sddm-greeter
+        </seg>
+        <seg>
+          None
+        </seg>
+        <seg>
+          $QT5DIR/qml/SddmComponents,
+          /usr/share/sddm and
+          /var/lib/sddm
+        </seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="sddm-prog">
+        <term><command>sddm</command></term>
+        <listitem>
+          <para>
+            is a display and login manager based on
+            <application>Qt</application> technologies.
+          </para>
+          <indexterm zone="sddm sddm-prog">
+            <primary sortas="b-sddm">sddm</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="sddm-greeter">
+        <term><command>sddm-greeter</command></term>
+        <listitem>
+          <para>
+            is an auxiliary process that displays the greeter,
+            a graphical user interface to perform the
+            authentication and select the session to run.
+          </para>
+          <indexterm zone="sddm sddm-greeter">
+            <primary sortas="b-sddm-greeter">sddm-greeter</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>
Index: x/x.xml
===================================================================
--- x/x.xml	(revision 8d427b0a8c6f80a550c444d2917631fdfd57dde1)
+++ x/x.xml	(revision 9fa25aa2c2c537c20f6124356e3dfb866bc8e370)
@@ -11,11 +11,12 @@
 -->
 
-<part id="x" xreflabel="X and Window Managers">
+<part id="x" xreflabel="X plus Window and Display Managers">
   <?dbhtml filename="x.html" dir="x"?>
 
-  <title>X + Window Managers</title>
+  <title>X + Window and Display Managers</title>
 
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="installing/installing.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lib/lib.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dm/dm.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wm/wm.xml"/>
 
