source: gnome/core/gdm.xml@ 8c62c89

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8c62c89 was 8c62c89, checked in by Krejzi <krejzi@…>, 12 years ago

Add new pulse-access group for PulseAudio and make user pulse member of audio group (these are only important for system-wide daemon which upstream discourages) and make gdm member of audio and video groups in order to get gdm with gnome-shell and for system sounds to work there.

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

  • Property mode set to 100644
File size: 10.1 KB
RevLine 
[9d2dc4e2]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[9d2dc4e2]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[cfe2f1b6]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">
[3839649]10 <!ENTITY gdm-size "1.6 MB">
[cfe2f1b6]11 <!ENTITY gdm-buildsize "50 MB">
12 <!ENTITY gdm-time "0.8 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>
21 </sect1info>
22
23 <title>GDM-&gdm-version;</title>
24
25 <indexterm zone="gdm">
[7ded7e3]26 <primary sortas="a-gdm">gdm</primary>
[0ed3f7f]27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to GDM</title>
31
[7ded7e3]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>
[0ed3f7f]37
[06936b84]38 &lfs70_checked;
[3b4770b]39
[0ed3f7f]40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
[7ded7e3]43 <para>
44 Download (HTTP): <ulink url="&gdm-download-http;"/>
45 </para>
[0ed3f7f]46 </listitem>
47 <listitem>
[7ded7e3]48 <para>
49 Download (FTP): <ulink url="&gdm-download-ftp;"/>
50 </para>
[0ed3f7f]51 </listitem>
52 <listitem>
[7ded7e3]53 <para>
54 Download MD5 sum: &gdm-md5sum;
55 </para>
[0ed3f7f]56 </listitem>
57 <listitem>
[7ded7e3]58 <para>
59 Download size: &gdm-size;
60 </para>
[0ed3f7f]61 </listitem>
62 <listitem>
[7ded7e3]63 <para>
64 Estimated disk space required: &gdm-buildsize;
65 </para>
[0ed3f7f]66 </listitem>
67 <listitem>
[7ded7e3]68 <para>
69 Estimated build time: &gdm-time;
70 </para>
[0ed3f7f]71 </listitem>
72 </itemizedlist>
73
[cfe2f1b6]74 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
[3b4770b]75 <itemizedlist spacing="compact">
76 <listitem>
[7ded7e3]77 <para>
78 Required patch:
79 <ulink url="&patch-root;/gdm-&gdm-version;-vt-allocation-hack-1.patch"/>
80 </para>
[1b46c878]81 </listitem>
[cfe2f1b6]82 <listitem>
[7ded7e3]83 <para>
84 Required patch:
85 <ulink url="&patch-root;/gdm-&gdm-version;-blfs-patch-1.patch"/>
86 </para>
[cfe2f1b6]87 </listitem>
88 </itemizedlist>
[3b4770b]89
[0ed3f7f]90 <bridgehead renderas="sect3">GDM Dependencies</bridgehead>
91
92 <bridgehead renderas="sect4">Required</bridgehead>
[cfe2f1b6]93 <para role="required">
94 <xref linkend="accountsservice"/>,
95 <xref linkend="dconf"/>,
[4c2be438]96 <xref linkend="gnome-doc-utils"/>,
[cfe2f1b6]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>
[0ed3f7f]110
[fc516d9]111 <bridgehead renderas="sect4">Recommended</bridgehead>
[cfe2f1b6]112 <para role="recommended">
113 <xref linkend="consolekit"/>
114 (Required for Shutdown/Restart functionality),
[4c2be438]115 <xref linkend="gobject-introspection"/>,
116 <xref linkend="libxklavier"/>,
117 <xref linkend="rarian"/> and
[cfe2f1b6]118 <xref linkend="upower"/>
119 </para>
[fc516d9]120
[0ed3f7f]121 <bridgehead renderas="sect4">Optional</bridgehead>
[7a6d35b]122 <para role="optional">
[4c2be438]123 <xref linkend="check"/> (required to run the testsuite) and
[cfe2f1b6]124 <xref linkend="tcpwrappers"/>
125 </para>
[0ed3f7f]126
[0a7c3921]127 <para condition="html" role="usernotes">User Notes:
[7ded7e3]128 <ulink url="&blfs-wiki;/gdm"/>
129 </para>
[0ed3f7f]130 </sect2>
131
132 <sect2 role="installation">
133 <title>Installation of GDM</title>
134
[7ded7e3]135 <para>
136 It is recommended to have a dedicated user and group to take
137 control of the <command>gdm</command> daemon after it is
138 started. Issue the following commands as the
139 <systemitem class="username">root</systemitem> user:
140 </para>
[1ab6a6c9]141
[8c62c89]142<screen role="root"><userinput>groupadd -g 21 gdm &amp;&amp;
[4f9a388]143useradd -c "GDM Daemon Owner" -d /var/lib/gdm -u 21 \
[8c62c89]144 -g gdm -s /bin/false gdm &amp;&amp;
145usermod -a -G audio gdm &amp;&amp;
146usermod -a -G video gdm</userinput></screen>
[1ab6a6c9]147
[7ded7e3]148 <para>
149 Install <application>GDM</application> by running the following
150 commands:
151 </para>
[0ed3f7f]152
[cfe2f1b6]153<screen><userinput>patch -Np1 -i ../gdm-&gdm-version;-vt-allocation-hack-1.patch &amp;&amp;
154patch -Np1 -i ../gdm-&gdm-version;-blfs-patch-1.patch &amp;&amp;
155./configure --prefix=/usr \
156 --sysconfdir=/etc \
[3b4770b]157 --localstatedir=/var \
[cfe2f1b6]158 --libexecdir=/usr/lib/gdm \
159 --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \
160 --disable-static &amp;&amp;
[1ab6a6c9]161make</userinput></screen>
162
[7ded7e3]163 <para>
164 If you have installed <xref linkend="check"/> and you wish to run
165 the testsuite, issue: <command>make check</command>.
166 </para>
[1ab6a6c9]167
[7ded7e3]168 <para>
169 Now, as the <systemitem class="username">root</systemitem> user:
170 </para>
[1ab6a6c9]171
[7ded7e3]172<screen role="root"><userinput>make install &amp;&amp;
[cfe2f1b6]173chown -R -v gdm:gdm /var/lib/gdm /var/cache/gdm /var/log/gdm
[06936b84]174</userinput></screen>
175
[0ed3f7f]176 </sect2>
[9d2dc4e2]177
[0ed3f7f]178 <sect2 role="commands">
179 <title>Command Explanations</title>
[9d2dc4e2]180
[7ded7e3]181 <para>
182 <parameter>--libexecdir=/usr/lib/gdm</parameter>: This
183 parameter is used so that the <application>GDM</application> internal
184 support programs are installed in the preferred location of <filename
185 class="directory">/usr/lib/gdm</filename> instead of <filename
186 class="directory">/usr/libexec</filename>.
187 </para>
[9d2dc4e2]188
[cfe2f1b6]189 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[7ded7e3]190 href="../../xincludes/static-libraries.xml"/>
[06936b84]191
[4c2be438]192 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[7ded7e3]193 href="../../xincludes/without-scrollkeeper.xml"/>
[4c2be438]194
[0ed3f7f]195 </sect2>
[9d2dc4e2]196
[0ed3f7f]197 <sect2 role="configuration">
198 <title>Configuring GDM</title>
[9d2dc4e2]199
[0ed3f7f]200 <sect3 id="gdm-config">
201 <title>Config Files</title>
[9d2dc4e2]202
[cfe2f1b6]203 <para><filename>/etc/gdm/custom.conf</filename></para>
[9d2dc4e2]204
[0ed3f7f]205 <indexterm zone="gdm gdm-config">
[cfe2f1b6]206 <primary sortas="e-etc-gdm-custom.conf">
207 /etc/gdm/custom.conf</primary>
[0ed3f7f]208 </indexterm>
[bd0a1b0]209
[0ed3f7f]210 </sect3>
211
212 <sect3>
213 <title>Configuration Information</title>
214
[7ded7e3]215 <para>
216 The GDM daemon is configured using the
217 <filename>/etc/gdm/custom.conf</filename> file.
218 Default values are stored in GConf in the
219 <filename>gdm.schemas</filename> file. It is recommended that end-users
220 modify the <filename>/etc/gdm/custom.conf</filename> file
221 because the schemas file may be overwritten when the user updates their
222 system to have a newer version of GDM.
223 </para>
[ca109fa5]224
[fcc42ef2]225 <important>
[7ded7e3]226 <para>
227 If the system-wide <application>D-BUS</application> daemon was
228 running during the installation of <application>gdm</application>,
229 ensure you stop and restart the <application>D-BUS</application>
230 daemon before attempting to start <command>gdm</command>.
231 </para>
[fcc42ef2]232 </important>
233
[7ded7e3]234 <para>
235 <command>gdm</command> can be tested by executing it as the
236 <systemitem class="username">root</systemitem> user. If you wish to stop
237 it you will need to go to a different tty and then kill it.
238 </para>
[0ed3f7f]239
240 </sect3>
241
[1ab6a6c9]242 <sect3 id="gdm-init">
[0ed3f7f]243 <title>Boot Script</title>
244
[7ded7e3]245 <para>
246 To start a graphical login when the system is booted, install the
247 <filename>/etc/rc.d/init.d/gdm</filename> init script included in the
248 <xref linkend="bootscripts"/> package.
249 </para>
[0ed3f7f]250
251 <indexterm zone="gdm gdm-init">
252 <primary sortas="f-gdm">gdm</primary>
253 </indexterm>
254
255<screen role="root"><userinput>make install-gdm</userinput></screen>
256
[7ded7e3]257 <para>
258 Now edit <filename>/etc/inittab</filename> with the following
259 commands.
260 </para>
[0ed3f7f]261
[4f9a388]262<screen role="root"><userinput>sed -i 's/id:3:initdefault:/id:5:initdefault:/' \
263 /etc/inittab</userinput></screen>
[0ed3f7f]264
265 </sect3>
266
267 </sect2>
268
269 <sect2 role="content">
270 <title>Contents</title>
271
272 <segmentedlist>
273 <segtitle>Installed Programs</segtitle>
274 <segtitle>Installed Libraries</segtitle>
275 <segtitle>Installed Directories</segtitle>
276
277 <seglistitem>
[cfe2f1b6]278 <seg>
279 gdm, gdmflexiserver and gdm-screenshot
280 </seg>
281 <seg>
282 libgdmgreeter.so and libgdmsimplegreeter.so
283 </seg>
284 <seg>
[7ded7e3]285 /etc/dconf/db/gdm.d,
286 /etc/gdm,
287 /usr/include/gdm,
288 /usr/lib/gdm,
289 /usr/share/gdm,
290 /usr/share/gnome/help/gdm,
291 /usr/share/omf/gdm and
292 /var/{cache,lib,log,run}/gdm
[cfe2f1b6]293 </seg>
[0ed3f7f]294 </seglistitem>
295 </segmentedlist>
296
297 <variablelist>
298 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
299 <?dbfo list-presentation="list"?>
300 <?dbhtml list-presentation="table"?>
301
[cfe2f1b6]302 <varlistentry id="gdm-prog">
303 <term><command>gdm</command></term>
304 <listitem>
[7ded7e3]305 <para>
306 is the <application>GNOME</application> based login prompt.
307 </para>
[cfe2f1b6]308 <indexterm zone="gdm gdm-prog">
309 <primary sortas="b-gdm">gdm</primary>
310 </indexterm>
311 </listitem>
312 </varlistentry>
313
[3b4770b]314 <varlistentry id="gdmflexiserver">
315 <term><command>gdmflexiserver</command></term>
316 <listitem>
[7ded7e3]317 <para>
318 is the flexi server mechanism which allows to run
319 <application>GDM sessions</application>
320 on demand in a new virtual console.
321 </para>
[3b4770b]322 <indexterm zone="gdm gdmflexiserver">
323 <primary sortas="b-gdmflexiserver">gdmflexiserver</primary>
324 </indexterm>
325 </listitem>
326 </varlistentry>
327
328 <varlistentry id="gdm-screenshot">
329 <term><command>gdm-screenshot</command></term>
330 <listitem>
[7ded7e3]331 <para>
332 is a screenshot tool.
333 </para>
[3b4770b]334 <indexterm zone="gdm gdm-screenshot">
335 <primary sortas="b-gdm-screenshot">gdm-screenshot</primary>
336 </indexterm>
337 </listitem>
338 </varlistentry>
339
[0ed3f7f]340 </variablelist>
341
342 </sect2>
[91557b0]343
344</sect1>
Note: See TracBrowser for help on using the repository browser.