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
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
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">
10 <!ENTITY gdm-size "1.6 MB">
11 <!ENTITY gdm-buildsize "50 MB">
12 <!ENTITY gdm-time "0.8 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 &lfs70_checked;
37
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
60 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
61 <itemizedlist spacing="compact">
62 <listitem>
63 <para>Required patch: <ulink
64 url="&patch-root;/gdm-&gdm-version;-vt-allocation-hack-1.patch"/></para>
65 </listitem>
66 <listitem>
67 <para>Required patch: <ulink
68 url="&patch-root;/gdm-&gdm-version;-blfs-patch-1.patch"/></para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">GDM Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Required</bridgehead>
75 <para role="required">
76 <xref linkend="accountsservice"/>,
77 <xref linkend="dconf"/>,
78 <xref linkend="gnome-doc-utils"/>,
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>
92
93 <bridgehead renderas="sect4">Recommended</bridgehead>
94 <para role="recommended">
95 <xref linkend="consolekit"/>
96 (Required for Shutdown/Restart functionality),
97 <xref linkend="gobject-introspection"/>,
98 <xref linkend="libxklavier"/>,
99 <xref linkend="rarian"/> and
100 <xref linkend="upower"/>
101 </para>
102
103 <bridgehead renderas="sect4">Optional</bridgehead>
104 <para role="optional">
105 <xref linkend="check"/> (required to run the testsuite) and
106 <xref linkend="tcpwrappers"/>
107 </para>
108
109 <para condition="html" role="usernotes">User Notes:
110 <ulink url="&blfs-wiki;/gdm"/></para>
111
112 </sect2>
113
114 <sect2 role="installation">
115 <title>Installation of GDM</title>
116
117 <para>It is recommended to have a dedicated user and group to take
118 control of the <command>gdm</command> daemon after it is
119 started. Issue the following commands as the
120 <systemitem class="username">root</systemitem> user:</para>
121
122<screen role='root'><userinput>groupadd -fg 21 gdm &amp;&amp;
123useradd -c "GDM Daemon Owner" -d /var/lib/gdm -u 21 \
124 -g gdm -s /bin/false gdm</userinput></screen>
125
126 <para>Install <application>GDM</application> by running
127 the following commands as an unprivileged user:</para>
128
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 \
133 --localstatedir=/var \
134 --libexecdir=/usr/lib/gdm \
135 --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \
136 --disable-static &amp;&amp;
137make</userinput></screen>
138
139 <para>If you have installed <xref linkend="check"/> and you wish to run
140 the testsuite, issue: <command>make check</command>.</para>
141
142 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
143
144<screen role='root'><userinput>make install &amp;&amp;
145chown -R -v gdm:gdm /var/lib/gdm /var/cache/gdm /var/log/gdm
146</userinput></screen>
147
148 </sect2>
149
150 <sect2 role="commands">
151 <title>Command Explanations</title>
152
153<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
154 href="../../xincludes/gnome-prefix.xml"/>
155
156 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
157 href="../../xincludes/gnome-sysconfdir.xml"/> -->
158
159 <para><parameter>--libexecdir=/usr/lib/gdm</parameter>: This
160 parameter is used so that the <application>GDM</application> internal
161 support programs are installed in the preferred location of <filename
162 class='directory'>/usr/lib/gdm</filename> instead of <filename
163 class='directory'>/usr/libexec</filename>.</para>
164
165 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
166 href="../../xincludes/static-libraries.xml"/>
167
168 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
169 href="../../xincludes/without-scrollkeeper.xml"/>
170
171 </sect2>
172
173 <sect2 role="configuration">
174 <title>Configuring GDM</title>
175
176 <sect3 id="gdm-config">
177 <title>Config Files</title>
178
179 <para><filename>/etc/gdm/custom.conf</filename></para>
180
181 <indexterm zone="gdm gdm-config">
182 <primary sortas="e-etc-gdm-custom.conf">
183 /etc/gdm/custom.conf</primary>
184 </indexterm>
185
186 </sect3>
187
188 <sect3>
189 <title>Configuration Information</title>
190
191 <para>The GDM daemon is configured using the
192 <filename>/etc/gdm/custom.conf</filename> file.
193 Default values are stored in GConf in the
194 <filename>gdm.schemas</filename> file. It is recommended that end-users
195 modify the <filename>/etc/gdm/custom.conf</filename> file
196 because the schemas file may be overwritten when the user updates their
197 system to have a newer version of GDM.</para>
198
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
206 <para><command>gdm</command> can be tested by executing it as the
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>
209
210 </sect3>
211
212 <sect3 id="gdm-init">
213 <title>Boot Script</title>
214
215 <para>To start a graphical login when the system is booted, install the
216 <filename>/etc/rc.d/init.d/gdm</filename> init script included in the
217 <xref linkend="bootscripts"/> package.<!-- If your
218 <envar>GNOME_PREFIX</envar> environment variable is anything other than
219 <filename class='directory'>/usr</filename> or <filename
220 class='directory'>/opt/gnome-&gnome-version;&gnome-minor-version;</filename>,
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>
223 installed.--></para>
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
231 <para>Now edit <filename>/etc/inittab</filename> with the following
232 commands.</para>
233
234<screen role="root"><userinput>sed -i 's/id:3:initdefault:/id:5:initdefault:/' \
235 /etc/inittab</userinput></screen>
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>
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>
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
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
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
300 </variablelist>
301
302 </sect2>
303
304</sect1>
Note: See TracBrowser for help on using the repository browser.