source: gnome/platform/gdm.xml@ 5d655c7

elogind
Last change on this file since 5d655c7 was 5d655c7, checked in by DJ Lucas <dj@…>, 5 years ago

Add gdm-3.30.2-elogind-1.patch.
Install the gdm bootscript and change initdefault to runlevel 5 for gdm.

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

  • Property mode set to 100644
File size: 9.6 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/&gnome-minor-30;/gdm-&gdm-version;.tar.xz">
8 <!ENTITY gdm-download-ftp "&gnome-download-ftp;/gdm/&gnome-minor-30;/gdm-&gdm-version;.tar.xz">
9 <!ENTITY gdm-md5sum "88ff692eabb779cd53246d559e767ad9">
10 <!ENTITY gdm-size "1.2 MB">
11 <!ENTITY gdm-buildsize "42 MB">
12 <!ENTITY gdm-time "0.3 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>
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>
37
38 &lfs83_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&gdm-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&gdm-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &gdm-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &gdm-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &gdm-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &gdm-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3" revision="sysv">Additional Downloads</bridgehead>
75 <itemizedlist spacing="compact" revision="sysv">
76 <listitem>
77 <para>
78 Recommended patch:
79 <ulink url="&patch-root;/gdm-&gdm-version;-elogind-1.patch"/>
80 </para>
81 </listitem>
82 </itemizedlist>
83
84 <bridgehead renderas="sect3">GDM Dependencies</bridgehead>
85
86 <bridgehead renderas="sect4">Required</bridgehead>
87 <para role="required">
88 <xref linkend="accountsservice"/>,
89 <xref linkend="gtk3"/>,
90 <xref linkend="iso-codes"/>,
91 <xref linkend="itstool"/>,
92 <xref linkend="keyutils"/>,
93 <xref linkend="libcanberra"/>,
94 <xref linkend="libdaemon"/>, and
95 <xref linkend="linux-pam"/>
96 </para>
97
98<!-- <bridgehead renderas="sect4">Optional</bridgehead>
99 <para role="optional">
100 <xref linkend="check"/>
101 </para> -->
102
103 <bridgehead renderas="sect4">Runtime Dependencies</bridgehead>
104 <para role="required">
105 <xref role="runtime" linkend="gnome-session"/>,
106 <xref role="runtime" linkend="gnome-shell"/>, and
107 <phrase revision="sysv"><xref role="runtime" linkend="elogind"/></phrase>
108 <phrase revision="systemd"><xref role="runtime" linkend="systemd"/></phrase>
109 </para>
110
111 <para condition="html" role="usernotes">User Notes:
112 <ulink url="&blfs-wiki;/gdm"/>
113 </para>
114 </sect2>
115
116 <sect2 role="installation">
117 <title>Installation of GDM</title>
118
119 <para>
120 It is recommended to have a dedicated user and group to take
121 control of the <command>gdm</command> daemon after it is
122 started. Issue the following commands as the
123 <systemitem class="username">root</systemitem> user:
124 </para>
125
126<screen role="root"><userinput>groupadd -g 21 gdm &amp;&amp;
127useradd -c "GDM Daemon Owner" -d /var/lib/gdm -u 21 \
128 -g gdm -s /bin/false gdm &amp;&amp;
129passwd -ql gdm</userinput></screen>
130
131 <para revision="sysv">
132 Apply a patch to use <xref linkend="elogind"/> session tracking:
133 </para>
134
135<screen revision="sysv"><userinput>patch -Np1 -i ../gdm-&gdm-version;-elogind-1.patch &amp;&amp;
136autoreconf -fi</userinput></screen>
137
138 <para>
139 Install <application>GDM</application> by running the following
140 commands:
141 </para>
142
143<screen><userinput>./configure --prefix=/usr \
144 --sysconfdir=/etc \
145 --localstatedir=/var \
146 --without-plymouth \
147 --disable-static \
148 --enable-gdm-xsession \
149 --with-pam-mod-dir=/lib/security &amp;&amp;
150make</userinput></screen>
151
152<!-- Currently Broken
153 <para>
154 If you have installed <xref linkend="check"/> and you wish to run
155 the testsuite, issue: <command>make check</command>.
156 </para>
157-->
158 <para>
159 This package does not come with a usable test suite.
160 </para>
161
162 <para>
163 Now, as the <systemitem class="username">root</systemitem> user:
164 </para>
165
166<screen role="root"><userinput>make install &amp;&amp;
167install -v -m644 data/gdm.service /lib/systemd/system/gdm.service</userinput></screen>
168
169 </sect2>
170
171 <sect2 role="commands">
172 <title>Command Explanations</title>
173
174 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
175 href="../../xincludes/static-libraries.xml"/>
176
177 <para>
178 <option>--with-initial-vt=7</option>: Use this switch
179 to make <application>GDM</application> start on VT7
180 instead of the first free VT.
181 </para>
182
183 <para>
184 <parameter>--without-plymouth</parameter>: GDM now explicitly requires
185 plymouth to be installed. Use this switch to disable this dependency.
186 </para>
187
188 <para>
189 <option>--with-default-pam-config=lfs</option>: Use this
190 switch if you did not create the
191 <filename>/etc/lfs-release</filename> file or distribution
192 auto detection will fail and you will be unable to use
193 <application>GDM</application>.
194 </para>
195
196 <para>
197 <parameter>--enable-gdm-xsession</parameter>: This enables the
198 installation of the <application>GDM</application> Xsession file.
199 </para>
200
201 </sect2>
202
203 <sect2 role="configuration">
204 <title>Configuring GDM</title>
205
206 <sect3 id="gdm-config">
207 <title>Config Files</title>
208
209 <para>
210 <filename>/etc/gdm/custom.conf</filename>
211 </para>
212
213 <indexterm zone="gdm gdm-config">
214 <primary sortas="e-etc-gdm-custom.conf">/etc/gdm/custom.conf</primary>
215 </indexterm>
216
217 </sect3>
218
219 <sect3>
220 <title>Configuration Information</title>
221
222 <para>
223 The GDM daemon is configured using the
224 <filename>/etc/gdm/custom.conf</filename> file. Default values
225 are stored in GSettings in the <filename>gdm.schemas</filename>
226 file. It is recommended that end-users modify the
227 <filename>/etc/gdm/custom.conf</filename> file because the schemas
228 file may be overwritten when the user updates their system to have
229 a newer version of <application>GDM</application>.
230 </para>
231
232 </sect3>
233
234 <sect3 id="gdm-init">
235 <title><phrase revision="sysv">Boot Script</phrase>
236 <phrase revision="systemd">Systemd Unit</phrase></title>
237
238 <para revision="sysv">
239 To start the <command>gdm</command> automatically when the system
240 is booted, install the <filename>/etc/rc.d/init.d/httpd</filename>
241 init script included in the <xref linkend="bootscripts"/> package and
242 set the default runlevel to 5 (graphical login) as the
243 <systemitem class="username">root</systemitem> user:
244 </para>
245
246 <para revision="systemd">
247 To start the <command>gdm</command> daemon at boot, enable
248 the previously installed systemd unit by running the following command
249 as the <systemitem class="username">root</systemitem> user:
250 </para>
251
252 <indexterm zone="gdm gdm-init">
253 <primary sortas="f-gdm">gdm</primary>
254 </indexterm>
255
256<screen role="root" revision="sysv"><userinput>make install-gdm &amp;&amp;
257sed /initdefault/s/3/5/ -i /etc/inittab</userinput></screen>
258
259<screen role="root" revision="systemd"><userinput>systemctl enable gdm</userinput></screen>
260
261 </sect3>
262
263 </sect2>
264
265 <sect2 role="content">
266 <title>Contents</title>
267
268 <segmentedlist>
269 <segtitle>Installed Programs</segtitle>
270 <segtitle>Installed Libraries</segtitle>
271 <segtitle>Installed Directories</segtitle>
272
273 <seglistitem>
274 <seg>
275 gdm, gdmflexiserver, and gdm-screenshot
276 </seg>
277 <seg>
278 libgdm.so and pam_gdm.so (PAM Module)
279 </seg>
280 <seg>
281 /etc/gdm,
282 /usr/include/gdm,
283 /usr/share/gdm,
284 /usr/share/help/*/gdm,
285 /var/cache/gdm,
286 /var/lib/gdm,
287 /var/log/gdm, and
288 /var/run/gdm
289 </seg>
290 </seglistitem>
291 </segmentedlist>
292
293 <variablelist>
294 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
295 <?dbfo list-presentation="list"?>
296 <?dbhtml list-presentation="table"?>
297
298 <varlistentry id="gdm-prog">
299 <term><command>gdm</command></term>
300 <listitem>
301 <para>
302 is a login prompt for <application>GNOME</application>.
303 </para>
304 <indexterm zone="gdm gdm-prog">
305 <primary sortas="b-gdm">gdm</primary>
306 </indexterm>
307 </listitem>
308 </varlistentry>
309
310 <varlistentry id="gdm-screenshot">
311 <term><command>gdm-screenshot</command></term>
312 <listitem>
313 <para>
314 is a screenshot tool for <application>GDM</application>.
315 </para>
316 <indexterm zone="gdm gdm-screenshot">
317 <primary sortas="b-gdm-screenshot">gdm-screenshot</primary>
318 </indexterm>
319 </listitem>
320 </varlistentry>
321
322 </variablelist>
323
324 </sect2>
325
326</sect1>
Note: See TracBrowser for help on using the repository browser.