source: x/dm/lxdm.xml@ 8558044

11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8558044 was 8558044, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago

Remove spaces at the end of lines

I know it is somewhat useless, but I don't like them for
two reasons: first they cannot be seen, and I do not like things I
cannot see. Second, git highlights them, and this is disturbing...

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