source: x/dm/lxdm.xml@ 73c69d42

12.0 12.1 12.2 gimp3 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128 xry111/xf86-video-removal
Last change on this file since 73c69d42 was 12fe806, checked in by Bruce Dubbs <bdubbs@…>, 19 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
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
[9fa25aa]19 <title>lxdm-&lxdm-version;</title>
[2bda6610]20
21 <indexterm zone="lxdm">
[9fa25aa]22 <primary sortas="a-lxdm">lxdm</primary>
[2bda6610]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
[1def00f]33 <application>LightDM</application>.
[2bda6610]34 </para>
35
[1937d63f]36 &lfs113_checked;
[2bda6610]37
[12fe806]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
[2bda6610]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"/>,
[1def00f]85 <xref linkend="iso-codes"/>, and
[e71a98d9]86 <xref role="runtime" linkend="librsvg"/> (runtime, for default theme
87 background)
[2bda6610]88 </para>
89
90 <bridgehead renderas="sect4">Recommended</bridgehead>
91 <para role="recommended">
[51dfb3e]92 <xref linkend="lxsession"/> (for <application>lxpolkit</application>) or
[cac7f93]93 <xref role="nodep" linkend="polkit-gnome"/>
[2bda6610]94 </para>
[9fa25aa]95
[2bda6610]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>
[f40b4f32]110 First, some fixes.
[2bda6610]111 </para>
112
[f31098e]113<screen><userinput>cat &gt; pam/lxdm &lt;&lt; "EOF"
[1e1b3d6]114<literal># Begin /etc/pam.d/lxdm
115
116auth requisite pam_nologin.so
117auth required pam_env.so
[51dfb3e]118auth required pam_succeed_if.so uid >= 1000 quiet
[1e1b3d6]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>
[2bda6610]129EOF
130
[b43538ae]131sed -i 's:sysconfig/i18n:profile.d/i18n.sh:g' data/lxdm.in &amp;&amp;
[f40b4f32]132sed -i 's:/etc/xprofile:/etc/profile:g' data/Xsession &amp;&amp;
[562e942]133sed -e 's/^bg/#&amp;/' \
134 -e '/reset=1/ s/# //' \
135 -e 's/logou$/logout/' \
[6a5aa22]136 -e "/arg=/a arg=$XORG_PREFIX/bin/X" \
[562e942]137 -i data/lxdm.conf.in</userinput></screen>
[2bda6610]138
139 <para>
140 Install <application>LXDM</application> by running the following
141 commands:
142 </para>
143
[3f460da0]144<screen revision="sysv"><userinput>./configure --prefix=/usr \
[2bda6610]145 --sysconfdir=/etc \
146 --with-pam \
[f3979ba]147 --with-systemdsystemunitdir=no &amp;&amp;
[2bda6610]148make</userinput></screen>
149
[3f460da0]150<screen revision="systemd"><userinput>./configure --prefix=/usr \
151 --sysconfdir=/etc \
[1e1b3d6]152 --with-pam \
153 --with-systemdsystemunitdir=/lib/systemd/system &amp;&amp;
[3f460da0]154make</userinput></screen>
155
[2bda6610]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
[b43538ae]164<screen role="root"><userinput>make install</userinput></screen>
[f3979ba]165
[2bda6610]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>
[10f84304]178 <command>sed -i ... data/lxdm.conf.in</command>: Modifications in the
[562e942]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>.
[2bda6610]185 </para>
186
[b43538ae]187 <para>
[f40b4f32]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
[b43538ae]195 specification.
196 </para>
197
[2bda6610]198 <para>
[0956cf1]199 <parameter>--with-pam</parameter>: This parameter enables use of pam
[2bda6610]200 authentication.
201 </para>
202
[3f460da0]203 <para revision="sysv">
[0956cf1]204 <parameter>--with-systemdsystemunitdir=no</parameter>: BLFS does not
205 support systemd.
[2bda6610]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
[a1f2d184]226 <sect3 id="lxdm-init">
[52250565]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>
[a1f2d184]233
[1e1b3d6]234 <para revision="sysv">
[52250565]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:
[1e1b3d6]242 </para>
243
[52250565]244<screen role="root" revision="sysv"><userinput>make install-lxdm</userinput></screen>
245
[1e1b3d6]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:
[a1f2d184]249 </para>
250
[72552d9]251<screen role="root" revision="systemd"><userinput>systemctl enable lxdm</userinput></screen>
[a1f2d184]252
253 </sect3>
254
[2bda6610]255 <sect3>
256 <title>Configuration Information</title>
257
258 <para>
[1def00f]259 The LXDM daemon configuration file
260 (<filename>/etc/lxdm/lxdm.conf</filename>) specifies options that
[5eb2b92]261 include numlock on/off, background image (bg), session, etc. You can
[1def00f]262 set a default session by uncommenting the line:
[2bda6610]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>
[1def00f]278 You can replace the default dummy face in the greeting screen by another
[2bda6610]279 image representing your user. For that, copy or symlink the desired
[1def00f]280 image to your home directory with the name <filename>.face</filename>.
[2bda6610]281 </para>
282
283 </sect3>
284
[3f460da0]285 <sect3 revision="sysv">
[f3979ba]286 <title>Starting lxdm</title>
287
288 <para>
[52250565]289 The <command>lxdm</command> greeter can be started from the command
290 line as the <systemitem class="username">root</systemitem> user:
[f3979ba]291 </para>
292
[52250565]293<screen role="root"><userinput>telinit 5</userinput></screen>
[f3979ba]294
295 <para>
[52250565]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:
[f3979ba]300 </para>
301
[7a2aeb5]302<screen role="root"><userinput>cp -v /etc/inittab{,-orig} &amp;&amp;
[f3979ba]303sed -i '/initdefault/ s/3/5/' /etc/inittab</userinput></screen>
304
[1def00f]305 <note>
[52250565]306 <para>
[1def00f]307 One important script, executed after login is
308 <filename>/etc/lxdm/Xsession</filename> which we have fixed to fit
[fd19cc7]309 BLFS specifications.
[52250565]310 </para>
[1def00f]311 </note>
[a6221fd]312
[f3979ba]313 </sect3>
[9fa25aa]314
[2bda6610]315 </sect2>
[8558044]316
[2bda6610]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>
[38af6d4]327 lxdm, lxdm-binary and lxdm-config
[2bda6610]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
[6d772cc]356 <varlistentry id="lxdm-binary">
[2bda6610]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>
[6d772cc]363 <indexterm zone="lxdm lxdm-binary">
364 <primary sortas="b-lxdm-binary">lxdm-binary</primary>
[2bda6610]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>
[a6221fd]380
[2bda6610]381 </variablelist>
[38af6d4]382
[2bda6610]383 </sect2>
[38af6d4]384
[2bda6610]385</sect1>
Note: See TracBrowser for help on using the repository browser.