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