source: gnome/platform/gdm.xml@ 7991b1f

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

Merge to HEAD 21666.
Add lxpolkit and remove LXDE dependencies on consolekit.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/BOOK-elogind@21667 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/&gnome-minor-32;/gdm-&gdm-version;.tar.xz">
8 <!ENTITY gdm-download-ftp "&gnome-download-ftp;/gdm/&gnome-minor-32;/gdm-&gdm-version;.tar.xz">
9 <!ENTITY gdm-md5sum "6aea9c398b2c0edb494c932d5865e877">
10 <!ENTITY gdm-size "1.2 MB">
11 <!ENTITY gdm-buildsize "43 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 &lfs84_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">Additional Downloads</bridgehead>
75 <itemizedlist spacing="compact">
76 <listitem>
77 <para>
78 Required patch:
79 <ulink url="&patch-root;/gdm-&gdm-version;-security_fix-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">Runtime Dependencies</bridgehead>
99 <para role="required">
100 <xref role="runtime" linkend="gnome-session"/>,
101 <xref role="runtime" linkend="gnome-shell"/>, and
102 <phrase revision="sysv"><xref role="runtime" linkend="elogind"/></phrase>
103 <phrase revision="systemd"><xref role="runtime" linkend="systemd"/></phrase>
104 </para>
105
106 <para condition="html" role="usernotes">User Notes:
107 <ulink url="&blfs-wiki;/gdm"/>
108 </para>
109 </sect2>
110
111 <sect2 role="installation">
112 <title>Installation of GDM</title>
113
114 <para>
115 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:
119 </para>
120
121<screen role="root"><userinput>groupadd -g 21 gdm &amp;&amp;
122useradd -c "GDM Daemon Owner" -d /var/lib/gdm -u 21 \
123 -g gdm -s /bin/false gdm &amp;&amp;
124passwd -ql gdm</userinput></screen>
125
126 <para>
127 Install <application>GDM</application> by running the following
128 commands:
129 </para>
130
131<screen revision="sysv"><userinput>sed 's@systemd@elogind@' -i data/pam-lfs/gdm-launch-environment.pam &amp;&amp;
132
133./configure --prefix=/usr \
134 --sysconfdir=/etc \
135 --localstatedir=/var \
136 --without-plymouth \
137 --disable-static \
138 --enable-gdm-xsession \
139 --with-systemdsystemunitdir=no \
140 --with-pam-mod-dir=/lib/security &amp;&amp;
141make</userinput></screen>
142
143<screen revision="systemd"><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 <para>
153 This package does not come with a usable test suite.
154 </para>
155
156 <para>
157 Now, as the <systemitem class="username">root</systemitem> user:
158 </para>
159
160<screen role="root" revision="sysv"><userinput>make install</userinput></screen>
161
162<screen role="root" revision="systemd"><userinput>make install &amp;&amp;
163install -v -m644 data/gdm.service /lib/systemd/system/gdm.service</userinput></screen>
164
165 </sect2>
166
167 <sect2 role="commands">
168 <title>Command Explanations</title>
169
170 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
171 href="../../xincludes/static-libraries.xml"/>
172
173 <para>
174 <option>--with-initial-vt=7</option>: Use this switch
175 to make <application>GDM</application> start on VT7
176 instead of the first free VT.
177 </para>
178
179 <para>
180 <parameter>--without-plymouth</parameter>: GDM now explicitly requires
181 plymouth to be installed. Use this switch to disable this dependency.
182 </para>
183
184 <para>
185 <option>--with-default-pam-config=lfs</option>: Use this
186 switch if you did not create the
187 <filename>/etc/lfs-release</filename> file or distribution
188 auto detection will fail and you will be unable to use
189 <application>GDM</application>.
190 </para>
191
192 <para>
193 <parameter>--enable-gdm-xsession</parameter>: This enables the
194 installation of the <application>GDM</application> Xsession file.
195 </para>
196
197 </sect2>
198
199 <sect2 role="configuration">
200 <title>Configuring GDM</title>
201
202 <sect3 id="gdm-config">
203 <title>Config Files</title>
204
205 <para>
206 <filename>/etc/gdm/custom.conf</filename>
207 </para>
208
209 <indexterm zone="gdm gdm-config">
210 <primary sortas="e-etc-gdm-custom.conf">/etc/gdm/custom.conf</primary>
211 </indexterm>
212
213 </sect3>
214
215 <sect3>
216 <title>Configuration Information</title>
217
218 <para>
219 The GDM daemon is configured using the
220 <filename>/etc/gdm/custom.conf</filename> file. Default values
221 are stored in GSettings in the <filename>gdm.schemas</filename>
222 file. It is recommended that end-users modify the
223 <filename>/etc/gdm/custom.conf</filename> file because the schemas
224 file may be overwritten when the user updates their system to have
225 a newer version of <application>GDM</application>.
226 </para>
227
228 </sect3>
229
230 <sect3 id="gdm-init">
231 <title><phrase revision="sysv">Boot Script</phrase>
232 <phrase revision="systemd">Systemd Unit</phrase></title>
233
234 <para revision="sysv">
235 To start the <command>gdm</command> automatically when the system
236 is booted, install the <filename>/etc/rc.d/init.d/gdm</filename>
237 init script included in the <xref linkend="bootscripts"/> package and
238 set the default runlevel to 5 (graphical login) as the
239 <systemitem class="username">root</systemitem> user:
240 </para>
241
242 <para revision="systemd">
243 To start the <command>gdm</command> daemon at boot, enable
244 the previously installed systemd unit by running the following command
245 as the <systemitem class="username">root</systemitem> user:
246 </para>
247
248 <indexterm zone="gdm gdm-init">
249 <primary sortas="f-gdm">gdm</primary>
250 </indexterm>
251
252 <para revision="sysv">
253 In order to permanently set the default to 5, starting the
254 <command>gdm</command> greeter screen automatically, you can modify
255 <filename>/etc/inittab</filename>. As the <systemitem
256 class="username">root</systemitem> user:
257 </para>
258
259<screen role="root" revision="sysv"><userinput>make install-gdm &amp;&amp;
260sed /initdefault/s/3/5/ -i /etc/inittab</userinput></screen>
261
262 <para revision="sysv">
263 You should also disable default elogind power management:
264 </para>
265
266<screen role="root" revision="sysv"><userinput>cat &gt;&gt; /etc/elogind/logind.conf &lt;&lt; "EOF"
267AllowSuspend=no
268AllowHibernaion=no
269EOF</userinput></screen>
270
271<screen role="root" revision="systemd"><userinput>systemctl enable gdm</userinput></screen>
272
273 </sect3>
274
275 </sect2>
276
277 <sect2 role="content">
278 <title>Contents</title>
279
280 <segmentedlist>
281 <segtitle>Installed Programs</segtitle>
282 <segtitle>Installed Libraries</segtitle>
283 <segtitle>Installed Directories</segtitle>
284
285 <seglistitem>
286 <seg>
287 gdm, gdmflexiserver, and gdm-screenshot
288 </seg>
289 <seg>
290 libgdm.so and pam_gdm.so (PAM Module)
291 </seg>
292 <seg>
293 /etc/gdm,
294 /usr/include/gdm,
295 /usr/share/gdm,
296 /usr/share/help/*/gdm,
297 /var/cache/gdm,
298 /var/lib/gdm,
299 /var/log/gdm, and
300 /var/run/gdm
301 </seg>
302 </seglistitem>
303 </segmentedlist>
304
305 <variablelist>
306 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
307 <?dbfo list-presentation="list"?>
308 <?dbhtml list-presentation="table"?>
309
310 <varlistentry id="gdm-prog">
311 <term><command>gdm</command></term>
312 <listitem>
313 <para>
314 is a login prompt for <application>GNOME</application>.
315 </para>
316 <indexterm zone="gdm gdm-prog">
317 <primary sortas="b-gdm">gdm</primary>
318 </indexterm>
319 </listitem>
320 </varlistentry>
321
322 <varlistentry id="gdm-screenshot">
323 <term><command>gdm-screenshot</command></term>
324 <listitem>
325 <para>
326 is a screenshot tool for <application>GDM</application>.
327 </para>
328 <indexterm zone="gdm gdm-screenshot">
329 <primary sortas="b-gdm-screenshot">gdm-screenshot</primary>
330 </indexterm>
331 </listitem>
332 </varlistentry>
333
334 </variablelist>
335
336 </sect2>
337
338</sect1>
Note: See TracBrowser for help on using the repository browser.