source: gnome/platform/gdm.xml@ 425f19af

elogind
Last change on this file since 425f19af was 425f19af, checked in by DJ Lucas <dj@…>, 5 years ago

Merge to HEAD 21241.

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

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