source: gnome/desktop/gdm.xml@ 6265cf16

gnome
Last change on this file since 6265cf16 was 6265cf16, checked in by Krejzi <krejzi@…>, 10 years ago

introduce gnome-desktop section.

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

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