source: gnome/platform/gdm.xml@ 4b7fe82

gnome
Last change on this file since 4b7fe82 was 4b7fe82, checked in by Christopher Gregory <cjg@…>, 10 years ago

Re-wrote systemd page to blfs style updated gdm dependancies

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