source: x/dm/lxdm.xml@ 7241b26

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 xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 7241b26 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 18 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

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