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-28;/gdm-&gdm-version;.tar.xz">
|
---|
8 | <!ENTITY gdm-download-ftp "&gnome-download-ftp;/gdm/&gnome-minor-28;/gdm-&gdm-version;.tar.xz">
|
---|
9 | <!ENTITY gdm-md5sum "324e1a04c4520f6984f3a1fe53cb1556">
|
---|
10 | <!ENTITY gdm-size "1.1 MB">
|
---|
11 | <!ENTITY gdm-buildsize "41 MB">
|
---|
12 | <!ENTITY gdm-time "0.3 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="gdm" xreflabel="GDM-&gdm-version;" revision="systemd">
|
---|
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 | &lfs82_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">GDM Dependencies</bridgehead>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
77 | <para role="required">
|
---|
78 | <xref linkend="accountsservice"/>,
|
---|
79 | <xref linkend="gtk3"/>,
|
---|
80 | <xref linkend="iso-codes"/>,
|
---|
81 | <xref linkend="itstool"/>,
|
---|
82 | <xref linkend="libcanberra"/>,
|
---|
83 | <xref linkend="libdaemon"/>, and
|
---|
84 | <xref linkend="linux-pam"/>
|
---|
85 | </para>
|
---|
86 |
|
---|
87 | <!-- <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
88 | <para role="optional">
|
---|
89 | <xref linkend="check"/>
|
---|
90 | </para> -->
|
---|
91 |
|
---|
92 | <bridgehead renderas="sect4">Runtime Dependencies</bridgehead>
|
---|
93 | <para role="required">
|
---|
94 | <xref role="runtime" linkend="gnome-session"/>,
|
---|
95 | <xref role="runtime" linkend="gnome-shell"/>, and
|
---|
96 | <xref role="runtime" linkend="systemd"/>
|
---|
97 | </para>
|
---|
98 |
|
---|
99 | <para condition="html" role="usernotes">User Notes:
|
---|
100 | <ulink url="&blfs-wiki;/gdm"/>
|
---|
101 | </para>
|
---|
102 | </sect2>
|
---|
103 |
|
---|
104 | <sect2 role="installation">
|
---|
105 | <title>Installation of GDM</title>
|
---|
106 |
|
---|
107 | <para>
|
---|
108 | It is recommended to have a dedicated user and group to take
|
---|
109 | control of the <command>gdm</command> daemon after it is
|
---|
110 | started. Issue the following commands as the
|
---|
111 | <systemitem class="username">root</systemitem> user:
|
---|
112 | </para>
|
---|
113 |
|
---|
114 | <screen role="root"><userinput>groupadd -g 21 gdm &&
|
---|
115 | useradd -c "GDM Daemon Owner" -d /var/lib/gdm -u 21 \
|
---|
116 | -g gdm -s /bin/false gdm &&
|
---|
117 | passwd -ql gdm</userinput></screen>
|
---|
118 |
|
---|
119 | <para>
|
---|
120 | Install <application>GDM</application> by running the following
|
---|
121 | commands:
|
---|
122 | </para>
|
---|
123 |
|
---|
124 | <screen><userinput>./configure --prefix=/usr \
|
---|
125 | --sysconfdir=/etc \
|
---|
126 | --localstatedir=/var \
|
---|
127 | --without-plymouth \
|
---|
128 | --disable-static \
|
---|
129 | --enable-gdm-xsession \
|
---|
130 | --with-pam-mod-dir=/lib/security &&
|
---|
131 | make</userinput></screen>
|
---|
132 |
|
---|
133 | <!-- Currently Broken
|
---|
134 | <para>
|
---|
135 | If you have installed <xref linkend="check"/> and you wish to run
|
---|
136 | the testsuite, issue: <command>make check</command>.
|
---|
137 | </para>
|
---|
138 | -->
|
---|
139 | <para>
|
---|
140 | This package does not come with a usable test suite.
|
---|
141 | </para>
|
---|
142 |
|
---|
143 | <para>
|
---|
144 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
145 | </para>
|
---|
146 |
|
---|
147 | <screen role="root"><userinput>make install &&
|
---|
148 | install -v -m644 data/gdm.service /lib/systemd/system/gdm.service</userinput></screen>
|
---|
149 |
|
---|
150 | </sect2>
|
---|
151 |
|
---|
152 | <sect2 role="commands">
|
---|
153 | <title>Command Explanations</title>
|
---|
154 |
|
---|
155 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
156 | href="../../xincludes/static-libraries.xml"/>
|
---|
157 |
|
---|
158 | <para>
|
---|
159 | <option>--with-initial-vt=7</option>: Use this switch
|
---|
160 | to make <application>GDM</application> start on VT7
|
---|
161 | instead of the first free VT.
|
---|
162 | </para>
|
---|
163 |
|
---|
164 | <para>
|
---|
165 | <parameter>--without-plymouth</parameter>: GDM now explicitly requires
|
---|
166 | plymouth to be installed. Use this switch to disable this dependency.
|
---|
167 | </para>
|
---|
168 |
|
---|
169 | <para>
|
---|
170 | <option>--with-default-pam-config=lfs</option>: Use this
|
---|
171 | switch if you did not create the
|
---|
172 | <filename>/etc/lfs-release</filename> file or distribution
|
---|
173 | auto detection will fail and you will be unable to use
|
---|
174 | <application>GDM</application>.
|
---|
175 | </para>
|
---|
176 |
|
---|
177 | <para>
|
---|
178 | <parameter>--enable-gdm-xsession</parameter>: This enables the
|
---|
179 | installation of the <application>GDM</application> Xsession file.
|
---|
180 | </para>
|
---|
181 |
|
---|
182 | </sect2>
|
---|
183 |
|
---|
184 | <sect2 role="configuration">
|
---|
185 | <title>Configuring GDM</title>
|
---|
186 |
|
---|
187 | <sect3 id="gdm-config">
|
---|
188 | <title>Config Files</title>
|
---|
189 |
|
---|
190 | <para>
|
---|
191 | <filename>/etc/gdm/custom.conf</filename>
|
---|
192 | </para>
|
---|
193 |
|
---|
194 | <indexterm zone="gdm gdm-config">
|
---|
195 | <primary sortas="e-etc-gdm-custom.conf">/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. Default values
|
---|
206 | are stored in GSettings in the <filename>gdm.schemas</filename>
|
---|
207 | file. It is recommended that end-users modify the
|
---|
208 | <filename>/etc/gdm/custom.conf</filename> file because the schemas
|
---|
209 | file may be overwritten when the user updates their system to have
|
---|
210 | a newer version of <application>GDM</application>.
|
---|
211 | </para>
|
---|
212 |
|
---|
213 | </sect3>
|
---|
214 |
|
---|
215 | <sect3 id="gdm-init">
|
---|
216 | <title>Systemd Units</title>
|
---|
217 |
|
---|
218 | <para>
|
---|
219 | To start the <command>gdm</command> daemon at boot, enable
|
---|
220 | the previously installed systemd unit by running the following command
|
---|
221 | as the <systemitem class="username">root</systemitem> user:
|
---|
222 | </para>
|
---|
223 |
|
---|
224 | <indexterm zone="gdm gdm-init">
|
---|
225 | <primary sortas="f-gdm">gdm</primary>
|
---|
226 | </indexterm>
|
---|
227 |
|
---|
228 | <screen role="root"><userinput>systemctl enable gdm</userinput></screen>
|
---|
229 |
|
---|
230 | </sect3>
|
---|
231 |
|
---|
232 | </sect2>
|
---|
233 |
|
---|
234 | <sect2 role="content">
|
---|
235 | <title>Contents</title>
|
---|
236 |
|
---|
237 | <segmentedlist>
|
---|
238 | <segtitle>Installed Programs</segtitle>
|
---|
239 | <segtitle>Installed Libraries</segtitle>
|
---|
240 | <segtitle>Installed Directories</segtitle>
|
---|
241 |
|
---|
242 | <seglistitem>
|
---|
243 | <seg>
|
---|
244 | gdm, gdmflexiserver, and gdm-screenshot
|
---|
245 | </seg>
|
---|
246 | <seg>
|
---|
247 | libgdm.so and pam_gdm.so (PAM Module)
|
---|
248 | </seg>
|
---|
249 | <seg>
|
---|
250 | /etc/gdm,
|
---|
251 | /usr/include/gdm,
|
---|
252 | /usr/share/gdm,
|
---|
253 | /usr/share/help/*/gdm,
|
---|
254 | /var/cache/gdm,
|
---|
255 | /var/lib/gdm,
|
---|
256 | /var/log/gdm, and
|
---|
257 | /var/run/gdm
|
---|
258 | </seg>
|
---|
259 | </seglistitem>
|
---|
260 | </segmentedlist>
|
---|
261 |
|
---|
262 | <variablelist>
|
---|
263 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
264 | <?dbfo list-presentation="list"?>
|
---|
265 | <?dbhtml list-presentation="table"?>
|
---|
266 |
|
---|
267 | <varlistentry id="gdm-prog">
|
---|
268 | <term><command>gdm</command></term>
|
---|
269 | <listitem>
|
---|
270 | <para>
|
---|
271 | is a login prompt for <application>GNOME</application>.
|
---|
272 | </para>
|
---|
273 | <indexterm zone="gdm gdm-prog">
|
---|
274 | <primary sortas="b-gdm">gdm</primary>
|
---|
275 | </indexterm>
|
---|
276 | </listitem>
|
---|
277 | </varlistentry>
|
---|
278 |
|
---|
279 | <varlistentry id="gdm-screenshot">
|
---|
280 | <term><command>gdm-screenshot</command></term>
|
---|
281 | <listitem>
|
---|
282 | <para>
|
---|
283 | is a screenshot tool for <application>GDM</application>.
|
---|
284 | </para>
|
---|
285 | <indexterm zone="gdm gdm-screenshot">
|
---|
286 | <primary sortas="b-gdm-screenshot">gdm-screenshot</primary>
|
---|
287 | </indexterm>
|
---|
288 | </listitem>
|
---|
289 | </varlistentry>
|
---|
290 |
|
---|
291 | </variablelist>
|
---|
292 |
|
---|
293 | </sect2>
|
---|
294 |
|
---|
295 | </sect1>
|
---|