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.4/gdm-&gdm-version;.tar.xz">
|
---|
8 | <!ENTITY gdm-download-ftp "&gnome-download-ftp;/gdm/3.4/gdm-&gdm-version;.tar.xz">
|
---|
9 | <!ENTITY gdm-md5sum "fda0470340f9c0bc2f8daccb280af520">
|
---|
10 | <!ENTITY gdm-size "1.6 MB">
|
---|
11 | <!ENTITY gdm-buildsize "50 MB">
|
---|
12 | <!ENTITY gdm-time "0.8 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 | &lfs70_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">Additional Downloads</bridgehead>
|
---|
75 | <itemizedlist spacing="compact">
|
---|
76 | <listitem>
|
---|
77 | <para>
|
---|
78 | Required patch:
|
---|
79 | <ulink url="&patch-root;/gdm-&gdm-version;-vt-allocation-hack-1.patch"/>
|
---|
80 | </para>
|
---|
81 | </listitem>
|
---|
82 | <listitem>
|
---|
83 | <para>
|
---|
84 | Required patch:
|
---|
85 | <ulink url="&patch-root;/gdm-&gdm-version;-blfs-patch-1.patch"/>
|
---|
86 | </para>
|
---|
87 | </listitem>
|
---|
88 | </itemizedlist>
|
---|
89 |
|
---|
90 | <bridgehead renderas="sect3">GDM Dependencies</bridgehead>
|
---|
91 |
|
---|
92 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
93 | <para role="required">
|
---|
94 | <xref linkend="accountsservice"/>,
|
---|
95 | <xref linkend="dconf"/>,
|
---|
96 | <xref linkend="gnome-doc-utils"/>,
|
---|
97 | <xref linkend="gtk3"/>,
|
---|
98 | <xref linkend="libcanberra"/>,
|
---|
99 | <xref linkend="linux-pam"/> and
|
---|
100 | <xref linkend="nss"/>
|
---|
101 | </para>
|
---|
102 |
|
---|
103 | <bridgehead renderas="sect4">Required (runtime)</bridgehead>
|
---|
104 | <para role="required">
|
---|
105 | <xref linkend="gnome-session"/> and either
|
---|
106 | <xref linkend="gnome-shell"/> or
|
---|
107 | <xref linkend="gnome-panel"/> and
|
---|
108 | <xref linkend="metacity"/> (for the Greeter Window Manager).
|
---|
109 | </para>
|
---|
110 |
|
---|
111 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
112 | <para role="recommended">
|
---|
113 | <xref linkend="consolekit"/>
|
---|
114 | (Required for Shutdown/Restart functionality),
|
---|
115 | <xref linkend="gobject-introspection"/>,
|
---|
116 | <xref linkend="libxklavier"/>,
|
---|
117 | <xref linkend="rarian"/> and
|
---|
118 | <xref linkend="upower"/>
|
---|
119 | </para>
|
---|
120 |
|
---|
121 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
122 | <para role="optional">
|
---|
123 | <xref linkend="check"/> (required to run the testsuite)
|
---|
124 | </para>
|
---|
125 |
|
---|
126 | <para condition="html" role="usernotes">User Notes:
|
---|
127 | <ulink url="&blfs-wiki;/gdm"/>
|
---|
128 | </para>
|
---|
129 | </sect2>
|
---|
130 |
|
---|
131 | <sect2 role="installation">
|
---|
132 | <title>Installation of GDM</title>
|
---|
133 |
|
---|
134 | <para>
|
---|
135 | It is recommended to have a dedicated user and group to take
|
---|
136 | control of the <command>gdm</command> daemon after it is
|
---|
137 | started. Issue the following commands as the
|
---|
138 | <systemitem class="username">root</systemitem> user:
|
---|
139 | </para>
|
---|
140 |
|
---|
141 | <screen role="root"><userinput>groupadd -g 21 gdm &&
|
---|
142 | useradd -c "GDM Daemon Owner" -d /var/lib/gdm -u 21 \
|
---|
143 | -g gdm -s /bin/false gdm &&
|
---|
144 | usermod -a -G audio gdm &&
|
---|
145 | usermod -a -G video gdm</userinput></screen>
|
---|
146 |
|
---|
147 | <para>
|
---|
148 | Install <application>GDM</application> by running the following
|
---|
149 | commands:
|
---|
150 | </para>
|
---|
151 |
|
---|
152 | <screen><userinput>patch -Np1 -i ../gdm-&gdm-version;-vt-allocation-hack-1.patch &&
|
---|
153 | patch -Np1 -i ../gdm-&gdm-version;-blfs-patch-1.patch &&
|
---|
154 | ./configure --prefix=/usr \
|
---|
155 | --sysconfdir=/etc \
|
---|
156 | --localstatedir=/var \
|
---|
157 | --libexecdir=/usr/lib/gdm \
|
---|
158 | --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \
|
---|
159 | --disable-static &&
|
---|
160 | make</userinput></screen>
|
---|
161 |
|
---|
162 | <para>
|
---|
163 | If you have installed <xref linkend="check"/> and you wish to run
|
---|
164 | the testsuite, issue: <command>make check</command>.
|
---|
165 | </para>
|
---|
166 |
|
---|
167 | <para>
|
---|
168 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
169 | </para>
|
---|
170 |
|
---|
171 | <screen role="root"><userinput>make install &&
|
---|
172 | chown -R -v gdm:gdm /var/lib/gdm /var/cache/gdm /var/log/gdm
|
---|
173 | </userinput></screen>
|
---|
174 |
|
---|
175 | </sect2>
|
---|
176 |
|
---|
177 | <sect2 role="commands">
|
---|
178 | <title>Command Explanations</title>
|
---|
179 |
|
---|
180 | <para>
|
---|
181 | <parameter>--libexecdir=/usr/lib/gdm</parameter>: This
|
---|
182 | parameter is used so that the <application>GDM</application> internal
|
---|
183 | support programs are installed in the preferred location of <filename
|
---|
184 | class="directory">/usr/lib/gdm</filename> instead of <filename
|
---|
185 | class="directory">/usr/libexec</filename>.
|
---|
186 | </para>
|
---|
187 |
|
---|
188 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
189 | href="../../xincludes/static-libraries.xml"/>
|
---|
190 |
|
---|
191 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
192 | href="../../xincludes/without-scrollkeeper.xml"/>
|
---|
193 |
|
---|
194 | </sect2>
|
---|
195 |
|
---|
196 | <sect2 role="configuration">
|
---|
197 | <title>Configuring GDM</title>
|
---|
198 |
|
---|
199 | <sect3 id="gdm-config">
|
---|
200 | <title>Config Files</title>
|
---|
201 |
|
---|
202 | <para><filename>/etc/gdm/custom.conf</filename></para>
|
---|
203 |
|
---|
204 | <indexterm zone="gdm gdm-config">
|
---|
205 | <primary sortas="e-etc-gdm-custom.conf">
|
---|
206 | /etc/gdm/custom.conf</primary>
|
---|
207 | </indexterm>
|
---|
208 |
|
---|
209 | </sect3>
|
---|
210 |
|
---|
211 | <sect3>
|
---|
212 | <title>Configuration Information</title>
|
---|
213 |
|
---|
214 | <para>
|
---|
215 | The GDM daemon is configured using the
|
---|
216 | <filename>/etc/gdm/custom.conf</filename> file.
|
---|
217 | Default values are stored in GConf in the
|
---|
218 | <filename>gdm.schemas</filename> file. It is recommended that end-users
|
---|
219 | modify the <filename>/etc/gdm/custom.conf</filename> file
|
---|
220 | because the schemas file may be overwritten when the user updates their
|
---|
221 | system to have a newer version of GDM.
|
---|
222 | </para>
|
---|
223 |
|
---|
224 | <important>
|
---|
225 | <para>
|
---|
226 | If the system-wide <application>D-BUS</application> daemon was
|
---|
227 | running during the installation of <application>gdm</application>,
|
---|
228 | ensure you stop and restart the <application>D-BUS</application>
|
---|
229 | daemon before attempting to start <command>gdm</command>.
|
---|
230 | </para>
|
---|
231 | </important>
|
---|
232 |
|
---|
233 | <para>
|
---|
234 | <command>gdm</command> can be tested by executing it as the
|
---|
235 | <systemitem class="username">root</systemitem> user. If you wish to stop
|
---|
236 | it you will need to go to a different tty and then kill it.
|
---|
237 | </para>
|
---|
238 |
|
---|
239 | </sect3>
|
---|
240 |
|
---|
241 | <sect3 id="gdm-init">
|
---|
242 | <title>Boot Script</title>
|
---|
243 |
|
---|
244 | <para>
|
---|
245 | To start a graphical login when the system is booted, install the
|
---|
246 | <filename>/etc/rc.d/init.d/gdm</filename> init script included in the
|
---|
247 | <xref linkend="bootscripts"/> package.
|
---|
248 | </para>
|
---|
249 |
|
---|
250 | <indexterm zone="gdm gdm-init">
|
---|
251 | <primary sortas="f-gdm">gdm</primary>
|
---|
252 | </indexterm>
|
---|
253 |
|
---|
254 | <screen role="root"><userinput>make install-gdm</userinput></screen>
|
---|
255 |
|
---|
256 | <para>
|
---|
257 | Now edit <filename>/etc/inittab</filename> with the following
|
---|
258 | commands.
|
---|
259 | </para>
|
---|
260 |
|
---|
261 | <screen role="root"><userinput>sed -i 's/id:3:initdefault:/id:5:initdefault:/' \
|
---|
262 | /etc/inittab</userinput></screen>
|
---|
263 |
|
---|
264 | </sect3>
|
---|
265 |
|
---|
266 | </sect2>
|
---|
267 |
|
---|
268 | <sect2 role="content">
|
---|
269 | <title>Contents</title>
|
---|
270 |
|
---|
271 | <segmentedlist>
|
---|
272 | <segtitle>Installed Programs</segtitle>
|
---|
273 | <segtitle>Installed Libraries</segtitle>
|
---|
274 | <segtitle>Installed Directories</segtitle>
|
---|
275 |
|
---|
276 | <seglistitem>
|
---|
277 | <seg>
|
---|
278 | gdm, gdmflexiserver and gdm-screenshot
|
---|
279 | </seg>
|
---|
280 | <seg>
|
---|
281 | libgdmgreeter.so and libgdmsimplegreeter.so
|
---|
282 | </seg>
|
---|
283 | <seg>
|
---|
284 | /etc/dconf/db/gdm.d,
|
---|
285 | /etc/gdm,
|
---|
286 | /usr/include/gdm,
|
---|
287 | /usr/lib/gdm,
|
---|
288 | /usr/share/gdm,
|
---|
289 | /usr/share/gnome/help/gdm,
|
---|
290 | /usr/share/omf/gdm and
|
---|
291 | /var/{cache,lib,log,run}/gdm
|
---|
292 | </seg>
|
---|
293 | </seglistitem>
|
---|
294 | </segmentedlist>
|
---|
295 |
|
---|
296 | <variablelist>
|
---|
297 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
298 | <?dbfo list-presentation="list"?>
|
---|
299 | <?dbhtml list-presentation="table"?>
|
---|
300 |
|
---|
301 | <varlistentry id="gdm-prog">
|
---|
302 | <term><command>gdm</command></term>
|
---|
303 | <listitem>
|
---|
304 | <para>
|
---|
305 | is the <application>GNOME</application> based login prompt.
|
---|
306 | </para>
|
---|
307 | <indexterm zone="gdm gdm-prog">
|
---|
308 | <primary sortas="b-gdm">gdm</primary>
|
---|
309 | </indexterm>
|
---|
310 | </listitem>
|
---|
311 | </varlistentry>
|
---|
312 |
|
---|
313 | <varlistentry id="gdmflexiserver">
|
---|
314 | <term><command>gdmflexiserver</command></term>
|
---|
315 | <listitem>
|
---|
316 | <para>
|
---|
317 | is the flexi server mechanism which allows to run
|
---|
318 | <application>GDM sessions</application>
|
---|
319 | on demand in a new virtual console.
|
---|
320 | </para>
|
---|
321 | <indexterm zone="gdm gdmflexiserver">
|
---|
322 | <primary sortas="b-gdmflexiserver">gdmflexiserver</primary>
|
---|
323 | </indexterm>
|
---|
324 | </listitem>
|
---|
325 | </varlistentry>
|
---|
326 |
|
---|
327 | <varlistentry id="gdm-screenshot">
|
---|
328 | <term><command>gdm-screenshot</command></term>
|
---|
329 | <listitem>
|
---|
330 | <para>
|
---|
331 | is a screenshot tool.
|
---|
332 | </para>
|
---|
333 | <indexterm zone="gdm gdm-screenshot">
|
---|
334 | <primary sortas="b-gdm-screenshot">gdm-screenshot</primary>
|
---|
335 | </indexterm>
|
---|
336 | </listitem>
|
---|
337 | </varlistentry>
|
---|
338 |
|
---|
339 | </variablelist>
|
---|
340 |
|
---|
341 | </sect2>
|
---|
342 |
|
---|
343 | </sect1>
|
---|