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

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 4db1ba6 was cfe2f1b6, checked in by Krejzi <krejzi@…>, 12 years ago

gdm 3.4.1, gnome core done

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

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