Changeset 0e657ea
- Timestamp:
- 09/15/2014 12:14:06 PM (10 years ago)
- Branches:
- 7.6-blfs, 7.6-systemd, kde5-14686, systemd-13485
- Children:
- b1f9f130
- Parents:
- 7304e2a0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lxde/apps/lxdm-systemd.xml
r7304e2a0 r0e657ea 105 105 106 106 <para> 107 The following fixes are needed. 108 </para> 109 110 <screen><userinput>cat > pam/lxdm << "EOF" && 111 <literal>#%PAM-1.0 112 auth substack system-auth 113 auth optional pam_gnome_keyring.so 114 account include system-account 115 session optional pam_systemd.so 116 session optional pam_keyinit.so force revoke 117 session include system-auth 118 session optional pam_gnome_keyring.so auto_start</literal> 119 EOF 120 121 sed -i 's:sysconfig/i18n:profile.d/i18n.sh:g' data/lxdm.in && 122 sed -i 's:/etc/xprofile:/etc/profile:g' data/Xsession && 123 sed -i 's/^bg/#&/' data/lxdm.conf.in</userinput></screen> 124 125 <para> 107 126 Install <application>LXDM</application> by running the following 108 127 commands: … … 124 143 </para> 125 144 126 <screen role="root"><userinput>make install && 127 sed -e "/pam_selinux.so/d" -i pam/lxdm && 128 awk '/system-auth/{c++;if(c==2){sub("system-auth","system-account");}}1' pam/lxdm 2>&1 | tee /etc/pam.d/lxdm</userinput></screen> 145 <screen role="root"><userinput>make install</userinput></screen> 129 146 </sect2> 130 147 … … 133 150 <title>Command Explanations</title> 134 151 <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 > pam/lxdm << "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. 143 170 </para> 144 171
Note:
See TracChangeset
for help on using the changeset viewer.