Author: cjg
Date: Mon Sep 15 05:14:06 2014
New Revision: 14293
Log:
Changed lxdm pam file so that a seat is obtained. Incorporated the
international changes that Fernando added to trunk.
Modified:
branches/systemd/lxde/apps/lxdm-systemd.xml
Modified: branches/systemd/lxde/apps/lxdm-systemd.xml
==============================================================================
--- branches/systemd/lxde/apps/lxdm-systemd.xml Mon Sep 15 00:58:00 2014
(r14292)
+++ branches/systemd/lxde/apps/lxdm-systemd.xml Mon Sep 15 05:14:06 2014
(r14293)
@@ -104,6 +104,25 @@
<title>Installation of LXDM</title>
<para>
+ The following fixes are needed.
+ </para>
+
+<screen><userinput>cat > pam/lxdm << "EOF" &&
+<literal>#%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</literal>
+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</userinput></screen>
+
+ <para>
Install <application>LXDM</application> by running the following
commands:
</para>
@@ -123,23 +142,31 @@
Now, as the <systemitem class="username">root</systemitem> user:
</para>
-<screen role="root"><userinput>make install &&
-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 /etc/pam.d/lxdm</userinput></screen>
+<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.
+ <command>cat > pam/lxdm << "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>: Fix the background to
the
+ default one.
+ </para>
+
+ <para>
+ <command>sed -i ... data/Xsession</command>: Source
+ <filename>/etc/profile</filename>, instead of other file, according to
+ BLFS standard.
</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.
+ <command>sed -i ... data/lxdm.in</command>: Fix greeter's locale for BLFS
+ specification.
</para>
<para>
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page