source: gnome-systemd/desktop/gdm.xml@ 97ea810

systemd-11177
Last change on this file since 97ea810 was 97ea810, checked in by Krejzi <krejzi@…>, 10 years ago

Import Christopher's GNOME work into systemd branch.

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

  • Property mode set to 100644
File size: 8.9 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-systemdsystemunitdir=/lib/systemd/system \
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 --with-gnome-settings-daemon-directory=/usr/lib/gnome-settings-daemon \
136 --disable-static &amp;&amp;
137make</userinput></screen>
138
139 <para>
140 If you have installed <xref linkend="check"/> and you wish to run
141 the testsuite, issue: <command>make check</command>.
142 </para>
143
144 <para>
145 Now, as the <systemitem class="username">root</systemitem> user:
146 </para>
147
148<screen role="root"><userinput>make install &amp;&amp;
149chown -R -v gdm:gdm /var/lib/gdm /var/cache/gdm /var/log/gdm</userinput></screen>
150
151 </sect2>
152
153 <sect2 role="commands">
154 <title>Command Explanations</title>
155
156 <para>
157 <parameter>--with-initial-vt=7</parameter>: This switch
158 causes <application>GDM</application> to start on vt7
159 instead of the first free VT.
160 </para>
161
162 <para>
163 <parameter>--with-*-directory=...</parameter>: These switches
164 specify the location of programs that are used at runtime.
165 </para>
166
167 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
168 href="../../xincludes/static-libraries.xml"/>
169
170 <para>
171 <parameter>--with-default-pam-config=lfs</parameter>: Use this
172 switch if you did not create <filename>/etc/lfs-release</filename>
173 or distribution auto detection will fail and you will be unable
174 to use <application>GDM</application>.
175 </para>
176
177 </sect2>
178
179 <sect2 role="configuration">
180 <title>Configuring GDM</title>
181
182 <sect3 id="gdm-config">
183 <title>Config Files</title>
184
185 <para>
186 <filename>/etc/gdm/custom.conf</filename>
187 </para>
188
189 <indexterm zone="gdm gdm-config">
190 <primary sortas="e-etc-gdm-custom.conf">
191 /etc/gdm/custom.conf</primary>
192 </indexterm>
193
194 </sect3>
195
196 <sect3>
197 <title>Configuration Information</title>
198
199 <para>
200 The GDM daemon is configured using the
201 <filename>/etc/gdm/custom.conf</filename> file.
202 Default values are stored in GSettings in the
203 <filename>gdm.schemas</filename> file. It is recommended that end-users
204 modify the <filename>/etc/gdm/custom.conf</filename> file
205 because the schemas file may be overwritten when the user updates their
206 system to have a newer version of GDM.
207 </para>
208
209 <important>
210 <para>
211 If the system-wide <application>D-BUS</application> daemon was
212 running during the installation of <application>gdm</application>,
213 ensure you stop and restart the <application>D-BUS</application>
214 daemon before attempting to start <command>gdm</command>.
215 </para>
216 </important>
217
218 <para>
219 <command>gdm</command> can be tested by executing it as the
220 <systemitem class="username">root</systemitem> user. If you wish to stop
221 it you will need to go to a different tty and then kill it.
222 </para>
223
224 </sect3>
225
226 <sect3 id="gdm-init-systemd">
227 <title>Systemd Unit File</title>
228
229 <para>
230 This package provides a systemd unit file in the source tarball.
231 To enable it as the <systemitem class="username">root</systemitem> user:
232 </para>
233
234 <indexterm zone="gdm gdm-init-systemd">
235 <primary sortas="f-gdm">gdm</primary>
236 </indexterm>
237
238<screen role="root"><userinput>systemctl enable gdm</userinput></screen>
239
240
241 </sect3>
242
243 </sect2>
244
245 <sect2 role="content">
246 <title>Contents</title>
247
248 <segmentedlist>
249 <segtitle>Installed Programs</segtitle>
250 <segtitle>Installed Libraries</segtitle>
251 <segtitle>Installed Directories</segtitle>
252
253 <seglistitem>
254 <seg>
255 gdm and gdm-screenshot
256 </seg>
257 <seg>
258 libgdm.so and libgdmsimplegreeter.so
259 </seg>
260 <seg>
261 /etc/dconf/db/gdm.d,
262 /etc/gdm,
263 /usr/include/gdm,
264 /usr/lib/gdm,
265 /usr/share/gdm,
266 /usr/share/help/*/gdm,
267 /var/cache/gdm,
268 /var/gdm,
269 /var/lib/gdm,
270 /var/log/gdm and
271 /var/run/gdm
272 </seg>
273 </seglistitem>
274 </segmentedlist>
275
276 <variablelist>
277 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
278 <?dbfo list-presentation="list"?>
279 <?dbhtml list-presentation="table"?>
280
281 <varlistentry id="gdm-prog">
282 <term><command>gdm</command></term>
283 <listitem>
284 <para>
285 is the <application>GNOME</application> based login prompt.
286 </para>
287 <indexterm zone="gdm gdm-prog">
288 <primary sortas="b-gdm">gdm</primary>
289 </indexterm>
290 </listitem>
291 </varlistentry>
292
293 <varlistentry id="gdm-screenshot">
294 <term><command>gdm-screenshot</command></term>
295 <listitem>
296 <para>
297 is a <application>GDM</application> screenshot tool.
298 </para>
299 <indexterm zone="gdm gdm-screenshot">
300 <primary sortas="b-gdm-screenshot">gdm-screenshot</primary>
301 </indexterm>
302 </listitem>
303 </varlistentry>
304
305 </variablelist>
306
307 </sect2>
308
309</sect1>
Note: See TracBrowser for help on using the repository browser.