source: gnome/core/gdm.xml@ 8c62c89

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8c62c89 was 8c62c89, checked in by Krejzi <krejzi@…>, 12 years ago

Add new pulse-access group for PulseAudio and make user pulse member of audio group (these are only important for system-wide daemon which upstream discourages) and make gdm member of audio and video groups in order to get gdm with gnome-shell and for system sounds to work there.

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

  • Property mode set to 100644
File size: 10.1 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/3.4/gdm-&gdm-version;.tar.xz">
8 <!ENTITY gdm-download-ftp "&gnome-download-ftp;/gdm/3.4/gdm-&gdm-version;.tar.xz">
9 <!ENTITY gdm-md5sum "fda0470340f9c0bc2f8daccb280af520">
10 <!ENTITY gdm-size "1.6 MB">
11 <!ENTITY gdm-buildsize "50 MB">
12 <!ENTITY gdm-time "0.8 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 &lfs70_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;-vt-allocation-hack-1.patch"/>
80 </para>
81 </listitem>
82 <listitem>
83 <para>
84 Required patch:
85 <ulink url="&patch-root;/gdm-&gdm-version;-blfs-patch-1.patch"/>
86 </para>
87 </listitem>
88 </itemizedlist>
89
90 <bridgehead renderas="sect3">GDM Dependencies</bridgehead>
91
92 <bridgehead renderas="sect4">Required</bridgehead>
93 <para role="required">
94 <xref linkend="accountsservice"/>,
95 <xref linkend="dconf"/>,
96 <xref linkend="gnome-doc-utils"/>,
97 <xref linkend="gtk3"/>,
98 <xref linkend="libcanberra"/>,
99 <xref linkend="linux-pam"/> and
100 <xref linkend="nss"/>
101 </para>
102
103 <bridgehead renderas="sect4">Required (runtime)</bridgehead>
104 <para role="required">
105 <xref linkend="gnome-session"/> and either
106 <xref linkend="gnome-shell"/> or
107 <xref linkend="gnome-panel"/> and
108 <xref linkend="metacity"/> (for the Greeter Window Manager).
109 </para>
110
111 <bridgehead renderas="sect4">Recommended</bridgehead>
112 <para role="recommended">
113 <xref linkend="consolekit"/>
114 (Required for Shutdown/Restart functionality),
115 <xref linkend="gobject-introspection"/>,
116 <xref linkend="libxklavier"/>,
117 <xref linkend="rarian"/> and
118 <xref linkend="upower"/>
119 </para>
120
121 <bridgehead renderas="sect4">Optional</bridgehead>
122 <para role="optional">
123 <xref linkend="check"/> (required to run the testsuite) and
124 <xref linkend="tcpwrappers"/>
125 </para>
126
127 <para condition="html" role="usernotes">User Notes:
128 <ulink url="&blfs-wiki;/gdm"/>
129 </para>
130 </sect2>
131
132 <sect2 role="installation">
133 <title>Installation of GDM</title>
134
135 <para>
136 It is recommended to have a dedicated user and group to take
137 control of the <command>gdm</command> daemon after it is
138 started. Issue the following commands as the
139 <systemitem class="username">root</systemitem> user:
140 </para>
141
142<screen role="root"><userinput>groupadd -g 21 gdm &amp;&amp;
143useradd -c "GDM Daemon Owner" -d /var/lib/gdm -u 21 \
144 -g gdm -s /bin/false gdm &amp;&amp;
145usermod -a -G audio gdm &amp;&amp;
146usermod -a -G video gdm</userinput></screen>
147
148 <para>
149 Install <application>GDM</application> by running the following
150 commands:
151 </para>
152
153<screen><userinput>patch -Np1 -i ../gdm-&gdm-version;-vt-allocation-hack-1.patch &amp;&amp;
154patch -Np1 -i ../gdm-&gdm-version;-blfs-patch-1.patch &amp;&amp;
155./configure --prefix=/usr \
156 --sysconfdir=/etc \
157 --localstatedir=/var \
158 --libexecdir=/usr/lib/gdm \
159 --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \
160 --disable-static &amp;&amp;
161make</userinput></screen>
162
163 <para>
164 If you have installed <xref linkend="check"/> and you wish to run
165 the testsuite, issue: <command>make check</command>.
166 </para>
167
168 <para>
169 Now, as the <systemitem class="username">root</systemitem> user:
170 </para>
171
172<screen role="root"><userinput>make install &amp;&amp;
173chown -R -v gdm:gdm /var/lib/gdm /var/cache/gdm /var/log/gdm
174</userinput></screen>
175
176 </sect2>
177
178 <sect2 role="commands">
179 <title>Command Explanations</title>
180
181 <para>
182 <parameter>--libexecdir=/usr/lib/gdm</parameter>: This
183 parameter is used so that the <application>GDM</application> internal
184 support programs are installed in the preferred location of <filename
185 class="directory">/usr/lib/gdm</filename> instead of <filename
186 class="directory">/usr/libexec</filename>.
187 </para>
188
189 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
190 href="../../xincludes/static-libraries.xml"/>
191
192 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
193 href="../../xincludes/without-scrollkeeper.xml"/>
194
195 </sect2>
196
197 <sect2 role="configuration">
198 <title>Configuring GDM</title>
199
200 <sect3 id="gdm-config">
201 <title>Config Files</title>
202
203 <para><filename>/etc/gdm/custom.conf</filename></para>
204
205 <indexterm zone="gdm gdm-config">
206 <primary sortas="e-etc-gdm-custom.conf">
207 /etc/gdm/custom.conf</primary>
208 </indexterm>
209
210 </sect3>
211
212 <sect3>
213 <title>Configuration Information</title>
214
215 <para>
216 The GDM daemon is configured using the
217 <filename>/etc/gdm/custom.conf</filename> file.
218 Default values are stored in GConf in the
219 <filename>gdm.schemas</filename> file. It is recommended that end-users
220 modify the <filename>/etc/gdm/custom.conf</filename> file
221 because the schemas file may be overwritten when the user updates their
222 system to have a newer version of GDM.
223 </para>
224
225 <important>
226 <para>
227 If the system-wide <application>D-BUS</application> daemon was
228 running during the installation of <application>gdm</application>,
229 ensure you stop and restart the <application>D-BUS</application>
230 daemon before attempting to start <command>gdm</command>.
231 </para>
232 </important>
233
234 <para>
235 <command>gdm</command> can be tested by executing it as the
236 <systemitem class="username">root</systemitem> user. If you wish to stop
237 it you will need to go to a different tty and then kill it.
238 </para>
239
240 </sect3>
241
242 <sect3 id="gdm-init">
243 <title>Boot Script</title>
244
245 <para>
246 To start a graphical login when the system is booted, install the
247 <filename>/etc/rc.d/init.d/gdm</filename> init script included in the
248 <xref linkend="bootscripts"/> package.
249 </para>
250
251 <indexterm zone="gdm gdm-init">
252 <primary sortas="f-gdm">gdm</primary>
253 </indexterm>
254
255<screen role="root"><userinput>make install-gdm</userinput></screen>
256
257 <para>
258 Now edit <filename>/etc/inittab</filename> with the following
259 commands.
260 </para>
261
262<screen role="root"><userinput>sed -i 's/id:3:initdefault:/id:5:initdefault:/' \
263 /etc/inittab</userinput></screen>
264
265 </sect3>
266
267 </sect2>
268
269 <sect2 role="content">
270 <title>Contents</title>
271
272 <segmentedlist>
273 <segtitle>Installed Programs</segtitle>
274 <segtitle>Installed Libraries</segtitle>
275 <segtitle>Installed Directories</segtitle>
276
277 <seglistitem>
278 <seg>
279 gdm, gdmflexiserver and gdm-screenshot
280 </seg>
281 <seg>
282 libgdmgreeter.so and libgdmsimplegreeter.so
283 </seg>
284 <seg>
285 /etc/dconf/db/gdm.d,
286 /etc/gdm,
287 /usr/include/gdm,
288 /usr/lib/gdm,
289 /usr/share/gdm,
290 /usr/share/gnome/help/gdm,
291 /usr/share/omf/gdm and
292 /var/{cache,lib,log,run}/gdm
293 </seg>
294 </seglistitem>
295 </segmentedlist>
296
297 <variablelist>
298 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
299 <?dbfo list-presentation="list"?>
300 <?dbhtml list-presentation="table"?>
301
302 <varlistentry id="gdm-prog">
303 <term><command>gdm</command></term>
304 <listitem>
305 <para>
306 is the <application>GNOME</application> based login prompt.
307 </para>
308 <indexterm zone="gdm gdm-prog">
309 <primary sortas="b-gdm">gdm</primary>
310 </indexterm>
311 </listitem>
312 </varlistentry>
313
314 <varlistentry id="gdmflexiserver">
315 <term><command>gdmflexiserver</command></term>
316 <listitem>
317 <para>
318 is the flexi server mechanism which allows to run
319 <application>GDM sessions</application>
320 on demand in a new virtual console.
321 </para>
322 <indexterm zone="gdm gdmflexiserver">
323 <primary sortas="b-gdmflexiserver">gdmflexiserver</primary>
324 </indexterm>
325 </listitem>
326 </varlistentry>
327
328 <varlistentry id="gdm-screenshot">
329 <term><command>gdm-screenshot</command></term>
330 <listitem>
331 <para>
332 is a screenshot tool.
333 </para>
334 <indexterm zone="gdm gdm-screenshot">
335 <primary sortas="b-gdm-screenshot">gdm-screenshot</primary>
336 </indexterm>
337 </listitem>
338 </varlistentry>
339
340 </variablelist>
341
342 </sect2>
343
344</sect1>
Note: See TracBrowser for help on using the repository browser.