source: gnome/add/gdm.xml@ 6603f8b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 6603f8b was 6603f8b, checked in by Randy McMurchy <randy@…>, 18 years ago

Standardized the Linux-PAM package and entity names

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5319 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 12.3 KB
Line 
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 &amp;&amp;
80useradd -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 &amp;&amp;
90make</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 &amp;&amp;
97chmod -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 &gt; /etc/pam.d/gdm &lt;&lt; "EOF"
157<literal>auth required pam_unix.so
158auth required pam_nologin.so
159account required pam_unix.so
160password required pam_unix.so
161session required pam_unix.so</literal>
162
163EOF
164cat &gt; /etc/pam.d/gdm-autologin &lt;&lt; "EOF"
165<literal>auth required pam_env.so
166auth required pam_nologin.so
167auth required pam_permit.so
168account required pam_unix.so
169password required pam_unix.so
170session required pam_unix.so</literal>
171
172EOF</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 id="gdm-config-dbus">If you have <application>D-BUS</application>
184 installed and you want to start the session
185 <application>D-BUS</application> daemon when you start the GNOME desktop
186 environment using <command>gdm</command>, you'll need to create a new
187 Xsession file. Create the file using the following command as the root
188 user.</para>
189
190<screen role="root"><userinput>cat &gt; $GNOME_PREFIX/share/xsessions/gnome-dbus.desktop &lt;&lt; "EOF"
191<literal>[Desktop Entry]
192Encoding=UTF-8
193Name=GNOME with D-BUS
194Comment=GNOME Desktop with D-BUS support
195Exec=dbus-launch --exit-with-session gnome-session
196TryExec=/usr/bin/dbus-launch
197Icon=
198Type=Application</literal>
199
200EOF</userinput></screen>
201
202 <para>Choose this session using the session selection dialog on the
203 display manager login screen. You also have the opportunity to make this
204 your default session.</para>
205
206 <para><command>gdm</command> can be tested by executing it as the
207 <systemitem class="username">root</systemitem> user. Use the
208 <command>gdm-stop</command> command if you wish to stop the display
209 manager.</para>
210
211 </sect3>
212
213 <sect3 id="gdm-init">
214 <title>Boot Script</title>
215
216 <para>To start a graphical login at boot, install the
217 <filename>/etc/rc.d/init.d/gdm</filename> init script included in the
218 <xref linkend="intro-important-bootscripts"/> package. If your
219 <envar>GNOME_PREFIX</envar> environment variable is anything other than
220 <filename class='directory'>/usr</filename> or
221 <filename class='directory'>/opt/gnome-&gnome-version;</filename>, you
222 will need to modify the <envar>PATH</envar> statement in the script to
223 include the path where you have <application>GNOME</application>
224 installed.</para>
225
226 <indexterm zone="gdm gdm-init">
227 <primary sortas="f-gdm">gdm</primary>
228 </indexterm>
229
230<screen role="root"><userinput>make install-gdm</userinput></screen>
231
232 <para>To autostart with a graphical login, edit
233 <filename>/etc/inittab</filename> so that the line containing:</para>
234
235<screen><literal>id:3:initdefault:</literal></screen>
236
237 <para>is changed to:</para>
238
239<screen><literal>id:5:initdefault:</literal></screen>
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>gdm, gdm-binary, gdmXnest, gdmXnestchooser, gdmchooser,
255 gdmflexiserver, gdmgreeter, gdmlogin, gdmphotosetup, gdmsetup,
256 gdmthemetester, gdm-restart, gdm-safe-restart, gdm-stop,
257 gdmconfig, gdmopen, and gdmtranslate</seg>
258 <seg>None</seg>
259 <seg>/etc/gnome/dm, /etc/gnome/gdm,
260 $GNOME_PREFIX/share/gdm,
261 $GNOME_PREFIX/share/gnome/capplets,
262 $GNOME_PREFIX/share/gnome/help/gdm,
263 $GNOME_PREFIX/share/omf/gdm,
264 $GNOME_PREFIX/share/xsessions,
265 /var/lib/gdm and /var/log/gdm</seg>
266 </seglistitem>
267 </segmentedlist>
268
269 <variablelist>
270 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
271 <?dbfo list-presentation="list"?>
272 <?dbhtml list-presentation="table"?>
273
274 <varlistentry id="gdm-prog">
275 <term><command>gdm</command></term>
276 <listitem>
277 <para>is a wrapper script to execute the
278 <application>GDM</application> binary, the configurable
279 <application>GNOME</application> based login prompt.</para>
280 <indexterm zone="gdm gdm-prog">
281 <primary sortas="b-gdm">gdm</primary>
282 </indexterm>
283 </listitem>
284 </varlistentry>
285
286 <varlistentry id="gdmchooser">
287 <term><command>gdmchooser</command></term>
288 <listitem>
289 <para>is an application for selecting XDMCP enabled hosts on
290 the local network.</para>
291 <indexterm zone="gdm gdmchooser">
292 <primary sortas="b-gdmchooser">gdmchooser</primary>
293 </indexterm>
294 </listitem>
295 </varlistentry>
296
297 <varlistentry id="gdmsetup">
298 <term><command>gdmsetup</command></term>
299 <listitem>
300 <para>is a graphical interface to edit the
301 <filename>gdm.conf</filename> file.</para>
302 <indexterm zone="gdm gdmsetup">
303 <primary sortas="b-gdmsetup">gdmsetup</primary>
304 </indexterm>
305 </listitem>
306 </varlistentry>
307
308 <varlistentry id="gdm-restart">
309 <term><command>gdm-restart</command></term>
310 <listitem>
311 <para>sends the HUP signal to the <application>GDM</application>
312 daemon so that it restarts. It's used after the config file
313 is edited</para>
314 <indexterm zone="gdm gdm-restart">
315 <primary sortas="b-gdm-restart">gdm-restart</primary>
316 </indexterm>
317 </listitem>
318 </varlistentry>
319
320 <varlistentry id="gdm-safe-restart">
321 <term><command>gdm-safe-restart</command></term>
322 <listitem>
323 <para>sends the USR1 signal to the <application>GDM</application>
324 daemon so that it restarts. It's used after the config file
325 is edited.</para>
326 <indexterm zone="gdm gdm-safe-restart">
327 <primary sortas="b-gdm-safe-restart">gdm-safe-restart</primary>
328 </indexterm>
329 </listitem>
330 </varlistentry>
331
332 <varlistentry id="gdmconfig">
333 <term><command>gdmconfig</command></term>
334 <listitem>
335 <para>is an application for managing the configuration of the
336 entire <application>GDM</application> applications suite. It
337 handles look and feel, security, XDMCP, GDMchooser and more.</para>
338 <indexterm zone="gdm gdmconfig">
339 <primary sortas="b-gdmconfig">gdmconfig</primary>
340 </indexterm>
341 </listitem>
342 </varlistentry>
343
344 </variablelist>
345
346 </sect2>
347
348</sect1>
Note: See TracBrowser for help on using the repository browser.