Ignore:
Timestamp:
09/15/2014 12:14:06 PM (10 years ago)
Author:
Christopher Gregory <cjg@…>
Branches:
7.6-blfs, 7.6-systemd, kde5-14686, systemd-13485
Children:
b1f9f130
Parents:
7304e2a0
Message:

Changed lxdm pam file so that a seat is obtained. Incorporated the international changes that Fernando added to trunk.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@14293 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lxde/apps/lxdm-systemd.xml

    r7304e2a0 r0e657ea  
    105105
    106106    <para>
     107      The following fixes are needed.
     108    </para>
     109
     110<screen><userinput>cat &gt; pam/lxdm &lt;&lt; "EOF" &amp;&amp;
     111<literal>#%PAM-1.0
     112auth       substack     system-auth
     113auth       optional     pam_gnome_keyring.so
     114account    include      system-account
     115session    optional     pam_systemd.so
     116session    optional     pam_keyinit.so force revoke
     117session    include      system-auth
     118session    optional     pam_gnome_keyring.so auto_start</literal>
     119EOF
     120
     121sed -i 's:sysconfig/i18n:profile.d/i18n.sh:g' data/lxdm.in &amp;&amp;
     122sed -i 's:/etc/xprofile:/etc/profile:g' data/Xsession &amp;&amp;
     123sed -i 's/^bg/#&amp;/' data/lxdm.conf.in</userinput></screen>
     124
     125    <para>
    107126      Install <application>LXDM</application> by running the following
    108127      commands:
     
    124143    </para>
    125144
    126 <screen role="root"><userinput>make install &amp;&amp;
    127 sed -e "/pam_selinux.so/d" -i pam/lxdm &amp;&amp;
    128 awk '/system-auth/{c++;if(c==2){sub("system-auth","system-account");}}1' pam/lxdm 2&gt;&amp;1 | tee /etc/pam.d/lxdm</userinput></screen>
     145<screen role="root"><userinput>make install</userinput></screen>
    129146  </sect2>
    130147
     
    133150    <title>Command Explanations</title>
    134151    <para>
    135       <command>sed -e "/pam_selinux.so/d" -i pam/lxdm</command>: This command removes
    136       the selinux pam module as selinux is not part of blfs.
    137     </para>
    138 
    139     <para>
    140       <command>awk '/system-auth/{c++;if(c==2){sub("system-auth","system-account");}}1'</command>:
    141       This command repaces the second instance of system-auth with system-account to make logind
    142       work correctly.
     152      <command>cat &gt; pam/lxdm &lt;&lt; "EOF" ...</command>: Replace default
     153      <filename>/etc/pam.d/lxdm</filename> by another one appropriate for BLFS.
     154    </para>
     155
     156    <para>
     157      <command>sed -i ... data/lxdm.conf.in</command>: Fix the background to the
     158      default one.
     159    </para>
     160
     161    <para>
     162      <command>sed -i ... data/Xsession</command>: Source
     163      <filename>/etc/profile</filename>, instead of other file, according to
     164      BLFS standard.
     165    </para>
     166
     167    <para>
     168      <command>sed -i ... data/lxdm.in</command>: Fix greeter's locale for BLFS
     169      specification.
    143170    </para>
    144171
Note: See TracChangeset for help on using the changeset viewer.