source: x/dm/lightdm.xml@ 8969d72

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 xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 8969d72 was b5d7180, checked in by Thomas Trepl (Moody) <thomas@…>, 21 months ago

Tags for 11.2

  • Property mode set to 100644
File size: 14.7 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<!-- lightdm -->
8 <!ENTITY lightdm-download-http "https://github.com/CanonicalLtd/lightdm/releases/download/&lightdm-version;/lightdm-&lightdm-version;.tar.xz">
9 <!ENTITY lightdm-download-ftp " ">
10 <!ENTITY lightdm-md5sum "e62a5da6c35f612e4d9575eda5c8d467">
11 <!ENTITY lightdm-size "508 KB">
12 <!ENTITY lightdm-buildsize "20 MB">
13 <!ENTITY lightdm-time "0.2 SBU ">
14
15<!-- lightdm-gtk-greeter -->
16 <!ENTITY lightdm-gtk-greeter-download-http "https://github.com/Xubuntu/lightdm-gtk-greeter/releases/download/lightdm-gtk-greeter-&lightdm-gtk-greeter-version;/lightdm-gtk-greeter-&lightdm-gtk-greeter-version;.tar.gz">
17 <!ENTITY lightdm-gtk-greeter-download-ftp " ">
18 <!ENTITY lightdm-gtk-greeter-md5sum "373c73c67367df511eb544e09a2da281">
19 <!ENTITY lightdm-gtk-greeter-size "569.7 KB">
20 <!ENTITY lightdm-gtk-greeter-buildsize "5.5 MB">
21 <!ENTITY lightdm-gtk-greeter-time "less than 0.1 SBU ">
22]>
23
24<sect1 id="lightdm" xreflabel="lightdm-&lightdm-version;">
25 <?dbhtml filename="lightdm.html"?>
26
27 <sect1info>
28 <date>$Date$</date>
29 </sect1info>
30
31 <title>lightdm-&lightdm-version;</title>
32
33 <indexterm zone="lightdm">
34 <primary sortas="a-lightdm">lightdm</primary>
35 </indexterm>
36
37 <sect2 role="package">
38 <title>Introduction to Lightdm</title>
39
40 <para>
41 The <application>lightdm</application> package contains a lightweight
42 display manager based upon GTK.
43 </para>
44
45 &lfs112_checked;
46
47 <bridgehead renderas="sect3">Lightdm Package Information</bridgehead>
48 <itemizedlist spacing="compact">
49 <listitem>
50 <para>
51 Download (HTTP): <ulink url="&lightdm-download-http;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download (FTP): <ulink url="&lightdm-download-ftp;"/>
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download MD5 sum: &lightdm-md5sum;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Download size: &lightdm-size;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated disk space required: &lightdm-buildsize;
72 </para>
73 </listitem>
74 <listitem>
75 <para>
76 Estimated build time: &lightdm-time;
77 </para>
78 </listitem>
79 </itemizedlist>
80
81 <bridgehead renderas="sect3">Additional download</bridgehead>
82
83 <note>
84 <para>
85 The greeter is a program to present a graphical login screen. There
86 are several alternative greeters, but the gtk+ package is the reference
87 implementation. For a list of other greeters, see <ulink
88 url="https://en.wikipedia.org/wiki/LightDM"/>.
89 </para>
90 </note>
91
92 <itemizedlist spacing="compact">
93 <listitem>
94 <para>
95 Download (HTTP): <ulink url="&lightdm-gtk-greeter-download-http;"/>
96 </para>
97 </listitem>
98 <listitem>
99 <para>
100 Download (FTP): <ulink url="&lightdm-gtk-greeter-download-ftp;"/>
101 </para>
102 </listitem>
103 <listitem>
104 <para>
105 Download MD5 sum: &lightdm-gtk-greeter-md5sum;
106 </para>
107 </listitem>
108 <listitem>
109 <para>
110 Download size: &lightdm-gtk-greeter-size;
111 </para>
112 </listitem>
113 <listitem>
114 <para>
115 Estimated disk space required: &lightdm-gtk-greeter-buildsize;
116 </para>
117 </listitem>
118 <listitem>
119 <para>
120 Estimated build time: &lightdm-gtk-greeter-time;
121 </para>
122 </listitem>
123 </itemizedlist>
124
125 <bridgehead renderas="sect3">Lightdm Dependencies</bridgehead>
126
127 <bridgehead renderas="sect4">Required</bridgehead>
128 <para role="required">
129 <xref linkend="exo"/> (for the greeter),
130<!-- required by exo <xref linkend="gtk3"/>, -->
131 <xref linkend="libgcrypt"/>,
132 <xref linkend="itstool"/>, and
133 <xref linkend="linux-pam"/>
134<!-- Neither lightdm-1.30.0 nor lightdm-gtk-greeter-2.0.8
135 mention pcre in their configure scripts
136 <xref linkend="pcre"/>-->
137 </para>
138
139 <bridgehead renderas="sect4">Recommended</bridgehead>
140 <para role="recommended">
141 <xref linkend="gobject-introspection"/>,
142 <xref linkend="libxklavier"/>, and
143 <xref linkend="vala"/>
144 </para>
145
146 <bridgehead renderas="sect4">Optional</bridgehead>
147 <para role="optional">
148 <xref role="runtime" linkend="accountsservice"/> (run time),
149 <xref linkend="at-spi2-core"/>,
150 <xref linkend="gtk-doc"/>,
151 <xref linkend="qt5"/>,
152 <ulink url="https://launchpad.net/ido">libido</ulink>, and
153 <ulink url="https://launchpad.net/libindicator">libindicator</ulink>
154
155 </para>
156
157 <para condition="html" role="usernotes">User Notes:
158 <ulink url="&blfs-wiki;/lightdm"/>
159 </para>
160 </sect2>
161
162 <sect2 role="installation">
163 <title>Installation of Lightdm</title>
164
165 <para>
166 First, create a dedicated user and group to take
167 control of the <command>lightdm</command> daemon after it is
168 started. Issue the following commands as the
169 <systemitem class="username">root</systemitem> user:
170 </para>
171
172<screen role="root"><userinput>groupadd -g 65 lightdm &amp;&amp;
173useradd -c "Lightdm Daemon" \
174 -d /var/lib/lightdm \
175 -u 65 -g lightdm \
176 -s /bin/false lightdm</userinput></screen>
177
178 <para revision="sysv">
179 Then change the <application>Linux-PAM</application> configuration files
180 so that <application>elogind</application> is used:
181 </para>
182
183<screen revision="sysv"><userinput>sed -i s/systemd/elogind/ data/pam/*</userinput></screen>
184
185 <para>
186 Install <application>lightdm</application> by running the following
187 commands:
188 </para>
189
190<screen><userinput>./configure --prefix=/usr \
191 --libexecdir=/usr/lib/lightdm \
192 --localstatedir=/var \
193 --sbindir=/usr/bin \
194 --sysconfdir=/etc \
195 --disable-static \
196 --disable-tests \
197 --with-greeter-user=lightdm \
198 --with-greeter-session=lightdm-gtk-greeter \
199 --docdir=/usr/share/doc/lightdm-&lightdm-version; &amp;&amp;
200make</userinput></screen>
201
202 <para>
203 This package does not come with a test suite.
204 </para>
205
206 <para>
207 Now, as the <systemitem class="username">root</systemitem> user:
208 </para>
209
210<screen role="root"><userinput>make install &amp;&amp;
211cp tests/src/lightdm-session /usr/bin &amp;&amp;
212sed -i '1 s/sh/bash --login/' /usr/bin/lightdm-session &amp;&amp;
213rm -rf /etc/init &amp;&amp;
214install -v -dm755 -o lightdm -g lightdm /var/lib/lightdm &amp;&amp;
215install -v -dm755 -o lightdm -g lightdm /var/lib/lightdm-data &amp;&amp;
216install -v -dm755 -o lightdm -g lightdm /var/cache/lightdm &amp;&amp;
217install -v -dm770 -o lightdm -g lightdm /var/log/lightdm</userinput></screen>
218
219 <para>
220 Now build the greeter:
221 </para>
222
223<screen><userinput>tar -xf ../lightdm-gtk-greeter-&lightdm-gtk-greeter-version;.tar.gz &amp;&amp;
224cd lightdm-gtk-greeter-&lightdm-gtk-greeter-version; &amp;&amp;
225
226./configure --prefix=/usr \
227 --libexecdir=/usr/lib/lightdm \
228 --sbindir=/usr/bin \
229 --sysconfdir=/etc \
230 --with-libxklavier \
231 --enable-kill-on-sigterm \
232 --disable-libido \
233 --disable-libindicator \
234 --disable-static \
235 --disable-maintainer-mode \
236 --docdir=/usr/share/doc/lightdm-gtk-greeter-&lightdm-gtk-greeter-version; &amp;&amp;
237make</userinput></screen>
238
239 <para>
240 Now, as the <systemitem class="username">root</systemitem> user:
241 </para>
242
243<screen role="root"><userinput>make install</userinput></screen>
244
245 <note>
246 <para>
247 If you installed Xorg in /opt, you will need to create a symbolic
248 link so lightdm can find the Xorg server. As the
249 <systemitem class="username">root</systemitem> user:
250 </para>
251
252 <screen role="nodump"><userinput>ln -sf /opt/xorg/bin/Xorg /usr/bin/X</userinput></screen>
253 </note>
254
255
256 </sect2>
257
258 <sect2 role="commands">
259 <title>Command Explanations</title>
260 <para>
261
262 <command>sed ... /usr/bin/lightdm-session</command>:
263 This command ensures that the initial login via the greeter sources
264 /etc/profile and ~/.bash_profile. Without this, commands that depend on
265 different environment variables may not work as expected.
266 </para>
267<!--
268 <para>
269 <parameter>ITSTOOL=/bin/true</parameter>: although
270 <xref linkend="itstool"/> is not needed in a normal build,
271 <command>configure</command> throws an error if it is not found on the
272 system. This parameter prevents the error.
273 </para>
274
275 <para>
276 <parameter>HAVE_EXO_CSOURCE=yes</parameter>: although
277 <command>exo-csource</command> is not needed in a normal build,
278 <command>configure</command> throws an error if it is not found on the
279 system. This parameter prevents the error.
280 </para>
281-->
282 </sect2>
283
284 <sect2 role="configuration">
285 <title>Configuring lightdm</title>
286
287 <sect3 id="lightdm-config">
288 <title>Config Files</title>
289
290 <para>
291 /etc/lightdm/{lightdm,users,keys}.conf
292 </para>
293
294 <indexterm zone="lightdm lightdm-config">
295 <primary sortas="e-etc-lightdm-lightdm.conf">/etc/lightdm/lightdm.conf</primary>
296 </indexterm>
297
298 <indexterm zone="lightdm lightdm-config">
299 <primary sortas="e-users.conf">/etc/lightdm/users.conf</primary>
300 </indexterm>
301
302 <indexterm zone="lightdm lightdm-config">
303 <primary sortas="e-keys.conf">/etc/lightdm/keys.conf</primary>
304 </indexterm>
305
306 <indexterm zone="lightdm lightdm-config">
307 <primary sortas="e-lightdm-gtk-greeter.conf">
308 /etc/lightdm/lightdm-gtk-greeter.conf</primary>
309 </indexterm>
310
311 </sect3>
312
313 <sect3 id="lightdm-bootscript">
314 <title><phrase revision="sysv">Boot Script</phrase>
315 <phrase revision="systemd">Systemd Unit</phrase></title>
316
317 <indexterm zone="lightdm lightdm-bootscript">
318 <primary sortas="f-lightdm">lightdm</primary>
319 </indexterm>
320
321 <para revision="sysv">
322 To start <command>lightdm</command> automatically when the system is
323 switched to runlevel 5, install the
324 <filename>/etc/rc.d/init.d/xdm</filename> script and the
325 <filename>/etc/sysconfig/xdm</filename> configuration file
326 included in the <xref linkend="bootscripts"/> package
327 and adjust <filename>/etc/inittab</filename> by running
328 as the <systemitem class="username">root</systemitem> user:
329 </para>
330
331<screen role="root" revision="sysv"><userinput>make install-lightdm</userinput></screen>
332
333 <para revision="systemd">
334 Install the <filename>lightdm.service</filename> unit included in
335 the <xref linkend="systemd-units"/> package:
336 </para>
337
338<screen role="root" revision="systemd"><userinput>make install-lightdm</userinput></screen>
339
340 </sect3>
341 <sect3 id="lightdm-init" revision="sysv">
342 <title>Starting lightdm</title>
343
344 <para>
345 The <command>lightdm</command> greeter can be started from the
346 command line as the <systemitem class="username">root</systemitem>
347 user:
348 </para>
349
350<screen role="nodump"><userinput>telinit 5</userinput></screen>
351
352<!-- "make install-lightdm already does this already
353 <para>
354 Alternatively the runlevel can be permanently set to 5, starting the
355 <command>lightdm</command> greeter screen automatically, by modifying
356 <filename>/etc/inittab</filename>. As the <systemitem
357 class="username">root</systemitem> user:
358 </para>
359
360<screen role="root"><userinput>cp -v /etc/inittab{,-orig} &amp;&amp;
361sed -i '/initdefault/ s/3/5/' /etc/inittab</userinput></screen>
362-->
363 </sect3>
364
365 <sect3 id="lightdm-sessions">
366 <title>Available Sessions</title>
367
368 <para>
369 The greeter offers a list of available sessions,
370 depending on the Window Managers and Desktop Environments installed. The
371 list includes sessions which have a corresponding
372 <filename>.desktop</filename> file installed under
373 <filename class="directory">/usr/share/xsessions</filename>. Most of the
374 Window Managers and Desktop Environments automatically provide those
375 files, but if necessary, you may include a custom one.
376 </para>
377
378 </sect3>
379
380 </sect2>
381
382 <sect2 role="content">
383 <title>Contents</title>
384
385 <segmentedlist>
386 <segtitle>Installed Programs</segtitle>
387 <segtitle>Installed Libraries</segtitle>
388 <segtitle>Installed Directories</segtitle>
389
390 <seglistitem>
391 <seg>
392 dm-tool,
393 lightdm, and
394 lightdm-gtk-greeter
395 </seg>
396 <seg>
397 liblightdm-gobject-1.so
398 </seg>
399 <seg>
400 /etc/lightdm,
401 /etc/apparmor.d,
402 /usr/lib/lightdm,
403 /usr/include/lightdm-gobject-1,
404 /usr/share/help/C/lightdm
405 /usr/share/gtk-doc/html/lightdm-gobject-1,
406 /usr/share/doc/lightdm-gtk-greeter-&lightdm-gtk-greeter-version;,
407 /var/lib/lightdm,
408 /var/lib/lightdm-data,
409 /var/cache/lightdm, and
410 /var/log/lightdm
411 </seg>
412 </seglistitem>
413 </segmentedlist>
414
415 <variablelist>
416 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
417 <?dbfo list-presentation="list"?>
418 <?dbhtml list-presentation="table"?>
419
420 <varlistentry id="lightdm-prog">
421 <term><command>lightdm</command></term>
422 <listitem>
423 <para>
424 is a display and login manager
425 </para>
426 <indexterm zone="lightdm lightdm-prog">
427 <primary sortas="b-lightdm">lightdm</primary>
428 </indexterm>
429 </listitem>
430 </varlistentry>
431
432 <varlistentry id="lightdm-gtk-greeter">
433 <term><command>lightdm-gtk-greeter</command></term>
434 <listitem>
435 <para>
436 is an auxiliary process that displays the greeter,
437 a graphical user interface that performs user
438 authentication and initiates the selected window manager
439 or display environment
440 </para>
441 <indexterm zone="lightdm lightdm-gtk-greeter">
442 <primary sortas="b-lightdm-gtk-greeter">lightdm-gtk-greeter</primary>
443 </indexterm>
444 </listitem>
445 </varlistentry>
446
447 </variablelist>
448
449 </sect2>
450
451</sect1>
Note: See TracBrowser for help on using the repository browser.