source: gnome/core/gdm.xml@ 4c2be438

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 4c2be438 was 4c2be438, checked in by Krejzi <krejzi@…>, 12 years ago

fix Gnome dependencies - switch itstool with yelp-xsl (YELP_HELP_INIT requires yelp-xsl stylesheets),recommend gobject-introspection for every package in gnome/{core,add} and make Optional g-i section indicating that is required for gnome in packages that are not just required by gnome. Made some recommended (expected) deps to gstreamer plugins (codecs, input and output sinks), recommended alsa to the libcanberra, explicitly disabled oss to remove configure warning + added gnome dependencies into seperate optional section to libcanberra page. Added --disable-scrollkeeper explanation to many packages that can use rarian (for the scrollkeeper compat) and added some more rarian recommendations. Checked polkit, accountservice and consolekit deps, sorted them a bit. Finished Gnome 3.4

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

  • Property mode set to 100644
File size: 10.2 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">
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
[06936b84]36 &lfs70_checked;
[3b4770b]37
[0ed3f7f]38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&gdm-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&gdm-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &gdm-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &gdm-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &gdm-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &gdm-time;</para>
57 </listitem>
58 </itemizedlist>
59
[cfe2f1b6]60 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
[3b4770b]61 <itemizedlist spacing="compact">
62 <listitem>
63 <para>Required patch: <ulink
[cfe2f1b6]64 url="&patch-root;/gdm-&gdm-version;-vt-allocation-hack-1.patch"/></para>
[1b46c878]65 </listitem>
[cfe2f1b6]66 <listitem>
67 <para>Required patch: <ulink
68 url="&patch-root;/gdm-&gdm-version;-blfs-patch-1.patch"/></para>
69 </listitem>
70 </itemizedlist>
[3b4770b]71
[0ed3f7f]72 <bridgehead renderas="sect3">GDM Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Required</bridgehead>
[cfe2f1b6]75 <para role="required">
76 <xref linkend="accountsservice"/>,
77 <xref linkend="dconf"/>,
[4c2be438]78 <xref linkend="gnome-doc-utils"/>,
[cfe2f1b6]79 <xref linkend="gtk3"/>,
80 <xref linkend="libcanberra"/>,
81 <xref linkend="linux-pam"/> and
82 <xref linkend="nss"/>
83 </para>
84
85 <bridgehead renderas="sect4">Required (runtime)</bridgehead>
86 <para role="required">
87 <xref linkend="gnome-session"/> and either
88 <xref linkend="gnome-shell"/> or
89 <xref linkend="gnome-panel"/> and
90 <xref linkend="metacity"/> (for the Greeter Window Manager).
91 </para>
[0ed3f7f]92
[fc516d9]93 <bridgehead renderas="sect4">Recommended</bridgehead>
[cfe2f1b6]94 <para role="recommended">
95 <xref linkend="consolekit"/>
96 (Required for Shutdown/Restart functionality),
[4c2be438]97 <xref linkend="gobject-introspection"/>,
98 <xref linkend="libxklavier"/>,
99 <xref linkend="rarian"/> and
[cfe2f1b6]100 <xref linkend="upower"/>
101 </para>
[fc516d9]102
[0ed3f7f]103 <bridgehead renderas="sect4">Optional</bridgehead>
[7a6d35b]104 <para role="optional">
[4c2be438]105 <xref linkend="check"/> (required to run the testsuite) and
[cfe2f1b6]106 <xref linkend="tcpwrappers"/>
107 </para>
[0ed3f7f]108
[0a7c3921]109 <para condition="html" role="usernotes">User Notes:
110 <ulink url="&blfs-wiki;/gdm"/></para>
111
[0ed3f7f]112 </sect2>
113
114 <sect2 role="installation">
115 <title>Installation of GDM</title>
116
[1ab6a6c]117 <para>It is recommended to have a dedicated user and group to take
[cfe2f1b6]118 control of the <command>gdm</command> daemon after it is
[cec675bd]119 started. Issue the following commands as the
[1ab6a6c]120 <systemitem class="username">root</systemitem> user:</para>
121
[4f9a388]122<screen role='root'><userinput>groupadd -fg 21 gdm &amp;&amp;
123useradd -c "GDM Daemon Owner" -d /var/lib/gdm -u 21 \
[cfe2f1b6]124 -g gdm -s /bin/false gdm</userinput></screen>
[1ab6a6c]125
[0ed3f7f]126 <para>Install <application>GDM</application> by running
[1ab6a6c]127 the following commands as an unprivileged user:</para>
[0ed3f7f]128
[cfe2f1b6]129<screen><userinput>patch -Np1 -i ../gdm-&gdm-version;-vt-allocation-hack-1.patch &amp;&amp;
130patch -Np1 -i ../gdm-&gdm-version;-blfs-patch-1.patch &amp;&amp;
131./configure --prefix=/usr \
132 --sysconfdir=/etc \
[3b4770b]133 --localstatedir=/var \
[cfe2f1b6]134 --libexecdir=/usr/lib/gdm \
135 --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \
136 --disable-static &amp;&amp;
[1ab6a6c]137make</userinput></screen>
138
[63310fe]139 <para>If you have installed <xref linkend="check"/> and you wish to run
140 the testsuite, issue: <command>make check</command>.</para>
[1ab6a6c]141
142 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
143
[cff5bba]144<screen role='root'><userinput>make install &amp;&amp;
[cfe2f1b6]145chown -R -v gdm:gdm /var/lib/gdm /var/cache/gdm /var/log/gdm
[06936b84]146</userinput></screen>
147
[0ed3f7f]148 </sect2>
[9d2dc4e2]149
[0ed3f7f]150 <sect2 role="commands">
151 <title>Command Explanations</title>
[9d2dc4e2]152
[cfe2f1b6]153<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[8163dd01]154 href="../../xincludes/gnome-prefix.xml"/>
[8cf3617]155
[e05cd03f]156 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[cfe2f1b6]157 href="../../xincludes/gnome-sysconfdir.xml"/> -->
[9d2dc4e2]158
[cfe2f1b6]159 <para><parameter>--libexecdir=/usr/lib/gdm</parameter>: This
[3839649]160 parameter is used so that the <application>GDM</application> internal
161 support programs are installed in the preferred location of <filename
[cfe2f1b6]162 class='directory'>/usr/lib/gdm</filename> instead of <filename
163 class='directory'>/usr/libexec</filename>.</para>
[9d2dc4e2]164
[cfe2f1b6]165 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
166 href="../../xincludes/static-libraries.xml"/>
[06936b84]167
[4c2be438]168 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
169 href="../../xincludes/without-scrollkeeper.xml"/>
170
[0ed3f7f]171 </sect2>
[9d2dc4e2]172
[0ed3f7f]173 <sect2 role="configuration">
174 <title>Configuring GDM</title>
[9d2dc4e2]175
[0ed3f7f]176 <sect3 id="gdm-config">
177 <title>Config Files</title>
[9d2dc4e2]178
[cfe2f1b6]179 <para><filename>/etc/gdm/custom.conf</filename></para>
[9d2dc4e2]180
[0ed3f7f]181 <indexterm zone="gdm gdm-config">
[cfe2f1b6]182 <primary sortas="e-etc-gdm-custom.conf">
183 /etc/gdm/custom.conf</primary>
[0ed3f7f]184 </indexterm>
[bd0a1b0]185
[0ed3f7f]186 </sect3>
187
188 <sect3>
189 <title>Configuration Information</title>
190
[fcc42ef2]191 <para>The GDM daemon is configured using the
[cfe2f1b6]192 <filename>/etc/gdm/custom.conf</filename> file.
[fcc42ef2]193 Default values are stored in GConf in the
194 <filename>gdm.schemas</filename> file. It is recommended that end-users
[cfe2f1b6]195 modify the <filename>/etc/gdm/custom.conf</filename> file
[fcc42ef2]196 because the schemas file may be overwritten when the user updates their
197 system to have a newer version of GDM.</para>
[ca109fa5]198
[fcc42ef2]199 <important>
200 <para>If the system-wide <application>D-BUS</application> daemon was
201 running during the installation of <application>gdm</application>,
202 ensure you stop and restart the <application>D-BUS</application>
203 daemon before attempting to start <command>gdm</command>.</para>
204 </important>
205
[3565e02]206 <para><command>gdm</command> can be tested by executing it as the
[06936b84]207 <systemitem class="username">root</systemitem> user. If you wish to stop
208 it you will need to go to a different tty and then kill it.</para>
[0ed3f7f]209
210 </sect3>
211
[1ab6a6c]212 <sect3 id="gdm-init">
[0ed3f7f]213 <title>Boot Script</title>
214
[7a00ed89]215 <para>To start a graphical login when the system is booted, install the
[0ed3f7f]216 <filename>/etc/rc.d/init.d/gdm</filename> init script included in the
[cfe2f1b6]217 <xref linkend="bootscripts"/> package.<!-- If your
[94cc990]218 <envar>GNOME_PREFIX</envar> environment variable is anything other than
[7a00ed89]219 <filename class='directory'>/usr</filename> or <filename
[4a9eae57]220 class='directory'>/opt/gnome-&gnome-version;&gnome-minor-version;</filename>,
[7a00ed89]221 you will need to modify the <envar>PATH</envar> statement in the script
222 to include the path where you have <application>GNOME</application>
[cfe2f1b6]223 installed.--></para>
[0ed3f7f]224
225 <indexterm zone="gdm gdm-init">
226 <primary sortas="f-gdm">gdm</primary>
227 </indexterm>
228
229<screen role="root"><userinput>make install-gdm</userinput></screen>
230
[3b4770b]231 <para>Now edit <filename>/etc/inittab</filename> with the following
232 commands.</para>
[0ed3f7f]233
[4f9a388]234<screen role="root"><userinput>sed -i 's/id:3:initdefault:/id:5:initdefault:/' \
235 /etc/inittab</userinput></screen>
[0ed3f7f]236
237 </sect3>
238
239 </sect2>
240
241 <sect2 role="content">
242 <title>Contents</title>
243
244 <segmentedlist>
245 <segtitle>Installed Programs</segtitle>
246 <segtitle>Installed Libraries</segtitle>
247 <segtitle>Installed Directories</segtitle>
248
249 <seglistitem>
[cfe2f1b6]250 <seg>
251 gdm, gdmflexiserver and gdm-screenshot
252 </seg>
253 <seg>
254 libgdmgreeter.so and libgdmsimplegreeter.so
255 </seg>
256 <seg>
257 /etc/dconf/db/gdm.d, /etc/gdm, /usr/include/gdm,
258 /usr/lib/gdm, /usr/share/gdm, /usr/share/gnome/help/gdm,
259 /usr/share/omf/gdm and /var/{cache,lib,log,run}/gdm
260 </seg>
[0ed3f7f]261 </seglistitem>
262 </segmentedlist>
263
264 <variablelist>
265 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
266 <?dbfo list-presentation="list"?>
267 <?dbhtml list-presentation="table"?>
268
[cfe2f1b6]269 <varlistentry id="gdm-prog">
270 <term><command>gdm</command></term>
271 <listitem>
272 <para>is the <application>GNOME</application> based login prompt.</para>
273 <indexterm zone="gdm gdm-prog">
274 <primary sortas="b-gdm">gdm</primary>
275 </indexterm>
276 </listitem>
277 </varlistentry>
278
[3b4770b]279 <varlistentry id="gdmflexiserver">
280 <term><command>gdmflexiserver</command></term>
281 <listitem>
282 <para>is the flexi server mechanism which allows to run GDM sessions
283 on demand, in a new virtual console.</para>
284 <indexterm zone="gdm gdmflexiserver">
285 <primary sortas="b-gdmflexiserver">gdmflexiserver</primary>
286 </indexterm>
287 </listitem>
288 </varlistentry>
289
290 <varlistentry id="gdm-screenshot">
291 <term><command>gdm-screenshot</command></term>
292 <listitem>
293 <para>is a screenshot tool.</para>
294 <indexterm zone="gdm gdm-screenshot">
295 <primary sortas="b-gdm-screenshot">gdm-screenshot</primary>
296 </indexterm>
297 </listitem>
298 </varlistentry>
299
[0ed3f7f]300 </variablelist>
301
302 </sect2>
[91557b0]303
304</sect1>
Note: See TracBrowser for help on using the repository browser.