source: gnome/add/gdm.xml@ d2241d7d

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 d2241d7d was 0a7c3921, checked in by Randy McMurchy <randy@…>, 18 years ago

Added the 'User Notes' wiki link to each package page; changed all instances of .[so,a] to .{so,a} (brackets changed to braces); changed all replaceable tags to use angle brackets instead of square brackets to encapsulate the text - commit #4

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

  • Property mode set to 100644
File size: 12.6 KB
RevLine 
[9d2dc4e2]1<?xml version="1.0" encoding="ISO-8859-1"?>
[ff769b8c]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[9d2dc4e2]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[7a00ed89]7 <!ENTITY gdm-download-http "&gnome-download-http;/gdm/2.8/gdm-&gdm-version;.tar.bz2">
8 <!ENTITY gdm-download-ftp "&gnome-download-ftp;/gdm/2.8/gdm-&gdm-version;.tar.bz2">
9 <!ENTITY gdm-md5sum "566a1e3d656b6b536414f287ead2db7e">
[45698ce]10 <!ENTITY gdm-size "2.7 MB">
[7a00ed89]11 <!ENTITY gdm-buildsize "51.2 MB">
[45698ce]12 <!ENTITY gdm-time "0.7 SBU">
[9d2dc4e2]13]>
14
[91557b0]15<sect1 id="gdm" xreflabel="GDM-&gdm-version;">
[0ed3f7f]16 <?dbhtml filename="gdm.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
[c72d5551]21 <keywordset>
22 <keyword role="package">gdm-&gdm-version;.tar</keyword>
[e7307aa1]23 <keyword role="ftpdir">gdm</keyword>
[c72d5551]24 </keywordset>
[0ed3f7f]25 </sect1info>
26
27 <title>GDM-&gdm-version;</title>
28
29 <indexterm zone="gdm">
30 <primary sortas="a-GDM">GDM</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to GDM</title>
35
36 <para>The <application>GDM</application> package contains
37 <application>GNOME</application>'s Display Manager daemon. This is
38 useful for allowing configurable graphical logins.</para>
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>Download (HTTP): <ulink url="&gdm-download-http;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download (FTP): <ulink url="&gdm-download-ftp;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &gdm-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>Download size: &gdm-size;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated disk space required: &gdm-buildsize;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated build time: &gdm-time;</para>
59 </listitem>
60 </itemizedlist>
61
62 <bridgehead renderas="sect3">GDM Dependencies</bridgehead>
63
64 <bridgehead renderas="sect4">Required</bridgehead>
[c72d5551]65 <para role="required"><xref linkend="libgnomeui"/>,
[7a00ed89]66 <xref linkend="scrollkeeper"/>, and
[0ed3f7f]67 <xref linkend="librsvg"/></para>
68
69 <bridgehead renderas="sect4">Optional</bridgehead>
[c72d5551]70 <para role="optional"><xref linkend="linux-pam"/> and
[45698ce]71 <xref linkend="tcpwrappers"/></para>
[0ed3f7f]72
[0a7c3921]73 <para condition="html" role="usernotes">User Notes:
74 <ulink url="&blfs-wiki;/gdm"/></para>
75
[0ed3f7f]76 </sect2>
77
78 <sect2 role="installation">
79 <title>Installation of GDM</title>
80
[1ab6a6c9]81 <para>It is recommended to have a dedicated user and group to take
[cec675bd]82 control of the <command>gdm-binary</command> daemon after it is
83 started. Issue the following commands as the
[1ab6a6c9]84 <systemitem class="username">root</systemitem> user:</para>
85
[b785ab29]86<screen role='root'><userinput>groupadd -g 21 gdm &amp;&amp;
[45698ce]87useradd -c "GDM Daemon Owner" -d /dev/null \
88 -g gdm -s /bin/bash -u 21 gdm</userinput></screen>
[1ab6a6c9]89
[0ed3f7f]90 <para>Install <application>GDM</application> by running
[1ab6a6c9]91 the following commands as an unprivileged user:</para>
[0ed3f7f]92
[1ab6a6c9]93<screen><userinput>./configure --prefix=`pkg-config --variable=prefix ORBit-2.0` \
[7a00ed89]94 --libexecdir=`pkg-config \
95 --variable=prefix ORBit-2.0`/lib/gdm \
96 --sysconfdir=&gnome-etc-dir; \
97 --localstatedir=/var/lib \
98 --with-pam-prefix=/etc &amp;&amp;
[1ab6a6c9]99make</userinput></screen>
100
101 <para>This package does not come with a test suite.</para>
102
103 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
104
[7a00ed89]105<screen role='root'><userinput>make install</userinput></screen>
[9d2dc4e2]106
[0ed3f7f]107 </sect2>
[9d2dc4e2]108
[0ed3f7f]109 <sect2 role="commands">
110 <title>Command Explanations</title>
[9d2dc4e2]111
[6473e74]112 <para><parameter>--libexecdir=`pkg-config
[8cf3617]113 --variable=prefix ORBit-2.0`/lib/gdm</parameter>: This parameter is
114 used so that the <application>GDM</application> internal support programs
115 are installed in
116 <filename class='directory'>$GNOME_PREFIX/lib/gdm</filename> instead
117 of <filename class='directory'>$GNOME_PREFIX/libexec</filename>.</para>
118
[a18731b]119 <para><parameter>--sysconfdir=&gnome-etc-dir;</parameter>: This command puts
120 configuration files in <filename class="directory">&gnome-etc-dir;</filename>
[0ed3f7f]121 instead of <filename class="directory">$GNOME_PREFIX/etc</filename>.</para>
[9d2dc4e2]122
[0ed3f7f]123 <para><parameter>--localstatedir=/var/lib</parameter>: This command
124 puts files in <filename class="directory">/var/lib</filename> instead of
[cec675bd]125 <filename class="directory">$GNOME_PREFIX/var</filename>. This also has
126 the downside affect of using
127 <filename class='directory'>/var/lib/log/gdm</filename> as the log
128 directory. See the <quote>Configuration Information</quote> section below
[7a00ed89]129 for instructions on relocating the log file directory.</para>
[9d2dc4e2]130
[0ed3f7f]131 <para><parameter>--with-pam-prefix=/etc</parameter>: This command puts
132 <application>PAM</application> configuration files in
133 <filename class="directory">/etc/pam.d</filename> instead of
[7a00ed89]134 <filename class="directory">&gnome-etc-dir;</filename>.</para>
[9d2dc4e2]135
[0ed3f7f]136 </sect2>
[9d2dc4e2]137
[0ed3f7f]138 <sect2 role="configuration">
139 <title>Configuring GDM</title>
[9d2dc4e2]140
[0ed3f7f]141 <sect3 id="gdm-config">
142 <title>Config Files</title>
[9d2dc4e2]143
[a18731b]144 <para><filename>&gnome-etc-dir;/gdm/gdm.conf</filename></para>
[9d2dc4e2]145
[0ed3f7f]146 <indexterm zone="gdm gdm-config">
[a18731b]147 <primary sortas="e-etc-gnome-&gnome-version;&gnome-minor-version;gdm-gdm.conf">
148 &gnome-etc-dir;/gdm/gdm.conf</primary>
[0ed3f7f]149 </indexterm>
[bd0a1b0]150
[0ed3f7f]151 </sect3>
152
153 <sect3>
154 <title>Configuration Information</title>
155
[3102d0f]156 <para>Change the directory containing the <application>GDM</application>
157 log files to the <filename class='directory'>/var/log</filename>
158 hierarchy by creating a directory and modifying the
[a18731b]159 <filename>&gnome-etc-dir;/gdm/gdm.conf</filename> configuration file. Issue
[3102d0f]160 the following commands as the
161 <systemitem class="username">root</systemitem> user:</para>
162
163<screen role="root"><userinput>install -v -m755 -d /var/log/gdm &amp;&amp;
[7a00ed89]164sed -i "s|var/lib/log|var/log|" &gnome-etc-dir;/gdm/gdm.conf &amp;&amp;
165rmdir -v /var/lib/log/gdm &amp;&amp;
166rmdir -v /var/lib/log</userinput></screen>
[1ab6a6c9]167
[0ed3f7f]168 <para>The <application>GDM</application> <application>PAM</application>
[7a00ed89]169 configuration files contain modules not present in a BLFS installation.
170 If you have <application>PAM</application> installed, issue the following
171 commands as the <systemitem class="username">root</systemitem> user to
172 replace those files with files containing correctly specified
173 modules:</para>
[0ed3f7f]174
175<screen role="root"><userinput>cat &gt; /etc/pam.d/gdm &lt;&lt; "EOF"
176<literal>auth required pam_unix.so
[9d2dc4e2]177auth required pam_nologin.so
178account required pam_unix.so
179password required pam_unix.so
[0ed3f7f]180session required pam_unix.so</literal>
[45698ce]181
[0ed3f7f]182EOF
183cat &gt; /etc/pam.d/gdm-autologin &lt;&lt; "EOF"
184<literal>auth required pam_env.so
[9d2dc4e2]185auth required pam_nologin.so
186auth required pam_permit.so
187account required pam_unix.so
188password required pam_unix.so
[0ed3f7f]189session required pam_unix.so</literal>
[45698ce]190
[0ed3f7f]191EOF</userinput></screen>
192
193 <indexterm zone="gdm gdm-config">
194 <primary sortas="e-etc-pam.d-gdm">/etc/pam.d/gdm</primary>
195 </indexterm>
196
197 <indexterm zone="gdm gdm-config">
198 <primary
199 sortas="e-etc-pam.d-gdm-autologin">/etc/pam.d/gdm-autologin</primary>
200 </indexterm>
201
[3565e02]202 <para id="gdm-config-dbus">If you have <application>D-BUS</application>
203 installed and you want to start the session
204 <application>D-BUS</application> daemon when you start the GNOME desktop
205 environment using <command>gdm</command>, you'll need to create a new
206 Xsession file. Create the file using the following command as the root
207 user.</para>
208
209<screen role="root"><userinput>cat &gt; $GNOME_PREFIX/share/xsessions/gnome-dbus.desktop &lt;&lt; "EOF"
210<literal>[Desktop Entry]
211Encoding=UTF-8
212Name=GNOME with D-BUS
213Comment=GNOME Desktop with D-BUS support
214Exec=dbus-launch --exit-with-session gnome-session
215TryExec=/usr/bin/dbus-launch
216Icon=
217Type=Application</literal>
218
[7a00ed89]219EOF
220chmod -v 644 $GNOME_PREFIX/share/xsessions/gnome-dbus.desktop</userinput></screen>
[3565e02]221
222 <para>Choose this session using the session selection dialog on the
223 display manager login screen. You also have the opportunity to make this
224 your default session.</para>
225
[cbf206e]226 <note>
227 <para>You may use the <filename class='extension'>.desktop</filename>
228 file created above as an example to create additional
229 <filename class='extension'>.desktop</filename> files and add any other
230 desired items to the <application>GDM</application> display manager session
231 selection menu.</para>
232 </note>
233
[3565e02]234 <para><command>gdm</command> can be tested by executing it as the
235 <systemitem class="username">root</systemitem> user. Use the
236 <command>gdm-stop</command> command if you wish to stop the display
237 manager.</para>
[0ed3f7f]238
239 </sect3>
240
[1ab6a6c9]241 <sect3 id="gdm-init">
[0ed3f7f]242 <title>Boot Script</title>
243
[7a00ed89]244 <para>To start a graphical login when the system is booted, install the
[0ed3f7f]245 <filename>/etc/rc.d/init.d/gdm</filename> init script included in the
[5254d12]246 <xref linkend="bootscripts"/> package. If your
[94cc990]247 <envar>GNOME_PREFIX</envar> environment variable is anything other than
[7a00ed89]248 <filename class='directory'>/usr</filename> or <filename
249 class='directory'>/opt/gnome-&gnome-version;&gnome-minor-version;</filename>,
250 you will need to modify the <envar>PATH</envar> statement in the script
251 to include the path where you have <application>GNOME</application>
[3565e02]252 installed.</para>
[0ed3f7f]253
254 <indexterm zone="gdm gdm-init">
255 <primary sortas="f-gdm">gdm</primary>
256 </indexterm>
257
258<screen role="root"><userinput>make install-gdm</userinput></screen>
259
260 <para>To autostart with a graphical login, edit
261 <filename>/etc/inittab</filename> so that the line containing:</para>
262
263<screen><literal>id:3:initdefault:</literal></screen>
264
265 <para>is changed to:</para>
266
267<screen><literal>id:5:initdefault:</literal></screen>
268
269 </sect3>
270
271 </sect2>
272
273 <sect2 role="content">
274 <title>Contents</title>
275
276 <segmentedlist>
277 <segtitle>Installed Programs</segtitle>
278 <segtitle>Installed Libraries</segtitle>
279 <segtitle>Installed Directories</segtitle>
280
281 <seglistitem>
[7a00ed89]282 <seg>gdm, gdm-binary, gdm-dmx-reconnect-proxy, gdm-restart,
283 gdm-safe-restart, gdm-stop, gdmXnest, gdmXnestchooser, gdmdynamic,
284 gdmflexiserver, gdmphotosetup, gdmsetup, and gdmthemetester</seg>
[0ed3f7f]285 <seg>None</seg>
[0a7c3921]286 <seg>&gnome-etc-dir;/{,g}dm,
[8cf3617]287 /var/lib/gdm,
288 /var/log/gdm and the following directories in $GNOME_PREFIX/:
[0a7c3921]289 share/{{,gnome/help/ ,omf/}gdm, gnome/capplets, xsessions}</seg>
[0ed3f7f]290 </seglistitem>
291 </segmentedlist>
292
293 <variablelist>
294 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
295 <?dbfo list-presentation="list"?>
296 <?dbhtml list-presentation="table"?>
297
298 <varlistentry id="gdm-prog">
299 <term><command>gdm</command></term>
300 <listitem>
301 <para>is a wrapper script to execute the
302 <application>GDM</application> binary, the configurable
303 <application>GNOME</application> based login prompt.</para>
304 <indexterm zone="gdm gdm-prog">
305 <primary sortas="b-gdm">gdm</primary>
306 </indexterm>
307 </listitem>
308 </varlistentry>
309
310 <varlistentry id="gdm-restart">
311 <term><command>gdm-restart</command></term>
312 <listitem>
313 <para>sends the HUP signal to the <application>GDM</application>
314 daemon so that it restarts. It's used after the config file
315 is edited</para>
316 <indexterm zone="gdm gdm-restart">
317 <primary sortas="b-gdm-restart">gdm-restart</primary>
318 </indexterm>
319 </listitem>
320 </varlistentry>
321
322 <varlistentry id="gdm-safe-restart">
323 <term><command>gdm-safe-restart</command></term>
324 <listitem>
325 <para>sends the USR1 signal to the <application>GDM</application>
326 daemon so that it restarts. It's used after the config file
327 is edited.</para>
328 <indexterm zone="gdm gdm-safe-restart">
329 <primary sortas="b-gdm-safe-restart">gdm-safe-restart</primary>
330 </indexterm>
331 </listitem>
332 </varlistentry>
333
[7a00ed89]334 <varlistentry id="gdmsetup">
335 <term><command>gdmsetup</command></term>
[0ed3f7f]336 <listitem>
[7a00ed89]337 <para>is a graphical interface to edit the
338 <filename>gdm.conf</filename> file.</para>
339 <indexterm zone="gdm gdmsetup">
340 <primary sortas="b-gdmsetup">gdmsetup</primary>
[0ed3f7f]341 </indexterm>
342 </listitem>
343 </varlistentry>
344 </variablelist>
345
346 </sect2>
[91557b0]347
348</sect1>
Note: See TracBrowser for help on using the repository browser.