source: gnome/platform/gdm.xml@ 7a90fe5

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 7a90fe5 was 7a90fe5, checked in by DJ Lucas <dj@…>, 6 years ago

Correct PAM module dir for libpwquality and gdm.

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

  • Property mode set to 100644
File size: 8.2 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-26;/gdm-&gdm-version;.tar.xz">
8 <!ENTITY gdm-download-ftp "&gnome-download-ftp;/gdm/&gnome-minor-26;/gdm-&gdm-version;.tar.xz">
9 <!ENTITY gdm-md5sum "7d210d92bd9e9c7ea27c909a6416aea3">
10 <!ENTITY gdm-size "1.1 MB">
11 <!ENTITY gdm-buildsize "40 MB (with tests)">
12 <!ENTITY gdm-time "0.4 SBU (with tests)">
13]>
14
15<sect1 id="gdm" xreflabel="GDM-&gdm-version;" revision="systemd">
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 &lfs81_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">GDM Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
77 <para role="required">
78 <xref linkend="accountsservice"/>,
79 <xref linkend="gtk3"/>,
80 <xref linkend="iso-codes"/>,
81 <xref linkend="itstool"/>,
82 <xref linkend="libcanberra"/>,
83 <xref linkend="libdaemon"/>, and
84 <xref linkend="linux-pam"/>
85 </para>
86
87 <bridgehead renderas="sect4">Optional</bridgehead>
88 <para role="optional">
89 <xref linkend="check"/>
90 </para>
91
92 <bridgehead renderas="sect4">Runtime Dependencies</bridgehead>
93 <para role="required">
94 <xref role="runtime" linkend="gnome-session"/>,
95 <xref role="runtime" linkend="gnome-shell"/>, and
96 <xref role="runtime" linkend="systemd"/>
97 </para>
98
99 <para condition="html" role="usernotes">User Notes:
100 <ulink url="&blfs-wiki;/gdm"/>
101 </para>
102 </sect2>
103
104 <sect2 role="installation">
105 <title>Installation of GDM</title>
106
107 <para>
108 It is recommended to have a dedicated user and group to take
109 control of the <command>gdm</command> daemon after it is
110 started. Issue the following commands as the
111 <systemitem class="username">root</systemitem> user:
112 </para>
113
114<screen role="root"><userinput>groupadd -g 21 gdm &amp;&amp;
115useradd -c "GDM Daemon Owner" -d /var/lib/gdm -u 21 \
116 -g gdm -s /bin/false gdm &amp;&amp;
117passwd -ql gdm</userinput></screen>
118
119 <para>
120 Install <application>GDM</application> by running the following
121 commands:
122 </para>
123
124<screen><userinput>./configure --prefix=/usr \
125 --sysconfdir=/etc \
126 --localstatedir=/var \
127 --without-plymouth \
128 --disable-static \
129 --enable-gdm-xsession \
130 --with-pam-mod-dir=/lib/security &amp;&amp;
131make</userinput></screen>
132
133 <para>
134 If you have installed <xref linkend="check"/> and you wish to run
135 the testsuite, issue: <command>make check</command>.
136 </para>
137
138 <para>
139 Now, as the <systemitem class="username">root</systemitem> user:
140 </para>
141
142<screen role="root"><userinput>make install &amp;&amp;
143install -v -m644 data/gdm.service /lib/systemd/system/gdm.service</userinput></screen>
144
145 </sect2>
146
147 <sect2 role="commands">
148 <title>Command Explanations</title>
149
150 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
151 href="../../xincludes/static-libraries.xml"/>
152
153 <para>
154 <option>--with-initial-vt=7</option>: Use this switch
155 to make <application>GDM</application> start on VT7
156 instead of the first free VT.
157 </para>
158
159 <para>
160 <parameter>--without-plymouth</parameter>: GDM now explicitly requires
161 plymouth to be installed. Use this switch to disable this dependency.
162 </para>
163
164 <para>
165 <option>--with-default-pam-config=lfs</option>: Use this
166 switch if you did not create the
167 <filename>/etc/lfs-release</filename> file or distribution
168 auto detection will fail and you will be unable to use
169 <application>GDM</application>.
170 </para>
171
172 <para>
173 <parameter>--enable-gdm-xsession</parameter>: This enables the
174 installation of the <application>GDM</application> Xsession file.
175 </para>
176
177 </sect2>
178
179 <sect2 role="configuration">
180 <title>Configuring GDM</title>
181
182 <sect3 id="gdm-config">
183 <title>Config Files</title>
184
185 <para>
186 <filename>/etc/gdm/custom.conf</filename>
187 </para>
188
189 <indexterm zone="gdm gdm-config">
190 <primary sortas="e-etc-gdm-custom.conf">/etc/gdm/custom.conf</primary>
191 </indexterm>
192
193 </sect3>
194
195 <sect3>
196 <title>Configuration Information</title>
197
198 <para>
199 The GDM daemon is configured using the
200 <filename>/etc/gdm/custom.conf</filename> file. Default values
201 are stored in GSettings in the <filename>gdm.schemas</filename>
202 file. It is recommended that end-users modify the
203 <filename>/etc/gdm/custom.conf</filename> file because the schemas
204 file may be overwritten when the user updates their system to have
205 a newer version of <application>GDM</application>.
206 </para>
207
208 </sect3>
209
210 <sect3 id="gdm-init">
211 <title>Systemd Units</title>
212
213 <para>
214 To start the <command>gdm</command> daemon at boot, enable
215 the previously installed systemd unit by running the following command
216 as the <systemitem class="username">root</systemitem> user:
217 </para>
218
219 <indexterm zone="gdm gdm-init">
220 <primary sortas="f-gdm">gdm</primary>
221 </indexterm>
222
223<screen role="root"><userinput>systemctl enable gdm</userinput></screen>
224
225 </sect3>
226
227 </sect2>
228
229 <sect2 role="content">
230 <title>Contents</title>
231
232 <segmentedlist>
233 <segtitle>Installed Programs</segtitle>
234 <segtitle>Installed Libraries</segtitle>
235 <segtitle>Installed Directories</segtitle>
236
237 <seglistitem>
238 <seg>
239 gdm, gdmflexiserver, and gdm-screenshot
240 </seg>
241 <seg>
242 libgdm.so and pam_gdm.so (PAM Module)
243 </seg>
244 <seg>
245 /etc/gdm,
246 /usr/include/gdm,
247 /usr/share/gdm,
248 /usr/share/help/*/gdm,
249 /var/cache/gdm,
250 /var/lib/gdm,
251 /var/log/gdm, and
252 /var/run/gdm
253 </seg>
254 </seglistitem>
255 </segmentedlist>
256
257 <variablelist>
258 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
259 <?dbfo list-presentation="list"?>
260 <?dbhtml list-presentation="table"?>
261
262 <varlistentry id="gdm-prog">
263 <term><command>gdm</command></term>
264 <listitem>
265 <para>
266 is a login prompt for <application>GNOME</application>.
267 </para>
268 <indexterm zone="gdm gdm-prog">
269 <primary sortas="b-gdm">gdm</primary>
270 </indexterm>
271 </listitem>
272 </varlistentry>
273
274 <varlistentry id="gdm-screenshot">
275 <term><command>gdm-screenshot</command></term>
276 <listitem>
277 <para>
278 is a screenshot tool for <application>GDM</application>.
279 </para>
280 <indexterm zone="gdm gdm-screenshot">
281 <primary sortas="b-gdm-screenshot">gdm-screenshot</primary>
282 </indexterm>
283 </listitem>
284 </varlistentry>
285
286 </variablelist>
287
288 </sect2>
289
290</sect1>
Note: See TracBrowser for help on using the repository browser.