source: archive/gnome/gdm.xml@ 48b59802

11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 48b59802 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • Property mode set to 100644
File size: 9.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.6/gdm-&gdm-version;.tar.xz">
8 <!ENTITY gdm-download-ftp "&gnome-download-ftp;/gdm/3.6/gdm-&gdm-version;.tar.xz">
9 <!ENTITY gdm-md5sum "b1924268d1515b8b947acbbe49d72292">
10 <!ENTITY gdm-size "1.6 MB">
11 <!ENTITY gdm-buildsize "65 MB">
12 <!ENTITY gdm-time "0.5 SBU">
13]>
14
15<sect1 id="gdm" xreflabel="GDM-&gdm-version;">
16 <?dbhtml filename="gdm.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>GDM-&gdm-version;</title>
23
24 <indexterm zone="gdm">
25 <primary sortas="a-GDM">GDM</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to GDM</title>
30
31 <para>
32 <application>GDM</application> is a system service that is
33 responsible for providing graphical logins and managing local
34 and remote displays.
35 </para>
36
37 &lfs72_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&gdm-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&gdm-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &gdm-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &gdm-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &gdm-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &gdm-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">GDM Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required</bridgehead>
76 <para role="required">
77 <xref linkend="accountsservice"/>,
78 <xref linkend="dconf"/>,
79 <xref linkend="libcanberra"/>,
80 <xref linkend="linux-pam"/>,
81 <xref linkend="nss"/> and
82 <xref linkend="yelp-xsl"/>
83 </para>
84
85 <bridgehead renderas="sect4">Recommended</bridgehead>
86 <para role="recommended">
87 <xref linkend="gobject-introspection"/>,
88 <xref linkend="iso-codes"/> and
89 <xref linkend="upower"/>
90 </para>
91
92 <bridgehead renderas="sect4">Optional</bridgehead>
93 <para role="optional">
94 <xref linkend="check"/>
95 </para>
96
97 <bridgehead renderas="sect4">Runtime Dependencies</bridgehead>
98 <para role="required">
99 <xref linkend="consolekit"/>,
100 <xref linkend="gnome-session"/> and either
101 <xref linkend="gnome-shell"/> or
102 <xref linkend="metacity"/>
103 </para>
104
105 <para condition="html" role="usernotes">User Notes:
106 <ulink url="&blfs-wiki;/gdm"/>
107 </para>
108 </sect2>
109
110 <sect2 role="installation">
111 <title>Installation of GDM</title>
112
113 <para>
114 It is recommended to have a dedicated user and group to take
115 control of the <command>gdm</command> daemon after it is
116 started. Issue the following commands as the
117 <systemitem class="username">root</systemitem> user:
118 </para>
119
120<screen role="root"><userinput>groupadd -g 21 gdm &amp;&amp;
121useradd -c "GDM Daemon Owner" -d /var/lib/gdm -u 21 \
122 -g gdm -s /bin/false gdm &amp;&amp;
123usermod -a -G audio gdm &amp;&amp;
124usermod -a -G video gdm</userinput></screen>
125
126 <para>
127 Install <application>GDM</application> by running the following
128 commands:
129 </para>
130
131<screen><userinput>./configure --prefix=/usr \
132 --sysconfdir=/etc \
133 --localstatedir=/var \
134 --libexecdir=/usr/lib/gdm \
135 --with-initial-vt=7 \
136 --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \
137 --with-authentication-agent-directory=/usr/lib/polkit-gnome \
138 --with-check-accelerated-directory=/usr/lib/gnome-session \
139 --with-consolekit-directory=/usr/lib/ConsoleKit \
140 --disable-static &amp;&amp;
141make</userinput></screen>
142
143 <para>
144 If you have installed <xref linkend="check"/> and you wish to run
145 the testsuite, issue: <command>make check</command>.
146 </para>
147
148 <para>
149 Now, as the <systemitem class="username">root</systemitem> user:
150 </para>
151
152<screen role="root"><userinput>make install &amp;&amp;
153chown -R -v gdm:gdm /var/lib/gdm /var/cache/gdm /var/log/gdm</userinput></screen>
154
155 </sect2>
156
157 <sect2 role="commands">
158 <title>Command Explanations</title>
159
160 <para>
161 <parameter>--with-initial-vt=7</parameter>: This switch
162 causes <application>GDM</application> to start on vt7
163 instead of the first free VT.
164 </para>
165
166 <para>
167 <parameter>--with-*-directory=...</parameter>: These switches
168 specify the location of programs that are used at runtime.
169 </para>
170
171 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
172 href="../../xincludes/static-libraries.xml"/>
173
174 <para>
175 <parameter>--with-default-pam-config=lfs</parameter>: Use this
176 switch if you did not create <filename>/etc/lfs-release</filename>
177 or distribution auto detection will fail and you will be unable
178 to use <application>GDM</application>.
179 </para>
180
181 </sect2>
182
183 <sect2 role="configuration">
184 <title>Configuring GDM</title>
185
186 <sect3 id="gdm-config">
187 <title>Config Files</title>
188
189 <para>
190 <filename>/etc/gdm/custom.conf</filename>
191 </para>
192
193 <indexterm zone="gdm gdm-config">
194 <primary sortas="e-etc-gdm-custom.conf">
195 /etc/gdm/custom.conf</primary>
196 </indexterm>
197
198 </sect3>
199
200 <sect3>
201 <title>Configuration Information</title>
202
203 <para>
204 The GDM daemon is configured using the
205 <filename>/etc/gdm/custom.conf</filename> file.
206 Default values are stored in GSettings in the
207 <filename>gdm.schemas</filename> file. It is recommended that end-users
208 modify the <filename>/etc/gdm/custom.conf</filename> file
209 because the schemas file may be overwritten when the user updates their
210 system to have a newer version of GDM.
211 </para>
212
213 <important>
214 <para>
215 If the system-wide <application>D-BUS</application> daemon was
216 running during the installation of <application>gdm</application>,
217 ensure you stop and restart the <application>D-BUS</application>
218 daemon before attempting to start <command>gdm</command>.
219 </para>
220 </important>
221
222 <para>
223 <command>gdm</command> can be tested by executing it as the
224 <systemitem class="username">root</systemitem> user. If you wish to stop
225 it you will need to go to a different tty and then kill it.
226 </para>
227
228 </sect3>
229
230 <sect3 id="gdm-init">
231 <title>Boot Script</title>
232
233 <para>
234 To start a graphical login when the system is booted, install the
235 <filename>/etc/rc.d/init.d/gdm</filename> init script included in the
236 <xref linkend="bootscripts"/> package.
237 </para>
238
239 <indexterm zone="gdm gdm-init">
240 <primary sortas="f-gdm">gdm</primary>
241 </indexterm>
242
243<screen role="root"><userinput>make install-gdm</userinput></screen>
244
245 <para>
246 Now edit <filename>/etc/inittab</filename> with the following
247 command.
248 </para>
249
250<screen role="root"><userinput>sed -i 's/id:3:initdefault:/id:5:initdefault:/' \
251 /etc/inittab</userinput></screen>
252
253 </sect3>
254
255 </sect2>
256
257 <sect2 role="content">
258 <title>Contents</title>
259
260 <segmentedlist>
261 <segtitle>Installed Programs</segtitle>
262 <segtitle>Installed Libraries</segtitle>
263 <segtitle>Installed Directories</segtitle>
264
265 <seglistitem>
266 <seg>
267 gdm and gdm-screenshot
268 </seg>
269 <seg>
270 libgdm.so and libgdmsimplegreeter.so
271 </seg>
272 <seg>
273 /etc/dconf/db/gdm.d,
274 /etc/gdm,
275 /usr/include/gdm,
276 /usr/lib/gdm,
277 /usr/share/gdm,
278 /usr/share/help/*/gdm,
279 /var/cache/gdm,
280 /var/gdm,
281 /var/lib/gdm,
282 /var/log/gdm and
283 /var/run/gdm
284 </seg>
285 </seglistitem>
286 </segmentedlist>
287
288 <variablelist>
289 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
290 <?dbfo list-presentation="list"?>
291 <?dbhtml list-presentation="table"?>
292
293 <varlistentry id="gdm-prog">
294 <term><command>gdm</command></term>
295 <listitem>
296 <para>
297 is the <application>GNOME</application> based login prompt.
298 </para>
299 <indexterm zone="gdm gdm-prog">
300 <primary sortas="b-gdm">gdm</primary>
301 </indexterm>
302 </listitem>
303 </varlistentry>
304
305 <varlistentry id="gdm-screenshot">
306 <term><command>gdm-screenshot</command></term>
307 <listitem>
308 <para>
309 is a <application>GDM</application> screenshot tool.
310 </para>
311 <indexterm zone="gdm gdm-screenshot">
312 <primary sortas="b-gdm-screenshot">gdm-screenshot</primary>
313 </indexterm>
314 </listitem>
315 </varlistentry>
316
317 </variablelist>
318
319 </sect2>
320
321</sect1>
Note: See TracBrowser for help on using the repository browser.