Author: cjg Date: Mon Sep 1 08:52:45 2014 New Revision: 14159 Log: Move lxdm.xml to lxdm-systemd.xml to avoid overwrites between branches.
Added: branches/systemd/lxde/apps/lxdm-systemd.xml Deleted: branches/systemd/lxde/apps/lxdm.xml Modified: branches/systemd/general.ent branches/systemd/lxde/apps/apps.xml branches/systemd/packages.ent branches/systemd/systemd.ent Modified: branches/systemd/general.ent ============================================================================== --- branches/systemd/general.ent Mon Sep 1 08:46:54 2014 (r14158) +++ branches/systemd/general.ent Mon Sep 1 08:52:45 2014 (r14159) @@ -1,12 +1,12 @@ <!-- $LastChangedBy$ $Date$ --> -<!ENTITY day "31"> <!-- Always 2 digits --> -<!ENTITY month "08"> <!-- Always 2 digits --> +<!ENTITY day "01"> <!-- Always 2 digits --> +<!ENTITY month "09"> <!-- Always 2 digits --> <!ENTITY year "2014"> <!ENTITY copyrightdate "2001-&year;"> <!ENTITY copyholder "The BLFS systemd Development Team"> <!ENTITY version "&year;-&month;-&day;"> -<!ENTITY releasedate "August 31st, &year;"> +<!ENTITY releasedate "September 1st, &year;"> <!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP --> <!ENTITY blfs-version "systemd"> <!-- svn|[release #] --> <!ENTITY lfs-version "systemd"> <!-- x.y|development] --> Modified: branches/systemd/lxde/apps/apps.xml ============================================================================== --- branches/systemd/lxde/apps/apps.xml Mon Sep 1 08:46:54 2014 (r14158) +++ branches/systemd/lxde/apps/apps.xml Mon Sep 1 08:52:45 2014 (r14159) @@ -26,6 +26,6 @@ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lxrandr.xml"/> <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"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lxdm-systemd.xml"/> </chapter> Added: branches/systemd/lxde/apps/lxdm-systemd.xml ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/systemd/lxde/apps/lxdm-systemd.xml Mon Sep 1 08:52:45 2014 (r14159) @@ -0,0 +1,278 @@ +<?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://distfiles.alpinelinux.org/distfiles/lxdm-&lxdm-version;.tar.xz"> + <!ENTITY lxdm-download-ftp ""> + <!ENTITY lxdm-md5sum "a51686720e606ca456d7f56ae4159d1f"> + <!ENTITY lxdm-size "232 KB"> + <!ENTITY lxdm-buildsize "4.6 MB"> + <!ENTITY lxdm-time "less than 0.1 SBU "> +]> + +<sect1 id="lxdm" xreflabel="LXDM-&lxdm-version;"> + <?dbhtml filename="lxdm.html"?> + + <sect1info> + <othername>$LastChangedBy: cjg $</othername> + <date>$Date: 2014-08-31 16:03:10 +1200 (Sun, 31 Aug 2014) $</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 <application>GNOME's</application> <application>GDM</application> or + <application>KDE's</application> <application>KDM</application>. + </para> + + &lfs76_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="iso-codes"/> and + <xref linkend="gtk2"/> + </para> + + <bridgehead renderas="sect4">Recommended</bridgehead> + <para role="recommended"> + <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> + Install <application>LXDM</application> by running the following + commands: + </para> + +<screen><userinput>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 pam/lxdm && + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --with-pam \ + --disable-consolekit \ + --with-systemdsystemunitdir=/lib/systemd/system && +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>sed -e "/pam_selinux.so/d" -i pam/lxdm</command>: This command removes + the selinux pam module as selinux is not part of blfs. + </para> + + <para> + <command>awk '/system-auth/{c++;if(c==2){sub("system-auth","system-account");}}1'</command>: + This command repaces the second instance of system-auth with system-account to make logind + work correctly. + </para> + + <para> + <option>--with-pam</option>: This option enables use of pam authentication. + </para> + + <para> + <option>--disable-consolekit</option>: This option disables the use of + <application>consolekit</application> as it is not used on a + <application>systemd</application> system. + </para> + + <para> + <option>--with-systemdsystemunitdir=/lib/systemd/system</option>: This option + ensures that the systemd unit file gets installed in the correct location. + </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> + <title>Configuration Information</title> + + <para> + The LXDM daemon is configured using the + <filename>/etc/lxdm/lxdm.conf</filename> 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 <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> + To prevent the possibility of lxdm not cleanly logging out a users session + add the following to the <filename>/etc/lxdm/PostLogout</filename> as the + <systemitem class="username">root</systemitem> user: + </para> + +<screen role="root"><userinput>cat > /etc/lxdm/PostLogout << "EOF" +# Terminate current user session +/bin/loginctl terminate-session $XDG_SESSION_ID + +# Restart lxdm +/bin/systemctl restart lxdm.service +EOF</userinput></screen> + + </sect3> + + <sect3 id="lxdm-init"> + <title>Systemd Units</title> + + <para> + To start the <command>LXDM</command> daemon at boot, enable + the previously installed systemd unit by running the following command + as the <systemitem class="username">root</systemitem> user: + </para> + + <indexterm zone="lxdm lxdm-init"> + <primary sortas="f-lxdm">lxdm</primary> + </indexterm> + +<screen role="root"><userinput>systemctl enable lxdm</userinput></screen> + + </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-config, lxdm and lxdm-binary. + </seg> + <seg> + None. + </seg> + <seg> + /etc/lxdm, /etc/pam.d, 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 the lxdm daeamon. + </para> + <indexterm zone="lxdm lxdm-prog"> + <primary sortas="b-lxdm">lxdm</primary> + </indexterm> + </listitem> + </varlistentry> + </variablelist> + </sect2> +</sect1> Modified: branches/systemd/packages.ent ============================================================================== --- branches/systemd/packages.ent Mon Sep 1 08:46:54 2014 (r14158) +++ branches/systemd/packages.ent Mon Sep 1 08:52:45 2014 (r14159) @@ -535,7 +535,6 @@ <!ENTITY lxpolkit-version "0.1.0"> <!ENTITY lxsession-version "0.4.9.2"> <!ENTITY lxde-common-version "0.5.5"> -<!ENTITY lxdm-version "0.5.0"> <!-- Chapter 35 --> <!ENTITY gpicview-version "0.2.4"> Modified: branches/systemd/systemd.ent ============================================================================== --- branches/systemd/systemd.ent Mon Sep 1 08:46:54 2014 (r14158) +++ branches/systemd/systemd.ent Mon Sep 1 08:52:45 2014 (r14159) @@ -24,6 +24,7 @@ <!ENTITY wayland-version "1.5.0"> <!ENTITY weston-version "1.5.0"> <!ENTITY yaml-version "0.1.6"> +<!ENTITY lxdm-version "0.5.0"> <!ENTITY Jinja2-version "2.7.3"> <!ENTITY MarkupSafe-version "0.23"> -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
