source: archive/gnome/gdm.xml

trunk
Last change on this file was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 9.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.6/gdm-&gdm-version;.tar.xz">
8 <!ENTITY gdm-download-ftp "&gnome-download-ftp;/gdm/3.6/gdm-&gdm-version;.tar.xz">
9 <!ENTITY gdm-md5sum "b1924268d1515b8b947acbbe49d72292">
10 <!ENTITY gdm-size "1.6 MB">
11 <!ENTITY gdm-buildsize "65 MB">
12 <!ENTITY gdm-time "0.5 SBU">
13]>
14
15<sect1 id="gdm" xreflabel="GDM-&gdm-version;">
16 <?dbhtml filename="gdm.html"?>
17
18
19 <title>GDM-&gdm-version;</title>
20
21 <indexterm zone="gdm">
22 <primary sortas="a-GDM">GDM</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to GDM</title>
27
28 <para>
29 <application>GDM</application> is a system service that is
30 responsible for providing graphical logins and managing local
31 and remote displays.
32 </para>
33
34 &lfs72_checked;
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&gdm-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&gdm-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &gdm-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &gdm-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &gdm-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &gdm-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">GDM Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Required</bridgehead>
73 <para role="required">
74 <xref linkend="accountsservice"/>,
75 <xref linkend="dconf"/>,
76 <xref linkend="libcanberra"/>,
77 <xref linkend="linux-pam"/>,
78 <xref linkend="nss"/> and
79 <xref linkend="yelp-xsl"/>
80 </para>
81
82 <bridgehead renderas="sect4">Recommended</bridgehead>
83 <para role="recommended">
84 <xref linkend="gobject-introspection"/>,
85 <xref linkend="iso-codes"/> and
86 <xref linkend="upower"/>
87 </para>
88
89 <bridgehead renderas="sect4">Optional</bridgehead>
90 <para role="optional">
91 <xref linkend="check"/>
92 </para>
93
94 <bridgehead renderas="sect4">Runtime Dependencies</bridgehead>
95 <para role="required">
96 <xref linkend="consolekit"/>,
97 <xref linkend="gnome-session"/> and either
98 <xref linkend="gnome-shell"/> or
99 <xref linkend="metacity"/>
100 </para>
101
102 <para condition="html" role="usernotes">User Notes:
103 <ulink url="&blfs-wiki;/gdm"/>
104 </para>
105 </sect2>
106
107 <sect2 role="installation">
108 <title>Installation of GDM</title>
109
110 <para>
111 It is recommended to have a dedicated user and group to take
112 control of the <command>gdm</command> daemon after it is
113 started. Issue the following commands as the
114 <systemitem class="username">root</systemitem> user:
115 </para>
116
117<screen role="root"><userinput>groupadd -g 21 gdm &amp;&amp;
118useradd -c "GDM Daemon Owner" -d /var/lib/gdm -u 21 \
119 -g gdm -s /bin/false gdm &amp;&amp;
120usermod -a -G audio gdm &amp;&amp;
121usermod -a -G video gdm</userinput></screen>
122
123 <para>
124 Install <application>GDM</application> by running the following
125 commands:
126 </para>
127
128<screen><userinput>./configure --prefix=/usr \
129 --sysconfdir=/etc \
130 --localstatedir=/var \
131 --libexecdir=/usr/lib/gdm \
132 --with-initial-vt=7 \
133 --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \
134 --with-authentication-agent-directory=/usr/lib/polkit-gnome \
135 --with-check-accelerated-directory=/usr/lib/gnome-session \
136 --with-consolekit-directory=/usr/lib/ConsoleKit \
137 --disable-static &amp;&amp;
138make</userinput></screen>
139
140 <para>
141 If you have installed <xref linkend="check"/> and you wish to run
142 the testsuite, issue: <command>make check</command>.
143 </para>
144
145 <para>
146 Now, as the <systemitem class="username">root</systemitem> user:
147 </para>
148
149<screen role="root"><userinput>make install &amp;&amp;
150chown -R -v gdm:gdm /var/lib/gdm /var/cache/gdm /var/log/gdm</userinput></screen>
151
152 </sect2>
153
154 <sect2 role="commands">
155 <title>Command Explanations</title>
156
157 <para>
158 <parameter>--with-initial-vt=7</parameter>: This switch
159 causes <application>GDM</application> to start on vt7
160 instead of the first free VT.
161 </para>
162
163 <para>
164 <parameter>--with-*-directory=...</parameter>: These switches
165 specify the location of programs that are used at runtime.
166 </para>
167
168 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
169 href="../../xincludes/static-libraries.xml"/>
170
171 <para>
172 <parameter>--with-default-pam-config=lfs</parameter>: Use this
173 switch if you did not create <filename>/etc/lfs-release</filename>
174 or distribution auto detection will fail and you will be unable
175 to use <application>GDM</application>.
176 </para>
177
178 </sect2>
179
180 <sect2 role="configuration">
181 <title>Configuring GDM</title>
182
183 <sect3 id="gdm-config">
184 <title>Config Files</title>
185
186 <para>
187 <filename>/etc/gdm/custom.conf</filename>
188 </para>
189
190 <indexterm zone="gdm gdm-config">
191 <primary sortas="e-etc-gdm-custom.conf">
192 /etc/gdm/custom.conf</primary>
193 </indexterm>
194
195 </sect3>
196
197 <sect3>
198 <title>Configuration Information</title>
199
200 <para>
201 The GDM daemon is configured using the
202 <filename>/etc/gdm/custom.conf</filename> file.
203 Default values are stored in GSettings in the
204 <filename>gdm.schemas</filename> file. It is recommended that end-users
205 modify the <filename>/etc/gdm/custom.conf</filename> file
206 because the schemas file may be overwritten when the user updates their
207 system to have a newer version of GDM.
208 </para>
209
210 <important>
211 <para>
212 If the system-wide <application>D-BUS</application> daemon was
213 running during the installation of <application>gdm</application>,
214 ensure you stop and restart the <application>D-BUS</application>
215 daemon before attempting to start <command>gdm</command>.
216 </para>
217 </important>
218
219 <para>
220 <command>gdm</command> can be tested by executing it as the
221 <systemitem class="username">root</systemitem> user. If you wish to stop
222 it you will need to go to a different tty and then kill it.
223 </para>
224
225 </sect3>
226
227 <sect3 id="gdm-init">
228 <title>Boot Script</title>
229
230 <para>
231 To start a graphical login when the system is booted, install the
232 <filename>/etc/rc.d/init.d/gdm</filename> init script included in the
233 <xref linkend="bootscripts"/> package.
234 </para>
235
236 <indexterm zone="gdm gdm-init">
237 <primary sortas="f-gdm">gdm</primary>
238 </indexterm>
239
240<screen role="root"><userinput>make install-gdm</userinput></screen>
241
242 <para>
243 Now edit <filename>/etc/inittab</filename> with the following
244 command.
245 </para>
246
247<screen role="root"><userinput>sed -i 's/id:3:initdefault:/id:5:initdefault:/' \
248 /etc/inittab</userinput></screen>
249
250 </sect3>
251
252 </sect2>
253
254 <sect2 role="content">
255 <title>Contents</title>
256
257 <segmentedlist>
258 <segtitle>Installed Programs</segtitle>
259 <segtitle>Installed Libraries</segtitle>
260 <segtitle>Installed Directories</segtitle>
261
262 <seglistitem>
263 <seg>
264 gdm and gdm-screenshot
265 </seg>
266 <seg>
267 libgdm.so and libgdmsimplegreeter.so
268 </seg>
269 <seg>
270 /etc/dconf/db/gdm.d,
271 /etc/gdm,
272 /usr/include/gdm,
273 /usr/lib/gdm,
274 /usr/share/gdm,
275 /usr/share/help/*/gdm,
276 /var/cache/gdm,
277 /var/gdm,
278 /var/lib/gdm,
279 /var/log/gdm and
280 /var/run/gdm
281 </seg>
282 </seglistitem>
283 </segmentedlist>
284
285 <variablelist>
286 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
287 <?dbfo list-presentation="list"?>
288 <?dbhtml list-presentation="table"?>
289
290 <varlistentry id="gdm-prog">
291 <term><command>gdm</command></term>
292 <listitem>
293 <para>
294 is the <application>GNOME</application> based login prompt.
295 </para>
296 <indexterm zone="gdm gdm-prog">
297 <primary sortas="b-gdm">gdm</primary>
298 </indexterm>
299 </listitem>
300 </varlistentry>
301
302 <varlistentry id="gdm-screenshot">
303 <term><command>gdm-screenshot</command></term>
304 <listitem>
305 <para>
306 is a <application>GDM</application> screenshot tool.
307 </para>
308 <indexterm zone="gdm gdm-screenshot">
309 <primary sortas="b-gdm-screenshot">gdm-screenshot</primary>
310 </indexterm>
311 </listitem>
312 </varlistentry>
313
314 </variablelist>
315
316 </sect2>
317
318</sect1>
Note: See TracBrowser for help on using the repository browser.