source: gnome/platform/gdm.xml@ 853ae3e5

elogind
Last change on this file since 853ae3e5 was 2535d7fd, checked in by DJ Lucas <dj@…>, 5 years ago

Merge to HEAD 21327.

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

  • Property mode set to 100644
File size: 9.6 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 "b60868258eab8c01badcc9c680234e8e">
10 <!ENTITY gdm-size "1.2 MB">
11 <!ENTITY gdm-buildsize "44 MB">
12 <!ENTITY gdm-time "0.4 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>./configure --prefix=/usr \
149 --sysconfdir=/etc \
150 --localstatedir=/var \
151 --without-plymouth \
152 --disable-static \
153 --enable-gdm-xsession \
154 --with-pam-mod-dir=/lib/security &amp;&amp;
155make</userinput></screen>
156
157 <para>
158 This package does not come with a usable test suite.
159 </para>
160
161 <para>
162 Now, as the <systemitem class="username">root</systemitem> user:
163 </para>
164
165<screen role="root"><userinput>make install &amp;&amp;
166install -v -m644 data/gdm.service /lib/systemd/system/gdm.service</userinput></screen>
167
168 </sect2>
169
170 <sect2 role="commands">
171 <title>Command Explanations</title>
172
173 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
174 href="../../xincludes/static-libraries.xml"/>
175
176 <para>
177 <option>--with-initial-vt=7</option>: Use this switch
178 to make <application>GDM</application> start on VT7
179 instead of the first free VT.
180 </para>
181
182 <para>
183 <parameter>--without-plymouth</parameter>: GDM now explicitly requires
184 plymouth to be installed. Use this switch to disable this dependency.
185 </para>
186
187 <para>
188 <option>--with-default-pam-config=lfs</option>: Use this
189 switch if you did not create the
190 <filename>/etc/lfs-release</filename> file or distribution
191 auto detection will fail and you will be unable to use
192 <application>GDM</application>.
193 </para>
194
195 <para>
196 <parameter>--enable-gdm-xsession</parameter>: This enables the
197 installation of the <application>GDM</application> Xsession file.
198 </para>
199
200 </sect2>
201
202 <sect2 role="configuration">
203 <title>Configuring GDM</title>
204
205 <sect3 id="gdm-config">
206 <title>Config Files</title>
207
208 <para>
209 <filename>/etc/gdm/custom.conf</filename>
210 </para>
211
212 <indexterm zone="gdm gdm-config">
213 <primary sortas="e-etc-gdm-custom.conf">/etc/gdm/custom.conf</primary>
214 </indexterm>
215
216 </sect3>
217
218 <sect3>
219 <title>Configuration Information</title>
220
221 <para>
222 The GDM daemon is configured using the
223 <filename>/etc/gdm/custom.conf</filename> file. Default values
224 are stored in GSettings in the <filename>gdm.schemas</filename>
225 file. It is recommended that end-users modify the
226 <filename>/etc/gdm/custom.conf</filename> file because the schemas
227 file may be overwritten when the user updates their system to have
228 a newer version of <application>GDM</application>.
229 </para>
230
231 </sect3>
232
233 <sect3 id="gdm-init">
234 <title><phrase revision="sysv">Boot Script</phrase>
235 <phrase revision="systemd">Systemd Unit</phrase></title>
236
237 <para revision="sysv">
238 To start the <command>gdm</command> automatically when the system
239 is booted, install the <filename>/etc/rc.d/init.d/httpd</filename>
240 init script included in the <xref linkend="bootscripts"/> package and
241 set the default runlevel to 5 (graphical login) as the
242 <systemitem class="username">root</systemitem> user:
243 </para>
244
245 <para revision="systemd">
246 To start the <command>gdm</command> daemon at boot, enable
247 the previously installed systemd unit by running the following command
248 as the <systemitem class="username">root</systemitem> user:
249 </para>
250
251 <indexterm zone="gdm gdm-init">
252 <primary sortas="f-gdm">gdm</primary>
253 </indexterm>
254
255<screen role="root" revision="sysv"><userinput>make install-gdm &amp;&amp;
256sed /initdefault/s/3/5/ -i /etc/inittab</userinput></screen>
257
258<screen role="root" revision="systemd"><userinput>systemctl enable gdm</userinput></screen>
259
260 </sect3>
261
262 </sect2>
263
264 <sect2 role="content">
265 <title>Contents</title>
266
267 <segmentedlist>
268 <segtitle>Installed Programs</segtitle>
269 <segtitle>Installed Libraries</segtitle>
270 <segtitle>Installed Directories</segtitle>
271
272 <seglistitem>
273 <seg>
274 gdm, gdmflexiserver, and gdm-screenshot
275 </seg>
276 <seg>
277 libgdm.so and pam_gdm.so (PAM Module)
278 </seg>
279 <seg>
280 /etc/gdm,
281 /usr/include/gdm,
282 /usr/share/gdm,
283 /usr/share/help/*/gdm,
284 /var/cache/gdm,
285 /var/lib/gdm,
286 /var/log/gdm, and
287 /var/run/gdm
288 </seg>
289 </seglistitem>
290 </segmentedlist>
291
292 <variablelist>
293 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
294 <?dbfo list-presentation="list"?>
295 <?dbhtml list-presentation="table"?>
296
297 <varlistentry id="gdm-prog">
298 <term><command>gdm</command></term>
299 <listitem>
300 <para>
301 is a login prompt for <application>GNOME</application>.
302 </para>
303 <indexterm zone="gdm gdm-prog">
304 <primary sortas="b-gdm">gdm</primary>
305 </indexterm>
306 </listitem>
307 </varlistentry>
308
309 <varlistentry id="gdm-screenshot">
310 <term><command>gdm-screenshot</command></term>
311 <listitem>
312 <para>
313 is a screenshot tool for <application>GDM</application>.
314 </para>
315 <indexterm zone="gdm gdm-screenshot">
316 <primary sortas="b-gdm-screenshot">gdm-screenshot</primary>
317 </indexterm>
318 </listitem>
319 </varlistentry>
320
321 </variablelist>
322
323 </sect2>
324
325</sect1>
Note: See TracBrowser for help on using the repository browser.