source: x/dm/lxdm.xml@ fe0192e

11.0 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 fe0192e was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • Property mode set to 100644
File size: 11.1 KB
RevLine 
[2bda6610]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
[8dfc5c3]7 <!ENTITY lxdm-download-http "&sourceforge-dl;/lxdm/lxdm-&lxdm-version;.tar.xz">
[2bda6610]8 <!ENTITY lxdm-download-ftp " ">
[1378693]9 <!ENTITY lxdm-md5sum "061caae432634e6db38bbdc84bc6ffa0">
[53dd18f1]10 <!ENTITY lxdm-size "236 KB">
[1378693]11 <!ENTITY lxdm-buildsize "5.6 MB">
[2bda6610]12 <!ENTITY lxdm-time "less than 0.1 SBU ">
13]>
14
[9fa25aa]15<sect1 id="lxdm" xreflabel="lxdm-&lxdm-version;">
[2bda6610]16 <?dbhtml filename="lxdm.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
[9fa25aa]22 <title>lxdm-&lxdm-version;</title>
[2bda6610]23
24 <indexterm zone="lxdm">
[9fa25aa]25 <primary sortas="a-lxdm">lxdm</primary>
[2bda6610]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
[1def00f]36 <application>LightDM</application>.
[2bda6610]37 </para>
38
[86f2cd28]39 &lfs101_checked;
[2bda6610]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"/>,
[1def00f]80 <xref linkend="iso-codes"/>, and
[e71a98d9]81 <xref role="runtime" linkend="librsvg"/> (runtime, for default theme
82 background)
[2bda6610]83 </para>
84
85 <bridgehead renderas="sect4">Recommended</bridgehead>
86 <para role="recommended">
[51dfb3e]87 <xref linkend="lxsession"/> (for <application>lxpolkit</application>) or
[cac7f93]88 <xref role="nodep" linkend="polkit-gnome"/>
[2bda6610]89 </para>
[9fa25aa]90
[2bda6610]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>
[f40b4f32]105 First, some fixes.
[2bda6610]106 </para>
107
[f31098e]108<screen><userinput>cat &gt; pam/lxdm &lt;&lt; "EOF"
[1e1b3d6]109<literal># Begin /etc/pam.d/lxdm
110
111auth requisite pam_nologin.so
112auth required pam_env.so
[51dfb3e]113auth required pam_succeed_if.so uid >= 1000 quiet
[1e1b3d6]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>
[2bda6610]124EOF
125
[b43538ae]126sed -i 's:sysconfig/i18n:profile.d/i18n.sh:g' data/lxdm.in &amp;&amp;
[f40b4f32]127sed -i 's:/etc/xprofile:/etc/profile:g' data/Xsession &amp;&amp;
[562e942]128sed -e 's/^bg/#&amp;/' \
129 -e '/reset=1/ s/# //' \
130 -e 's/logou$/logout/' \
[6a5aa22]131 -e "/arg=/a arg=$XORG_PREFIX/bin/X" \
[562e942]132 -i data/lxdm.conf.in</userinput></screen>
[2bda6610]133
134 <para>
135 Install <application>LXDM</application> by running the following
136 commands:
137 </para>
138
[3f460da0]139<screen revision="sysv"><userinput>./configure --prefix=/usr \
[2bda6610]140 --sysconfdir=/etc \
141 --with-pam \
[f3979ba]142 --with-systemdsystemunitdir=no &amp;&amp;
[2bda6610]143make</userinput></screen>
144
[3f460da0]145<screen revision="systemd"><userinput>./configure --prefix=/usr \
146 --sysconfdir=/etc \
[1e1b3d6]147 --with-pam \
148 --with-systemdsystemunitdir=/lib/systemd/system &amp;&amp;
[3f460da0]149make</userinput></screen>
150
[2bda6610]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
[b43538ae]159<screen role="root"><userinput>make install</userinput></screen>
[f3979ba]160
[2bda6610]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>
[10f84304]173 <command>sed -i ... data/lxdm.conf.in</command>: Modifications in the
[562e942]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>.
[2bda6610]180 </para>
181
[b43538ae]182 <para>
[f40b4f32]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
[b43538ae]190 specification.
191 </para>
192
[2bda6610]193 <para>
[0956cf1]194 <parameter>--with-pam</parameter>: This parameter enables use of pam
[2bda6610]195 authentication.
196 </para>
197
[3f460da0]198 <para revision="sysv">
[0956cf1]199 <parameter>--with-systemdsystemunitdir=no</parameter>: BLFS does not
200 support systemd.
[2bda6610]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
[a1f2d184]221 <sect3 id="lxdm-init">
[52250565]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>
[a1f2d184]228
[1e1b3d6]229 <para revision="sysv">
[52250565]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:
[1e1b3d6]237 </para>
238
[52250565]239<screen role="root" revision="sysv"><userinput>make install-lxdm</userinput></screen>
240
[1e1b3d6]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:
[a1f2d184]244 </para>
245
[72552d9]246<screen role="root" revision="systemd"><userinput>systemctl enable lxdm</userinput></screen>
[a1f2d184]247
248 </sect3>
249
[2bda6610]250 <sect3>
251 <title>Configuration Information</title>
252
253 <para>
[1def00f]254 The LXDM daemon configuration file
255 (<filename>/etc/lxdm/lxdm.conf</filename>) specifies options that
[5eb2b92]256 include numlock on/off, background image (bg), session, etc. You can
[1def00f]257 set a default session by uncommenting the line:
[2bda6610]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>
[1def00f]273 You can replace the default dummy face in the greeting screen by another
[2bda6610]274 image representing your user. For that, copy or symlink the desired
[1def00f]275 image to your home directory with the name <filename>.face</filename>.
[2bda6610]276 </para>
277
278 </sect3>
279
[3f460da0]280 <sect3 revision="sysv">
[f3979ba]281 <title>Starting lxdm</title>
282
283 <para>
[52250565]284 The <command>lxdm</command> greeter can be started from the command
285 line as the <systemitem class="username">root</systemitem> user:
[f3979ba]286 </para>
287
[52250565]288<screen role="root"><userinput>telinit 5</userinput></screen>
[f3979ba]289
290 <para>
[52250565]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:
[f3979ba]295 </para>
296
[7a2aeb5]297<screen role="root"><userinput>cp -v /etc/inittab{,-orig} &amp;&amp;
[f3979ba]298sed -i '/initdefault/ s/3/5/' /etc/inittab</userinput></screen>
299
[1def00f]300 <note>
[52250565]301 <para>
[1def00f]302 One important script, executed after login is
303 <filename>/etc/lxdm/Xsession</filename> which we have fixed to fit
[fd19cc7]304 BLFS specifications.
[52250565]305 </para>
[1def00f]306 </note>
[a6221fd]307
[f3979ba]308 </sect3>
[9fa25aa]309
[2bda6610]310 </sect2>
[52250565]311
[2bda6610]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>
[38af6d4]322 lxdm, lxdm-binary and lxdm-config
[2bda6610]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
[6d772cc]351 <varlistentry id="lxdm-binary">
[2bda6610]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>
[6d772cc]358 <indexterm zone="lxdm lxdm-binary">
359 <primary sortas="b-lxdm-binary">lxdm-binary</primary>
[2bda6610]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>
[a6221fd]375
[2bda6610]376 </variablelist>
[38af6d4]377
[2bda6610]378 </sect2>
[38af6d4]379
[2bda6610]380</sect1>
Note: See TracBrowser for help on using the repository browser.