source: x/dm/lxdm.xml@ 2ad1b08

11.3 12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 2ad1b08 was 12fe806, checked in by Bruce Dubbs <bdubbs@…>, 16 months ago

Remove unneeded .desktop files.

Several packages add unneeded .desktop files in /usr/share/xsessions/.
These then show up in display managers and can confuse users.
This change moves them out of the way.

Also document that lxdm does not support wayland based desktop sessions.

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