[2e704d1b] | 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 |
|
---|
[0129a2f5] | 7 | <!ENTITY gdm-download-http "&gnome-download-http;/gdm/&gnome-minor-22;/gdm-&gdm-version;.tar.xz">
|
---|
| 8 | <!ENTITY gdm-download-ftp "&gnome-download-ftp;/gdm/&gnome-minor-22;/gdm-&gdm-version;.tar.xz">
|
---|
| 9 | <!ENTITY gdm-md5sum "23595a06aa0b3fd93d76b134a16db4c6">
|
---|
[2e704d1b] | 10 | <!ENTITY gdm-size "1.1 MB">
|
---|
[0129a2f5] | 11 | <!ENTITY gdm-buildsize "39 MB (with tests)">
|
---|
[2e704d1b] | 12 | <!ENTITY gdm-time "0.4 SBU (with tests)">
|
---|
| 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 |
|
---|
[f3f96f3] | 38 | &lfs7a_checked;
|
---|
[2e704d1b] | 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"/>,
|
---|
[0129a2f5] | 82 | <xref linkend="libcanberra"/>,
|
---|
| 83 | <xref linkend="libdaemon"/>, and
|
---|
[2e704d1b] | 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 linkend="gnome-session"/>,
|
---|
| 95 | <xref linkend="gnome-shell"/>, and
|
---|
| 96 | <xref 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</userinput></screen>
|
---|
| 117 |
|
---|
| 118 | <para>
|
---|
| 119 | Install <application>GDM</application> by running the following
|
---|
| 120 | commands:
|
---|
| 121 | </para>
|
---|
| 122 |
|
---|
[fd9878e] | 123 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 124 | --sysconfdir=/etc \
|
---|
| 125 | --localstatedir=/var \
|
---|
[3fdc9b0] | 126 | --without-plymouth \
|
---|
[fd9878e] | 127 | --disable-static \
|
---|
| 128 | --enable-gdm-xsession &&
|
---|
[2e704d1b] | 129 | make</userinput></screen>
|
---|
| 130 |
|
---|
| 131 | <para>
|
---|
| 132 | If you have installed <xref linkend="check"/> and you wish to run
|
---|
| 133 | the testsuite, issue: <command>make check</command>.
|
---|
| 134 | </para>
|
---|
| 135 |
|
---|
| 136 | <para>
|
---|
| 137 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 138 | </para>
|
---|
| 139 |
|
---|
| 140 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 141 |
|
---|
| 142 | <para>
|
---|
| 143 | Install the systemd unit by running the following command as the
|
---|
| 144 | <systemitem class="username">root</systemitem> user:
|
---|
| 145 | </para>
|
---|
| 146 |
|
---|
| 147 | <screen role="root"><userinput>install -v -m644 data/gdm.service /lib/systemd/system/gdm.service</userinput></screen>
|
---|
| 148 |
|
---|
| 149 | </sect2>
|
---|
| 150 |
|
---|
| 151 | <sect2 role="commands">
|
---|
| 152 | <title>Command Explanations</title>
|
---|
| 153 |
|
---|
| 154 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 155 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 156 |
|
---|
| 157 | <para>
|
---|
| 158 | <option>--with-initial-vt=7</option>: Use this switch
|
---|
| 159 | to make <application>GDM</application> start on VT7
|
---|
| 160 | instead of the first free VT.
|
---|
| 161 | </para>
|
---|
| 162 |
|
---|
| 163 | <para>
|
---|
[0129a2f5] | 164 | <parameter>--without-plymouth</parameter>: GDM now explicitly requires
|
---|
| 165 | plymouth to be installed. Use this switch to disable this dependency.
|
---|
[2e704d1b] | 166 | </para>
|
---|
| 167 |
|
---|
| 168 | <para>
|
---|
| 169 | <option>--with-default-pam-config=lfs</option>: Use this
|
---|
| 170 | switch if you did not create the
|
---|
| 171 | <filename>/etc/lfs-release</filename> file or distribution
|
---|
| 172 | auto detection will fail and you will be unable to use
|
---|
| 173 | <application>GDM</application>.
|
---|
| 174 | </para>
|
---|
| 175 |
|
---|
[0129a2f5] | 176 | <para>
|
---|
| 177 | <parameter>--enable-gdm-xsession</parameter>: This enables the
|
---|
| 178 | installation of the <application>GDM</application> Xsession file.
|
---|
| 179 | </para>
|
---|
| 180 |
|
---|
[2e704d1b] | 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">/etc/gdm/custom.conf</primary>
|
---|
| 195 | </indexterm>
|
---|
| 196 |
|
---|
| 197 | </sect3>
|
---|
| 198 |
|
---|
| 199 | <sect3>
|
---|
| 200 | <title>Configuration Information</title>
|
---|
| 201 |
|
---|
| 202 | <para>
|
---|
| 203 | The GDM daemon is configured using the
|
---|
| 204 | <filename>/etc/gdm/custom.conf</filename> file. Default values
|
---|
| 205 | are stored in GSettings in the <filename>gdm.schemas</filename>
|
---|
| 206 | file. It is recommended that end-users modify the
|
---|
| 207 | <filename>/etc/gdm/custom.conf</filename> file because the schemas
|
---|
| 208 | file may be overwritten when the user updates their system to have
|
---|
| 209 | a newer version of <application>GDM</application>.
|
---|
| 210 | </para>
|
---|
| 211 |
|
---|
| 212 | </sect3>
|
---|
| 213 |
|
---|
| 214 | <sect3 id="gdm-init">
|
---|
| 215 | <title>Systemd Units</title>
|
---|
| 216 |
|
---|
| 217 | <para>
|
---|
| 218 | To start the <command>gdm</command> daemon at boot, enable
|
---|
| 219 | the previously installed systemd unit by running the following command
|
---|
| 220 | as the <systemitem class="username">root</systemitem> user:
|
---|
| 221 | </para>
|
---|
| 222 |
|
---|
| 223 | <indexterm zone="gdm gdm-init">
|
---|
| 224 | <primary sortas="f-gdm">gdm</primary>
|
---|
| 225 | </indexterm>
|
---|
| 226 |
|
---|
| 227 | <screen role="root"><userinput>systemctl enable gdm</userinput></screen>
|
---|
| 228 |
|
---|
| 229 | </sect3>
|
---|
| 230 |
|
---|
| 231 | </sect2>
|
---|
| 232 |
|
---|
| 233 | <sect2 role="content">
|
---|
| 234 | <title>Contents</title>
|
---|
| 235 |
|
---|
| 236 | <segmentedlist>
|
---|
| 237 | <segtitle>Installed Programs</segtitle>
|
---|
| 238 | <segtitle>Installed Libraries</segtitle>
|
---|
| 239 | <segtitle>Installed Directories</segtitle>
|
---|
| 240 |
|
---|
| 241 | <seglistitem>
|
---|
| 242 | <seg>
|
---|
| 243 | gdm, gdmflexiserver, and gdm-screenshot
|
---|
| 244 | </seg>
|
---|
| 245 | <seg>
|
---|
[0129a2f5] | 246 | libgdm.so and pam_gdm.so (PAM Module)
|
---|
[2e704d1b] | 247 | </seg>
|
---|
| 248 | <seg>
|
---|
| 249 | /etc/gdm,
|
---|
| 250 | /usr/include/gdm,
|
---|
| 251 | /usr/share/gdm,
|
---|
| 252 | /usr/share/help/*/gdm,
|
---|
| 253 | /var/cache/gdm,
|
---|
| 254 | /var/lib/gdm,
|
---|
| 255 | /var/log/gdm, and
|
---|
| 256 | /var/run/gdm
|
---|
| 257 | </seg>
|
---|
| 258 | </seglistitem>
|
---|
| 259 | </segmentedlist>
|
---|
| 260 |
|
---|
| 261 | <variablelist>
|
---|
| 262 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 263 | <?dbfo list-presentation="list"?>
|
---|
| 264 | <?dbhtml list-presentation="table"?>
|
---|
| 265 |
|
---|
| 266 | <varlistentry id="gdm-prog">
|
---|
| 267 | <term><command>gdm</command></term>
|
---|
| 268 | <listitem>
|
---|
| 269 | <para>
|
---|
[0129a2f5] | 270 | is a login prompt for <application>GNOME</application>.
|
---|
[2e704d1b] | 271 | </para>
|
---|
| 272 | <indexterm zone="gdm gdm-prog">
|
---|
| 273 | <primary sortas="b-gdm">gdm</primary>
|
---|
| 274 | </indexterm>
|
---|
| 275 | </listitem>
|
---|
| 276 | </varlistentry>
|
---|
| 277 |
|
---|
| 278 | <varlistentry id="gdm-screenshot">
|
---|
| 279 | <term><command>gdm-screenshot</command></term>
|
---|
| 280 | <listitem>
|
---|
| 281 | <para>
|
---|
[0129a2f5] | 282 | is a screenshot tool for <application>GDM</application>.
|
---|
[2e704d1b] | 283 | </para>
|
---|
| 284 | <indexterm zone="gdm gdm-screenshot">
|
---|
| 285 | <primary sortas="b-gdm-screenshot">gdm-screenshot</primary>
|
---|
| 286 | </indexterm>
|
---|
| 287 | </listitem>
|
---|
| 288 | </varlistentry>
|
---|
| 289 |
|
---|
| 290 | </variablelist>
|
---|
| 291 |
|
---|
| 292 | </sect2>
|
---|
| 293 |
|
---|
| 294 | </sect1>
|
---|