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