1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY gdm-download-http "http://ftp.gnome.org/pub/GNOME/sources/gdm/2.8/gdm-&gdm-version;.tar.bz2">
|
---|
8 | <!ENTITY gdm-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/gdm/2.8/gdm-&gdm-version;.tar.bz2">
|
---|
9 | <!ENTITY gdm-md5sum "2944ba9c2a2bf7032ac81dc24eecf32d">
|
---|
10 | <!ENTITY gdm-size "2.7 MB">
|
---|
11 | <!ENTITY gdm-buildsize "51.7 MB">
|
---|
12 | <!ENTITY gdm-time "0.7 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>The <application>GDM</application> package contains
|
---|
33 | <application>GNOME</application>'s Display Manager daemon. This is
|
---|
34 | useful for allowing configurable graphical logins.</para>
|
---|
35 |
|
---|
36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
37 | <itemizedlist spacing="compact">
|
---|
38 | <listitem>
|
---|
39 | <para>Download (HTTP): <ulink url="&gdm-download-http;"/></para>
|
---|
40 | </listitem>
|
---|
41 | <listitem>
|
---|
42 | <para>Download (FTP): <ulink url="&gdm-download-ftp;"/></para>
|
---|
43 | </listitem>
|
---|
44 | <listitem>
|
---|
45 | <para>Download MD5 sum: &gdm-md5sum;</para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>Download size: &gdm-size;</para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>Estimated disk space required: &gdm-buildsize;</para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>Estimated build time: &gdm-time;</para>
|
---|
55 | </listitem>
|
---|
56 | </itemizedlist>
|
---|
57 |
|
---|
58 | <bridgehead renderas="sect3">GDM Dependencies</bridgehead>
|
---|
59 |
|
---|
60 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
61 | <para><xref linkend="libgnomeui"/>,
|
---|
62 | <xref linkend="scrollkeeper"/> and
|
---|
63 | <xref linkend="librsvg"/></para>
|
---|
64 |
|
---|
65 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
66 | <para><xref linkend="Linux_PAM"/> and
|
---|
67 | <xref linkend="tcpwrappers"/></para>
|
---|
68 |
|
---|
69 | </sect2>
|
---|
70 |
|
---|
71 | <sect2 role="installation">
|
---|
72 | <title>Installation of GDM</title>
|
---|
73 |
|
---|
74 | <para>It is recommended to have a dedicated user and group to take
|
---|
75 | control of the <command>gdm-binary</command> daemon after it is
|
---|
76 | started. Issue the following commands as the
|
---|
77 | <systemitem class="username">root</systemitem> user:</para>
|
---|
78 |
|
---|
79 | <screen role='root'><userinput>groupadd -g 21 gdm &&
|
---|
80 | useradd -c "GDM Daemon Owner" -d /dev/null \
|
---|
81 | -g gdm -s /bin/bash -u 21 gdm</userinput></screen>
|
---|
82 |
|
---|
83 | <para>Install <application>GDM</application> by running
|
---|
84 | the following commands as an unprivileged user:</para>
|
---|
85 |
|
---|
86 | <screen><userinput>./configure --prefix=`pkg-config --variable=prefix ORBit-2.0` \
|
---|
87 | --libexecdir=`pkg-config --variable=prefix ORBit-2.0`/sbin \
|
---|
88 | --sysconfdir=/etc/gnome --localstatedir=/var/lib \
|
---|
89 | --with-pam-prefix=/etc &&
|
---|
90 | make</userinput></screen>
|
---|
91 |
|
---|
92 | <para>This package does not come with a test suite.</para>
|
---|
93 |
|
---|
94 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
95 |
|
---|
96 | <screen role='root'><userinput>make install &&
|
---|
97 | chmod -v 644 `pkg-config --variable=prefix ORBit-2.0`\
|
---|
98 | /share/gdm/BuiltInSessions/default.desktop \
|
---|
99 | `pkg-config --variable=prefix ORBit-2.0`\
|
---|
100 | /share/xsessions/gnome.desktop</userinput></screen>
|
---|
101 |
|
---|
102 | </sect2>
|
---|
103 |
|
---|
104 | <sect2 role="commands">
|
---|
105 | <title>Command Explanations</title>
|
---|
106 |
|
---|
107 | <para><parameter>--sysconfdir=/etc/gnome</parameter>: This command puts
|
---|
108 | configuration files in <filename class="directory">/etc/gnome</filename>
|
---|
109 | instead of <filename class="directory">$GNOME_PREFIX/etc</filename>.</para>
|
---|
110 |
|
---|
111 | <para><parameter>--localstatedir=/var/lib</parameter>: This command
|
---|
112 | puts files in <filename class="directory">/var/lib</filename> instead of
|
---|
113 | <filename class="directory">$GNOME_PREFIX/var</filename>. This also has
|
---|
114 | the downside affect of using
|
---|
115 | <filename class='directory'>/var/lib/log/gdm</filename> as the log
|
---|
116 | directory. See the <quote>Configuration Information</quote> section below
|
---|
117 | for information how to relocate the log file directory.</para>
|
---|
118 |
|
---|
119 | <para><parameter>--with-pam-prefix=/etc</parameter>: This command puts
|
---|
120 | <application>PAM</application> configuration files in
|
---|
121 | <filename class="directory">/etc/pam.d</filename> instead of
|
---|
122 | <filename class="directory">/etc/gnome</filename>.</para>
|
---|
123 |
|
---|
124 | </sect2>
|
---|
125 |
|
---|
126 | <sect2 role="configuration">
|
---|
127 | <title>Configuring GDM</title>
|
---|
128 |
|
---|
129 | <sect3 id="gdm-config">
|
---|
130 | <title>Config Files</title>
|
---|
131 |
|
---|
132 | <para><filename>/etc/gnome/gdm/gdm.conf</filename></para>
|
---|
133 |
|
---|
134 | <indexterm zone="gdm gdm-config">
|
---|
135 | <primary sortas="e-etc-gnome-gdm-gdm.conf">/etc/gnome/gdm/gdm.conf</primary>
|
---|
136 | </indexterm>
|
---|
137 |
|
---|
138 | </sect3>
|
---|
139 |
|
---|
140 | <sect3>
|
---|
141 | <title>Configuration Information</title>
|
---|
142 |
|
---|
143 | <para>If desired, change the directory containing the
|
---|
144 | <application>GDM</application> log files to the
|
---|
145 | <filename class='directory'>/var/log</filename> hierarchy by modifying
|
---|
146 | the <filename>/etc/gnome/gdm/gdm.conf</filename> configuration file as
|
---|
147 | the <systemitem class="username">root</systemitem> user:</para>
|
---|
148 |
|
---|
149 | <screen role="root"><userinput>sed -i "s|var/lib/log|var/log|" /etc/gnome/gdm/gdm.conf</userinput></screen>
|
---|
150 |
|
---|
151 | <para>The <application>GDM</application> <application>PAM</application>
|
---|
152 | config files contain modules not present in a BLFS installation. The
|
---|
153 | following commands will replace those files (issue as the
|
---|
154 | <systemitem class="username">root</systemitem> user):</para>
|
---|
155 |
|
---|
156 | <screen role="root"><userinput>cat > /etc/pam.d/gdm << "EOF"
|
---|
157 | <literal>auth required pam_unix.so
|
---|
158 | auth required pam_nologin.so
|
---|
159 | account required pam_unix.so
|
---|
160 | password required pam_unix.so
|
---|
161 | session required pam_unix.so</literal>
|
---|
162 |
|
---|
163 | EOF
|
---|
164 | cat > /etc/pam.d/gdm-autologin << "EOF"
|
---|
165 | <literal>auth required pam_env.so
|
---|
166 | auth required pam_nologin.so
|
---|
167 | auth required pam_permit.so
|
---|
168 | account required pam_unix.so
|
---|
169 | password required pam_unix.so
|
---|
170 | session required pam_unix.so</literal>
|
---|
171 |
|
---|
172 | EOF</userinput></screen>
|
---|
173 |
|
---|
174 | <indexterm zone="gdm gdm-config">
|
---|
175 | <primary sortas="e-etc-pam.d-gdm">/etc/pam.d/gdm</primary>
|
---|
176 | </indexterm>
|
---|
177 |
|
---|
178 | <indexterm zone="gdm gdm-config">
|
---|
179 | <primary
|
---|
180 | sortas="e-etc-pam.d-gdm-autologin">/etc/pam.d/gdm-autologin</primary>
|
---|
181 | </indexterm>
|
---|
182 |
|
---|
183 | <para><command>gdm</command> can be tested by executing it from a
|
---|
184 | <systemitem class="username">root</systemitem> console.</para>
|
---|
185 |
|
---|
186 | </sect3>
|
---|
187 |
|
---|
188 | <sect3 id="gdm-init">
|
---|
189 | <title>Boot Script</title>
|
---|
190 |
|
---|
191 | <para>To start a graphical login at boot, install the
|
---|
192 | <filename>/etc/rc.d/init.d/gdm</filename> init script included in the
|
---|
193 | <xref linkend="intro-important-bootscripts"/> package. If your
|
---|
194 | <envar>GNOME_PREFIX</envar> environment variable is anything other than
|
---|
195 | <filename class='directory'>/usr</filename> or
|
---|
196 | <filename class='directory'>/opt/gnome-2.10</filename>, you will need to
|
---|
197 | modify the <envar>PATH</envar> statement in the script to include the
|
---|
198 | path where you have <application>GNOME</application> installed.</para>
|
---|
199 |
|
---|
200 | <indexterm zone="gdm gdm-init">
|
---|
201 | <primary sortas="f-gdm">gdm</primary>
|
---|
202 | </indexterm>
|
---|
203 |
|
---|
204 | <screen role="root"><userinput>make install-gdm</userinput></screen>
|
---|
205 |
|
---|
206 | <para>To autostart with a graphical login, edit
|
---|
207 | <filename>/etc/inittab</filename> so that the line containing:</para>
|
---|
208 |
|
---|
209 | <screen><literal>id:3:initdefault:</literal></screen>
|
---|
210 |
|
---|
211 | <para>is changed to:</para>
|
---|
212 |
|
---|
213 | <screen><literal>id:5:initdefault:</literal></screen>
|
---|
214 |
|
---|
215 | </sect3>
|
---|
216 |
|
---|
217 | </sect2>
|
---|
218 |
|
---|
219 | <sect2 role="content">
|
---|
220 | <title>Contents</title>
|
---|
221 |
|
---|
222 | <segmentedlist>
|
---|
223 | <segtitle>Installed Programs</segtitle>
|
---|
224 | <segtitle>Installed Libraries</segtitle>
|
---|
225 | <segtitle>Installed Directories</segtitle>
|
---|
226 |
|
---|
227 | <seglistitem>
|
---|
228 | <seg>gdm, gdm-binary, gdmXnest, gdmXnestchooser, gdmchooser,
|
---|
229 | gdmflexiserver, gdmgreeter, gdmlogin, gdmphotosetup, gdmsetup,
|
---|
230 | gdmthemetester, gdm-restart, gdm-safe-restart, gdm-stop,
|
---|
231 | gdmconfig, gdmopen, and gdmtranslate</seg>
|
---|
232 | <seg>None</seg>
|
---|
233 | <seg>/etc/gnome/dm, /etc/gnome/gdm,
|
---|
234 | $GNOME_PREFIX/share/gdm,
|
---|
235 | $GNOME_PREFIX/share/gnome/capplets,
|
---|
236 | $GNOME_PREFIX/share/gnome/help/gdm,
|
---|
237 | $GNOME_PREFIX/share/omf/gdm,
|
---|
238 | $GNOME_PREFIX/share/xsessions,
|
---|
239 | /var/lib/gdm and /var/log/gdm</seg>
|
---|
240 | </seglistitem>
|
---|
241 | </segmentedlist>
|
---|
242 |
|
---|
243 | <variablelist>
|
---|
244 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
245 | <?dbfo list-presentation="list"?>
|
---|
246 | <?dbhtml list-presentation="table"?>
|
---|
247 |
|
---|
248 | <varlistentry id="gdm-prog">
|
---|
249 | <term><command>gdm</command></term>
|
---|
250 | <listitem>
|
---|
251 | <para>is a wrapper script to execute the
|
---|
252 | <application>GDM</application> binary, the configurable
|
---|
253 | <application>GNOME</application> based login prompt.</para>
|
---|
254 | <indexterm zone="gdm gdm-prog">
|
---|
255 | <primary sortas="b-gdm">gdm</primary>
|
---|
256 | </indexterm>
|
---|
257 | </listitem>
|
---|
258 | </varlistentry>
|
---|
259 |
|
---|
260 | <varlistentry id="gdmchooser">
|
---|
261 | <term><command>gdmchooser</command></term>
|
---|
262 | <listitem>
|
---|
263 | <para>is an application for selecting XDMCP enabled hosts on
|
---|
264 | the local network.</para>
|
---|
265 | <indexterm zone="gdm gdmchooser">
|
---|
266 | <primary sortas="b-gdmchooser">gdmchooser</primary>
|
---|
267 | </indexterm>
|
---|
268 | </listitem>
|
---|
269 | </varlistentry>
|
---|
270 |
|
---|
271 | <varlistentry id="gdmsetup">
|
---|
272 | <term><command>gdmsetup</command></term>
|
---|
273 | <listitem>
|
---|
274 | <para>is a graphical interface to edit the
|
---|
275 | <filename>gdm.conf</filename> file.</para>
|
---|
276 | <indexterm zone="gdm gdmsetup">
|
---|
277 | <primary sortas="b-gdmsetup">gdmsetup</primary>
|
---|
278 | </indexterm>
|
---|
279 | </listitem>
|
---|
280 | </varlistentry>
|
---|
281 |
|
---|
282 | <varlistentry id="gdm-restart">
|
---|
283 | <term><command>gdm-restart</command></term>
|
---|
284 | <listitem>
|
---|
285 | <para>sends the HUP signal to the <application>GDM</application>
|
---|
286 | daemon so that it restarts. It's used after the config file
|
---|
287 | is edited</para>
|
---|
288 | <indexterm zone="gdm gdm-restart">
|
---|
289 | <primary sortas="b-gdm-restart">gdm-restart</primary>
|
---|
290 | </indexterm>
|
---|
291 | </listitem>
|
---|
292 | </varlistentry>
|
---|
293 |
|
---|
294 | <varlistentry id="gdm-safe-restart">
|
---|
295 | <term><command>gdm-safe-restart</command></term>
|
---|
296 | <listitem>
|
---|
297 | <para>sends the USR1 signal to the <application>GDM</application>
|
---|
298 | daemon so that it restarts. It's used after the config file
|
---|
299 | is edited.</para>
|
---|
300 | <indexterm zone="gdm gdm-safe-restart">
|
---|
301 | <primary sortas="b-gdm-safe-restart">gdm-safe-restart</primary>
|
---|
302 | </indexterm>
|
---|
303 | </listitem>
|
---|
304 | </varlistentry>
|
---|
305 |
|
---|
306 | <varlistentry id="gdmconfig">
|
---|
307 | <term><command>gdmconfig</command></term>
|
---|
308 | <listitem>
|
---|
309 | <para>is an application for managing the configuration of the
|
---|
310 | entire <application>GDM</application> applications suite. It
|
---|
311 | handles look and feel, security, XDMCP, GDMchooser and more.</para>
|
---|
312 | <indexterm zone="gdm gdmconfig">
|
---|
313 | <primary sortas="b-gdmconfig">gdmconfig</primary>
|
---|
314 | </indexterm>
|
---|
315 | </listitem>
|
---|
316 | </varlistentry>
|
---|
317 |
|
---|
318 | </variablelist>
|
---|
319 |
|
---|
320 | </sect2>
|
---|
321 |
|
---|
322 | </sect1>
|
---|