source: gnome/platform/gdm.xml@ c339779

10.1 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 c339779 was c339779, checked in by Douglas R. Reno <renodr@…>, 4 years ago

Update to gnome-bluetooth-3.34.3
Update to gnome-settings-daemon-3.38.1, and add instructions for removing outdated systemd units
Update to gnome-control-center-3.38.1
Update to mutter-3.38.1
Update to gnome-shell-3.38.1
Update to gnome-shell-extensions-3.38.1
Update to gnome-session-3.38.0 and modify it to build on SysV systems
Update to gdm-3.38.0 and modify it to build on SysV systems
Update to gnome-user-docs-3.38.1
Update to yelp-3.38.1
Archive JS68

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23803 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 10.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 <!ENTITY gdm-download-http "&gnome-download-http;/gdm/&gnome-minor-38;/gdm-&gdm-version;.tar.xz">
8 <!ENTITY gdm-download-ftp "&gnome-download-ftp;/gdm/&gnome-minor-38;/gdm-&gdm-version;.tar.xz">
9 <!ENTITY gdm-md5sum "948dec80099d9d3a2adacc5788964043">
10 <!ENTITY gdm-size "772 KB">
11 <!ENTITY gdm-buildsize "34 MB">
12 <!ENTITY gdm-time "0.1 SBU">
13]>
14
15<sect1 id="gdm" xreflabel="GDM-&gdm-version;">
16 <?dbhtml filename="gdm.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>GDM-&gdm-version;</title>
24
25 <indexterm zone="gdm">
26 <primary sortas="a-GDM">GDM</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to GDM</title>
31
32 <para>
33 <application>GDM</application> is a system service that is
34 responsible for providing graphical logins and managing local
35 and remote displays.
36 </para>
37
38 &lfs10_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&gdm-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&gdm-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &gdm-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &gdm-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &gdm-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &gdm-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73 <!--
74 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
75 <itemizedlist spacing="compact">
76 <listitem>
77 <para>
78 Required patch:
79 <ulink url="&patch-root;/gdm-&gdm-version;-security_fix-1.patch"/>
80 </para>
81 </listitem>
82 </itemizedlist>
83 -->
84 <bridgehead renderas="sect3">GDM Dependencies</bridgehead>
85
86 <bridgehead renderas="sect4">Required</bridgehead>
87 <para role="required">
88 <xref linkend="accountsservice"/>,
89 <xref linkend="gtk3"/>,
90 <xref linkend="iso-codes"/>,
91 <xref linkend="itstool"/>,
92 <xref linkend="libcanberra"/>,
93 <xref linkend="libdaemon"/>, and
94 <xref linkend="linux-pam"/>
95 </para>
96
97 <bridgehead renderas="sect4">Optional</bridgehead>
98 <para role="optional">
99 <xref linkend="keyutils"/>
100 </para>
101
102 <bridgehead renderas="sect4">Runtime Dependencies</bridgehead>
103 <para role="required">
104 <xref role="runtime" linkend="gnome-session"/>,
105 <xref role="runtime" linkend="gnome-shell"/>, and
106 <phrase revision="sysv"><xref role="runtime" linkend="elogind"/></phrase>
107 <phrase revision="systemd"><xref role="runtime" linkend="systemd"/></phrase>
108 </para>
109
110 <para condition="html" role="usernotes">User Notes:
111 <ulink url="&blfs-wiki;/gdm"/>
112 </para>
113 </sect2>
114
115 <sect2 role="installation">
116 <title>Installation of GDM</title>
117
118 <para>
119 It is recommended to have a dedicated user and group to take
120 control of the <command>gdm</command> daemon after it is
121 started. Issue the following commands as the
122 <systemitem class="username">root</systemitem> user:
123 </para>
124
125<screen role="root"><userinput>groupadd -g 21 gdm &amp;&amp;
126useradd -c "GDM Daemon Owner" -d /var/lib/gdm -u 21 \
127 -g gdm -s /bin/false gdm &amp;&amp;
128passwd -ql gdm</userinput></screen>
129
130 <para revision="sysv">
131 First, adapt GDM to build without systemd present:
132 </para>
133
134<screen revision="sysv"><userinput remap="pre">sed -i -r '/(^| )systemd_dep/d' meson.build</userinput></screen>
135
136 <para>
137 Install <application>GDM</application> by running the following
138 commands:
139 </para>
140
141<screen revision="sysv"><userinput>sed 's@systemd@elogind@' -i data/pam-lfs/gdm-launch-environment.pam &amp;&amp;
142
143mkdir build &amp;&amp;
144cd build &amp;&amp;
145
146meson --prefix=/usr \
147 --sysconfdir=/etc \
148 --localstatedir=/var \
149 -Dplymouth=disabled \
150 -Dgdm-xsession=true \
151 -Dpam-mod-dir=/lib/security \
152 -Dsystemd-journal=false \
153 -Dsystemdsystemunitdir=/tmp \
154 -Dsystemduserunitdir=/tmp .. &amp;&amp;
155ninja</userinput></screen>
156
157<screen revision="systemd"><userinput>
158mkdir build &amp;&amp;
159cd build &amp;&amp;
160
161meson --prefix=/usr \
162 --sysconfdir=/etc \
163 --localstatedir=/var \
164 -Dplymouth=disabled \
165 -Dgdm-xsession=true \
166 -Dpam-mod-dir=/lib/security .. &amp;&amp;
167ninja</userinput></screen>
168
169 <para>
170 This package does not come with a usable test suite.
171 </para>
172
173 <para>
174 Now, as the <systemitem class="username">root</systemitem> user:
175 </para>
176
177<screen role="root" revision="sysv"><userinput>ninja install &amp;&amp;
178rm -rv /tmp/*.{service,target.d}</userinput></screen>
179
180<screen role="root" revision="systemd"><userinput>ninja install</userinput></screen>
181
182 </sect2>
183
184 <sect2 role="commands">
185 <title>Command Explanations</title>
186
187 <para>
188 <option>-Dinitial-vt=7</option>: Use this switch
189 to make <application>GDM</application> start on VT7
190 instead of the first free VT.
191 </para>
192
193 <para>
194 <parameter>-Dplymouth=disabled</parameter>: GDM now explicitly requires
195 plymouth to be installed. Use this switch to disable this dependency.
196 </para>
197
198 <para>
199 <option>-Ddefault-pam-config=lfs</option>: Use this
200 switch if you did not create the
201 <filename>/etc/lfs-release</filename> file or distribution
202 auto detection will fail and you will be unable to use
203 <application>GDM</application>.
204 </para>
205
206 <para>
207 <parameter>-Dgdm-xsession=true</parameter>: This enables the
208 installation of the <application>GDM</application> Xsession file.
209 </para>
210
211 </sect2>
212
213 <sect2 role="configuration">
214 <title>Configuring GDM</title>
215
216 <sect3 id="gdm-config">
217 <title>Config Files</title>
218
219 <para>
220 <filename>/etc/gdm/custom.conf</filename>
221 </para>
222
223 <indexterm zone="gdm gdm-config">
224 <primary sortas="e-etc-gdm-custom.conf">/etc/gdm/custom.conf</primary>
225 </indexterm>
226
227 </sect3>
228
229 <sect3>
230 <title>Configuration Information</title>
231
232 <para>
233 The GDM daemon is configured using the
234 <filename>/etc/gdm/custom.conf</filename> file. Default values
235 are stored in GSettings in the <filename>gdm.schemas</filename>
236 file. It is recommended that end-users modify the
237 <filename>/etc/gdm/custom.conf</filename> file because the schemas
238 file may be overwritten when the user updates their system to have
239 a newer version of <application>GDM</application>.
240 </para>
241
242 </sect3>
243
244 <sect3 id="gdm-init">
245 <title><phrase revision="sysv">Boot Script</phrase>
246 <phrase revision="systemd">Systemd Unit</phrase></title>
247
248 <indexterm zone="gdm gdm-init">
249 <primary sortas="f-gdm">gdm</primary>
250 </indexterm>
251
252 <para revision="sysv">
253 To start <command>gdm</command> automatically when the system is
254 switched to runlevel 5, install the
255 <filename>/etc/rc.d/init.d/xdm</filename> script and the
256 <filename>/etc/sysconfig/xdm</filename> configuration file
257 included in the <xref linkend="bootscripts"/> package
258 and adjust <filename>/etc/inittab</filename> by running
259 as the <systemitem class="username">root</systemitem> user:
260 </para>
261
262<screen role="root" revision="sysv"><userinput>make install-gdm</userinput></screen>
263
264 <para revision="sysv">
265 In order to permanently set the default runlevel to 5, starting the
266 <command>gdm</command> greeter screen automatically, you can modify
267 <filename>/etc/inittab</filename>. As the <systemitem
268 class="username">root</systemitem> user:
269 </para>
270
271<screen role="root" revision="sysv"><userinput>sed /initdefault/s/3/5/ -i /etc/inittab</userinput></screen>
272
273 <para revision="systemd">
274 To start the <command>gdm</command> daemon at boot, enable
275 the previously installed systemd unit by running the following command
276 as the <systemitem class="username">root</systemitem> user:
277 </para>
278
279<screen role="root" revision="systemd"><userinput>systemctl enable gdm</userinput></screen>
280
281<!-- [pierre October 2020] I don't understand why this is here: power
282 management works perfectly well
283 <para revision="sysv">
284 You should also disable default elogind power management:
285 </para>
286
287<screen role="root" revision="sysv"><userinput>cat &gt;&gt; /etc/elogind/logind.conf &lt;&lt; "EOF"
288<literal>AllowSuspend=no
289AllowHibernation=no</literal>
290EOF</userinput></screen>
291-->
292
293 </sect3>
294
295 </sect2>
296
297 <sect2 role="content">
298 <title>Contents</title>
299
300 <segmentedlist>
301 <segtitle>Installed Programs</segtitle>
302 <segtitle>Installed Libraries</segtitle>
303 <segtitle>Installed Directories</segtitle>
304
305 <seglistitem>
306 <seg>
307 gdm, gdmflexiserver, and gdm-screenshot
308 </seg>
309 <seg>
310 libgdm.so and pam_gdm.so (PAM Module)
311 </seg>
312 <seg>
313 /etc/gdm,
314 /usr/include/gdm,
315 /usr/share/gdm,
316 /usr/share/help/*/gdm,
317 /var/cache/gdm,
318 /var/lib/gdm,
319 /var/log/gdm, and
320 /var/run/gdm
321 </seg>
322 </seglistitem>
323 </segmentedlist>
324
325 <variablelist>
326 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
327 <?dbfo list-presentation="list"?>
328 <?dbhtml list-presentation="table"?>
329
330 <varlistentry id="gdm-prog">
331 <term><command>gdm</command></term>
332 <listitem>
333 <para>
334 is a login prompt for <application>GNOME</application>.
335 </para>
336 <indexterm zone="gdm gdm-prog">
337 <primary sortas="b-gdm">gdm</primary>
338 </indexterm>
339 </listitem>
340 </varlistentry>
341
342 <varlistentry id="gdm-screenshot">
343 <term><command>gdm-screenshot</command></term>
344 <listitem>
345 <para>
346 is a screenshot tool for <application>GDM</application>.
347 </para>
348 <indexterm zone="gdm gdm-screenshot">
349 <primary sortas="b-gdm-screenshot">gdm-screenshot</primary>
350 </indexterm>
351 </listitem>
352 </varlistentry>
353
354 </variablelist>
355
356 </sect2>
357
358</sect1>
Note: See TracBrowser for help on using the repository browser.