source: archive/lxdm.xml

trunk
Last change on this file was 88146cd4, checked in by Douglas R. Reno <renodr@…>, 8 months ago

Archive LXDM.

Bruce suggested this due to issues with PAM and elogind.

  • Property mode set to 100644
File size: 11.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY lxdm-download-http "&sourceforge-dl;/lxdm/lxdm-&lxdm-version;.tar.xz">
8 <!ENTITY lxdm-download-ftp " ">
9 <!ENTITY lxdm-md5sum "061caae432634e6db38bbdc84bc6ffa0">
10 <!ENTITY lxdm-size "236 KB">
11 <!ENTITY lxdm-buildsize "5.6 MB">
12 <!ENTITY lxdm-time "less than 0.1 SBU ">
13]>
14
15<sect1 id="lxdm" xreflabel="lxdm-&lxdm-version;">
16 <?dbhtml filename="lxdm.html"?>
17
18
19 <title>lxdm-&lxdm-version;</title>
20
21 <indexterm zone="lxdm">
22 <primary sortas="a-lxdm">lxdm</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to LXDM</title>
27
28 <para>
29 The <application>LXDM</application> is a lightweight Display Manager for
30 the <application>LXDE</application> desktop. It can also be used as an
31 alternative to other Display Managers such as
32 <application>GNOME's</application> <application>GDM</application> or
33 <application>LightDM</application>.
34 </para>
35
36 &lfs120_checked;
37
38 <note>
39 <para>
40 The <application>lxdm</application> display manager does not support
41 wayland based window managers such as <application>plasma-wayland</application>
42 or <application>gnome-wayland</application>.
43 </para>
44 </note>
45
46 <bridgehead renderas="sect3">Package Information</bridgehead>
47 <itemizedlist spacing="compact">
48 <listitem>
49 <para>
50 Download (HTTP): <ulink url="&lxdm-download-http;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download (FTP): <ulink url="&lxdm-download-ftp;"/>
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download MD5 sum: &lxdm-md5sum;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Download size: &lxdm-size;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated disk space required: &lxdm-buildsize;
71 </para>
72 </listitem>
73 <listitem>
74 <para>
75 Estimated build time: &lxdm-time;
76 </para>
77 </listitem>
78 </itemizedlist>
79
80 <bridgehead renderas="sect3">LXDM Dependencies</bridgehead>
81
82 <bridgehead renderas="sect4">Required</bridgehead>
83 <para role="required">
84 <xref linkend="gtk2"/>,
85 <xref linkend="iso-codes"/>, and
86 <xref role="runtime" linkend="librsvg"/> (runtime, for default theme
87 background)
88 </para>
89
90 <bridgehead renderas="sect4">Recommended</bridgehead>
91 <para role="recommended">
92 <xref linkend="lxsession"/> (for <application>lxpolkit</application>) or
93 <xref role="nodep" linkend="polkit-gnome"/>
94 </para>
95
96 <bridgehead renderas="sect4">Optional</bridgehead>
97 <para role="optional">
98 <xref linkend="gtk3"/>
99 </para>
100
101 </sect2>
102
103 <sect2 role="installation">
104 <title>Installation of LXDM</title>
105
106 <para>
107 First, some fixes.
108 </para>
109
110<screen><userinput>cat &gt; pam/lxdm &lt;&lt; "EOF"
111<literal># Begin /etc/pam.d/lxdm
112
113auth requisite pam_nologin.so
114auth required pam_env.so
115auth required pam_succeed_if.so uid >= 1000 quiet
116auth include system-auth
117
118account include system-account
119
120password include system-password
121
122session required pam_limits.so
123session include system-session
124
125# End /etc/pam.d/lxdm</literal>
126EOF
127
128sed -i 's:sysconfig/i18n:profile.d/i18n.sh:g' data/lxdm.in &amp;&amp;
129sed -i 's:/etc/xprofile:/etc/profile:g' data/Xsession &amp;&amp;
130sed -e 's/^bg/#&amp;/' \
131 -e '/reset=1/ s/# //' \
132 -e 's/logou$/logout/' \
133 -e "/arg=/a arg=$XORG_PREFIX/bin/X" \
134 -i data/lxdm.conf.in</userinput></screen>
135
136 <para>
137 Install <application>LXDM</application> by running the following
138 commands:
139 </para>
140
141<screen revision="sysv"><userinput>./configure --prefix=/usr \
142 --sysconfdir=/etc \
143 --with-pam \
144 --with-systemdsystemunitdir=no &amp;&amp;
145make</userinput></screen>
146
147<screen revision="systemd"><userinput>./configure --prefix=/usr \
148 --sysconfdir=/etc \
149 --with-pam \
150 --with-systemdsystemunitdir=/lib/systemd/system &amp;&amp;
151make</userinput></screen>
152
153 <para>
154 This package does not come with a test suite.
155 </para>
156
157 <para>
158 Now, as the <systemitem class="username">root</systemitem> user:
159 </para>
160
161<screen role="root"><userinput>make install</userinput></screen>
162
163 </sect2>
164
165 <!--Optional section-->
166 <sect2 role="commands">
167 <title>Command Explanations</title>
168
169 <para>
170 <command>cat &gt; pam/lxdm &lt;&lt; "EOF" ...</command>: Replace default
171 <filename>/etc/pam.d/lxdm</filename> by another one appropriate for BLFS.
172 </para>
173
174 <para>
175 <command>sed -i ... data/lxdm.conf.in</command>: Modifications in the
176 default configuration:
177 (1) fix the background to the default one;
178 (2) restart X when session is close;
179 (3) typo; and
180 (4) include <envar>XORG_PREFIX</envar>, which may be different from
181 <filename class="directory">/usr</filename>.
182 </para>
183
184 <para>
185 <command>sed -i ... data/Xsession</command>: Source
186 <filename>/etc/profile</filename>, instead of other file, according to
187 BLFS standard.
188 </para>
189
190 <para>
191 <command>sed -i ... data/lxdm.in</command>: Fix greeter's locale for BLFS
192 specification.
193 </para>
194
195 <para>
196 <parameter>--with-pam</parameter>: This parameter enables use of pam
197 authentication.
198 </para>
199
200 <para revision="sysv">
201 <parameter>--with-systemdsystemunitdir=no</parameter>: BLFS does not
202 support systemd.
203 </para>
204
205 </sect2>
206
207 <sect2 role="configuration">
208 <title>Configuring LXDM</title>
209
210 <sect3 id="lxdm-config">
211 <title>Config Files</title>
212
213 <para>
214 <filename>/etc/lxdm/lxdm.conf</filename>
215 </para>
216
217 <indexterm zone="lxdm lxdm-config">
218 <primary sortas="e-etc-lxdm-lxdm.conf">/etc/lxdm/lxdm.conf</primary>
219 </indexterm>
220
221 </sect3>
222
223 <sect3 id="lxdm-init">
224 <title><phrase revision="sysv">Boot Script</phrase>
225 <phrase revision="systemd">Systemd Unit</phrase></title>
226
227 <indexterm zone="lxdm lxdm-init">
228 <primary sortas="f-lxdm">lxdm</primary>
229 </indexterm>
230
231 <para revision="sysv">
232 To start <command>lxdm</command> automatically when the system is
233 switched to runlevel 5, install the
234 <filename>/etc/rc.d/init.d/xdm</filename> script and the
235 <filename>/etc/sysconfig/xdm</filename> configuration file
236 included in the <xref linkend="bootscripts"/> package
237 and adjust <filename>/etc/inittab</filename> by running
238 as the <systemitem class="username">root</systemitem> user:
239 </para>
240
241<screen role="root" revision="sysv"><userinput>make install-lxdm</userinput></screen>
242
243 <para revision="systemd">
244 To start <application>LXDM</application> at boot execute the following
245 command as the <systemitem class="username">root</systemitem> user:
246 </para>
247
248<screen role="root" revision="systemd"><userinput>systemctl enable lxdm</userinput></screen>
249
250 </sect3>
251
252 <sect3>
253 <title>Configuration Information</title>
254
255 <para>
256 The LXDM daemon configuration file
257 (<filename>/etc/lxdm/lxdm.conf</filename>) specifies options that
258 include numlock on/off, background image (bg), session, etc. You can
259 set a default session by uncommenting the line:
260 session=/usr/bin/startlxde and replacing <command>startlxde</command>
261 with your session of choice. For <application>GNOME</application>
262 session=/usr/bin/gnome-session. For <application>OPENBOX</application>
263 session=/usr/bin/openbox-session and for
264 <application>XFCE</application> session=/usr/bin/startxfce4.
265 </para>
266
267 <para>
268 It is also possible to set the preferred session on a per-user basis by
269 editing the ~/.dmrc file for each user and adding:
270 <screen><literal>[Desktop]
271 Session=xfce</literal></screen>
272 </para>
273
274 <para>
275 You can replace the default dummy face in the greeting screen by another
276 image representing your user. For that, copy or symlink the desired
277 image to your home directory with the name <filename>.face</filename>.
278 </para>
279
280 </sect3>
281
282 <sect3 revision="sysv">
283 <title>Starting lxdm</title>
284
285 <para>
286 The <command>lxdm</command> greeter can be started from the command
287 line as the <systemitem class="username">root</systemitem> user:
288 </para>
289
290<screen role="root"><userinput>telinit 5</userinput></screen>
291
292 <para>
293 Alternatively the runlevel can be permanently set to 5, starting the
294 <command>lxdm</command> greeter screen automatically, by modifying
295 <filename>/etc/inittab</filename>. As the <systemitem
296 class="username">root</systemitem> user:
297 </para>
298
299<screen role="root"><userinput>cp -v /etc/inittab{,-orig} &amp;&amp;
300sed -i '/initdefault/ s/3/5/' /etc/inittab</userinput></screen>
301
302 <note>
303 <para>
304 One important script, executed after login is
305 <filename>/etc/lxdm/Xsession</filename> which we have fixed to fit
306 BLFS specifications.
307 </para>
308 </note>
309
310 </sect3>
311
312 </sect2>
313
314 <sect2 role="content">
315 <title>Contents</title>
316
317 <segmentedlist>
318 <segtitle>Installed Programs</segtitle>
319 <segtitle>Installed Libraries</segtitle>
320 <segtitle>Installed Directories</segtitle>
321
322 <seglistitem>
323 <seg>
324 lxdm, lxdm-binary and lxdm-config
325 </seg>
326 <seg>
327 None
328 </seg>
329 <seg>
330 /etc/lxdm and
331 /usr/share/lxdm
332 </seg>
333 </seglistitem>
334 </segmentedlist>
335
336 <variablelist>
337 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
338 <?dbfo list-presentation="list"?>
339 <?dbhtml list-presentation="table"?>
340
341 <varlistentry id="lxdm-prog">
342 <term><command>lxdm</command></term>
343 <listitem>
344 <para>
345 is a script to execute <command>lxdm-binary</command>
346 </para>
347 <indexterm zone="lxdm lxdm-prog">
348 <primary sortas="b-lxdm">lxdm</primary>
349 </indexterm>
350 </listitem>
351 </varlistentry>
352
353 <varlistentry id="lxdm-binary">
354 <term><command>lxdm-binary</command></term>
355 <listitem>
356 <para>
357 is the actual Display Manager; needs to be executed with option
358 <option>-d</option> to daemonize
359 </para>
360 <indexterm zone="lxdm lxdm-binary">
361 <primary sortas="b-lxdm-binary">lxdm-binary</primary>
362 </indexterm>
363 </listitem>
364 </varlistentry>
365
366 <varlistentry id="lxdm-config-prog">
367 <term><command>lxdm-config</command></term>
368 <listitem>
369 <para>
370 is a graphical customizing program
371 </para>
372 <indexterm zone="lxdm lxdm-config">
373 <primary sortas="b-lxdm">lxdm</primary>
374 </indexterm>
375 </listitem>
376 </varlistentry>
377
378 </variablelist>
379
380 </sect2>
381
382</sect1>
Note: See TracBrowser for help on using the repository browser.