source: gnome/desktop/gdm.xml@ f7d6dcd

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

Added systemd information to gdm page and updated configure switch on gnome-terminal page.

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

  • Property mode set to 100644
File size: 8.8 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 --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-systemd">
226 <title>Systemd Unit File</title>
227
228 <para>
229 This package provides a systemd unit file in the source tarball.
230 To enable it as the <systemitem class="username">root</systemitem> user:
231 </para>
232
233 <indexterm zone="gdm gdm-init-systemd">
234 <primary sortas="f-gdm">gdm</primary>
235 </indexterm>
236
237<screen role="root"><userinput>systemctl enable gdm</userinput></screen>
238
239
240 </sect3>
241
242 </sect2>
243
244 <sect2 role="content">
245 <title>Contents</title>
246
247 <segmentedlist>
248 <segtitle>Installed Programs</segtitle>
249 <segtitle>Installed Libraries</segtitle>
250 <segtitle>Installed Directories</segtitle>
251
252 <seglistitem>
253 <seg>
254 gdm and gdm-screenshot
255 </seg>
256 <seg>
257 libgdm.so and libgdmsimplegreeter.so
258 </seg>
259 <seg>
260 /etc/dconf/db/gdm.d,
261 /etc/gdm,
262 /usr/include/gdm,
263 /usr/lib/gdm,
264 /usr/share/gdm,
265 /usr/share/help/*/gdm,
266 /var/cache/gdm,
267 /var/gdm,
268 /var/lib/gdm,
269 /var/log/gdm and
270 /var/run/gdm
271 </seg>
272 </seglistitem>
273 </segmentedlist>
274
275 <variablelist>
276 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
277 <?dbfo list-presentation="list"?>
278 <?dbhtml list-presentation="table"?>
279
280 <varlistentry id="gdm-prog">
281 <term><command>gdm</command></term>
282 <listitem>
283 <para>
284 is the <application>GNOME</application> based login prompt.
285 </para>
286 <indexterm zone="gdm gdm-prog">
287 <primary sortas="b-gdm">gdm</primary>
288 </indexterm>
289 </listitem>
290 </varlistentry>
291
292 <varlistentry id="gdm-screenshot">
293 <term><command>gdm-screenshot</command></term>
294 <listitem>
295 <para>
296 is a <application>GDM</application> screenshot tool.
297 </para>
298 <indexterm zone="gdm gdm-screenshot">
299 <primary sortas="b-gdm-screenshot">gdm-screenshot</primary>
300 </indexterm>
301 </listitem>
302 </varlistentry>
303
304 </variablelist>
305
306 </sect2>
307
308</sect1>
Note: See TracBrowser for help on using the repository browser.