source: gnome/platform/gdm.xml@ 1f1fcdb

10.0 10.1 11.0 9.1 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 1f1fcdb was 1f1fcdb, checked in by Douglas R. Reno <renodr@…>, 21 months ago

Update to gnome-control-center-3.34.4
Update to mutter-3.34.4
Update t- gnome-shell-3.34.4
Tag the GNOME Desktop section and Samba

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

  • Property mode set to 100644
File size: 11.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-34;/gdm-&gdm-version;.tar.xz">
8 <!ENTITY gdm-download-ftp "&gnome-download-ftp;/gdm/&gnome-minor-34;/gdm-&gdm-version;.tar.xz">
9 <!ENTITY gdm-md5sum "65d1fd4bb85e8b133d1cbffb80ecf62e">
10 <!ENTITY gdm-size "1.2 MB">
11 <!ENTITY gdm-buildsize "43 MB">
12 <!ENTITY gdm-time "0.2 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 &lfs91_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="keyutils"/>,
93 <xref linkend="libcanberra"/>,
94 <xref linkend="libdaemon"/>, and
95 <xref linkend="linux-pam"/>
96 </para>
97
98 <bridgehead renderas="sect4">Runtime Dependencies</bridgehead>
99 <para role="required">
100 <xref role="runtime" linkend="gnome-session"/>,
101 <xref role="runtime" linkend="gnome-shell"/>, and
102 <phrase revision="sysv"><xref role="runtime" linkend="elogind"/></phrase>
103 <phrase revision="systemd"><xref role="runtime" linkend="systemd"/></phrase>
104 </para>
105
106 <para condition="html" role="usernotes">User Notes:
107 <ulink url="&blfs-wiki;/gdm"/>
108 </para>
109 </sect2>
110
111 <sect2 role="installation">
112 <title>Installation of GDM</title>
113
114 <para>
115 It is recommended to have a dedicated user and group to take
116 control of the <command>gdm</command> daemon after it is
117 started. Issue the following commands as the
118 <systemitem class="username">root</systemitem> user:
119 </para>
120
121<screen role="root"><userinput>groupadd -g 21 gdm &amp;&amp;
122useradd -c "GDM Daemon Owner" -d /var/lib/gdm -u 21 \
123 -g gdm -s /bin/false gdm &amp;&amp;
124passwd -ql gdm</userinput></screen>
125
126<!--
127 <note revision="sysv">
128 <para>
129 The <application>gdm</application> login screen is managed by
130 <application>gnome-shell</application>, which relies on the
131 <command>systemd-localed</command> daemon to get the system
132 settings. Since this daemon is not present on this system, a
133 <command>sed</command> is applied in the <xref
134 linkend="gnome-shell"/> instructions to change this behavior,
135 but then <application>gdm</application> uses the system settings,
136 which default to a US <quote>qwerty</quote> keyboard layout. This may
137 be an inconvience to enter a password when the machine keyboard
138 has a different layout. One possibility is to use the screen-keyboard
139 from the accessibility menu. Another possibility is to change the
140 defaults at compile time, by creating the following file:
141 </para>
142
143<screen><userinput>cat &gt; data/dconf/defaults/01-keyboard &lt;&lt; EOF
144<literal>[org/gnome/desktop/input-sources]
145sources=[('xkb','<replaceable>layout</replaceable>')]</literal>
146EOF</userinput></screen>
147
148 <para>
149 where <replaceable>layout</replaceable> should be replaced with
150 the acronym for your keyboard layout (one of the filenames in
151 <filename class="directory">/usr/share/X11/xkb/symbols</filename>).
152 </para>
153 </note>
154-->
155 <para>
156 Install <application>GDM</application> by running the following
157 commands:
158 </para>
159
160<screen revision="sysv"><userinput>sed 's@systemd@elogind@' -i data/pam-lfs/gdm-launch-environment.pam &amp;&amp;
161
162./configure --prefix=/usr \
163 --sysconfdir=/etc \
164 --localstatedir=/var \
165 --without-plymouth \
166 --disable-static \
167 --enable-gdm-xsession \
168 --with-systemdsystemunitdir=no \
169 --with-pam-mod-dir=/lib/security &amp;&amp;
170make</userinput></screen>
171
172<screen revision="systemd"><userinput>./configure --prefix=/usr \
173 --sysconfdir=/etc \
174 --localstatedir=/var \
175 --without-plymouth \
176 --disable-static \
177 --enable-gdm-xsession \
178 --with-pam-mod-dir=/lib/security &amp;&amp;
179make</userinput></screen>
180
181 <para>
182 This package does not come with a usable test suite.
183 </para>
184
185 <para>
186 Now, as the <systemitem class="username">root</systemitem> user:
187 </para>
188
189<screen role="root" revision="sysv"><userinput>make install</userinput></screen>
190
191<screen role="root" revision="systemd"><userinput>make install &amp;&amp;
192install -v -m644 data/gdm.service /lib/systemd/system/gdm.service</userinput></screen>
193
194 </sect2>
195
196 <sect2 role="commands">
197 <title>Command Explanations</title>
198
199 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
200 href="../../xincludes/static-libraries.xml"/>
201
202 <para>
203 <option>--with-initial-vt=7</option>: Use this switch
204 to make <application>GDM</application> start on VT7
205 instead of the first free VT.
206 </para>
207
208 <para>
209 <parameter>--without-plymouth</parameter>: GDM now explicitly requires
210 plymouth to be installed. Use this switch to disable this dependency.
211 </para>
212
213 <para>
214 <option>--with-default-pam-config=lfs</option>: Use this
215 switch if you did not create the
216 <filename>/etc/lfs-release</filename> file or distribution
217 auto detection will fail and you will be unable to use
218 <application>GDM</application>.
219 </para>
220
221 <para>
222 <parameter>--enable-gdm-xsession</parameter>: This enables the
223 installation of the <application>GDM</application> Xsession file.
224 </para>
225
226 </sect2>
227
228 <sect2 role="configuration">
229 <title>Configuring GDM</title>
230
231 <sect3 id="gdm-config">
232 <title>Config Files</title>
233
234 <para>
235 <filename>/etc/gdm/custom.conf</filename>
236 </para>
237
238 <indexterm zone="gdm gdm-config">
239 <primary sortas="e-etc-gdm-custom.conf">/etc/gdm/custom.conf</primary>
240 </indexterm>
241
242 </sect3>
243
244 <sect3>
245 <title>Configuration Information</title>
246
247 <para>
248 The GDM daemon is configured using the
249 <filename>/etc/gdm/custom.conf</filename> file. Default values
250 are stored in GSettings in the <filename>gdm.schemas</filename>
251 file. It is recommended that end-users modify the
252 <filename>/etc/gdm/custom.conf</filename> file because the schemas
253 file may be overwritten when the user updates their system to have
254 a newer version of <application>GDM</application>.
255 </para>
256
257 </sect3>
258
259 <sect3 id="gdm-init">
260 <title><phrase revision="sysv">Boot Script</phrase>
261 <phrase revision="systemd">Systemd Unit</phrase></title>
262
263 <indexterm zone="gdm gdm-init">
264 <primary sortas="f-gdm">gdm</primary>
265 </indexterm>
266
267 <para revision="sysv">
268 To start the <command>gdm</command> automatically when the system
269 is booted, install the <filename>/etc/rc.d/init.d/gdm</filename>
270 init script included in the <xref linkend="bootscripts"/> package and
271 set the default runlevel to 5 (graphical login) as the
272 <systemitem class="username">root</systemitem> user:
273 </para>
274
275 <para revision="systemd">
276 To start the <command>gdm</command> daemon at boot, enable
277 the previously installed systemd unit by running the following command
278 as the <systemitem class="username">root</systemitem> user:
279 </para>
280
281<screen role="root" revision="sysv"><userinput>make install-gdm</userinput></screen>
282
283 <para revision="sysv">
284 In order to permanently set the default runlevel to 5, starting the
285 <command>gdm</command> greeter screen automatically, you can modify
286 <filename>/etc/inittab</filename>. As the <systemitem
287 class="username">root</systemitem> user:
288 </para>
289
290<screen role="root" revision="sysv"><userinput>sed /initdefault/s/3/5/ -i /etc/inittab</userinput></screen>
291
292 <para revision="sysv">
293 You should also disable default elogind power management:
294 </para>
295
296<screen role="root" revision="sysv"><userinput>cat &gt;&gt; /etc/elogind/logind.conf &lt;&lt; "EOF"
297<literal>AllowSuspend=no
298AllowHibernation=no</literal>
299EOF</userinput></screen>
300
301<screen role="root" revision="systemd"><userinput>systemctl enable gdm</userinput></screen>
302
303 </sect3>
304
305 </sect2>
306
307 <sect2 role="content">
308 <title>Contents</title>
309
310 <segmentedlist>
311 <segtitle>Installed Programs</segtitle>
312 <segtitle>Installed Libraries</segtitle>
313 <segtitle>Installed Directories</segtitle>
314
315 <seglistitem>
316 <seg>
317 gdm, gdmflexiserver, and gdm-screenshot
318 </seg>
319 <seg>
320 libgdm.so and pam_gdm.so (PAM Module)
321 </seg>
322 <seg>
323 /etc/gdm,
324 /usr/include/gdm,
325 /usr/share/gdm,
326 /usr/share/help/*/gdm,
327 /var/cache/gdm,
328 /var/lib/gdm,
329 /var/log/gdm, and
330 /var/run/gdm
331 </seg>
332 </seglistitem>
333 </segmentedlist>
334
335 <variablelist>
336 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
337 <?dbfo list-presentation="list"?>
338 <?dbhtml list-presentation="table"?>
339
340 <varlistentry id="gdm-prog">
341 <term><command>gdm</command></term>
342 <listitem>
343 <para>
344 is a login prompt for <application>GNOME</application>.
345 </para>
346 <indexterm zone="gdm gdm-prog">
347 <primary sortas="b-gdm">gdm</primary>
348 </indexterm>
349 </listitem>
350 </varlistentry>
351
352 <varlistentry id="gdm-screenshot">
353 <term><command>gdm-screenshot</command></term>
354 <listitem>
355 <para>
356 is a screenshot tool for <application>GDM</application>.
357 </para>
358 <indexterm zone="gdm gdm-screenshot">
359 <primary sortas="b-gdm-screenshot">gdm-screenshot</primary>
360 </indexterm>
361 </listitem>
362 </varlistentry>
363
364 </variablelist>
365
366 </sect2>
367
368</sect1>
Note: See TracBrowser for help on using the repository browser.