[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 |
|
---|
[5a6cb8b] | 7 | <!ENTITY gdm-download-http "&gnome-download-http;/gdm/&gnome-minor14;/gdm-&gdm-version;.tar.xz">
|
---|
| 8 | <!ENTITY gdm-download-ftp "&gnome-download-ftp;/gdm/&gnome-minor14;/gdm-&gdm-version;.tar.xz">
|
---|
[c8ef170] | 9 | <!ENTITY gdm-md5sum "6ebb3c1a694c58651f3e1116ff3f542d">
|
---|
[5a6cb8b] | 10 | <!ENTITY gdm-size "1.4 MB">
|
---|
[c8ef170] | 11 | <!ENTITY gdm-buildsize "30.9 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 |
|
---|
[b09f386] | 38 | &lfs76_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"/>,
|
---|
[09140ef] | 81 | <xref linkend="libcanberra"/>,
|
---|
[445f880] | 82 | <xref linkend="linux-pam"/>, and
|
---|
| 83 | <xref linkend="yelp-xsl"/>
|
---|
[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
|
---|
| 95 | <xref linkend="systemd"/> (for Logind)
|
---|
[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 \
|
---|
[445f880] | 125 | --disable-static &&
|
---|
[09140ef] | 126 | make</userinput></screen>
|
---|
| 127 |
|
---|
| 128 | <para>
|
---|
| 129 | If you have installed <xref linkend="check"/> and you wish to run
|
---|
| 130 | the testsuite, issue: <command>make check</command>.
|
---|
| 131 | </para>
|
---|
| 132 |
|
---|
[562810de] | 133 | <para>
|
---|
| 134 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 135 | </para>
|
---|
| 136 |
|
---|
| 137 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 138 |
|
---|
[445f880] | 139 | <para>
|
---|
| 140 | Install the systemd unit by running the following command as the
|
---|
| 141 | <systemitem class="username">root</systemitem> user:
|
---|
| 142 | </para>
|
---|
| 143 |
|
---|
| 144 | <screen role="root"><userinput>install -v -m644 data/gdm.service /lib/systemd/system/gdm.service</userinput></screen>
|
---|
| 145 |
|
---|
[09140ef] | 146 | </sect2>
|
---|
| 147 |
|
---|
| 148 | <sect2 role="commands">
|
---|
| 149 | <title>Command Explanations</title>
|
---|
| 150 |
|
---|
[445f880] | 151 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 152 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 153 |
|
---|
[09140ef] | 154 | <para>
|
---|
[445f880] | 155 | <option>--with-initial-vt=7</option>: Use this switch
|
---|
| 156 | to make <application>GDM</application> start on VT7
|
---|
[09140ef] | 157 | instead of the first free VT.
|
---|
| 158 | </para>
|
---|
| 159 |
|
---|
| 160 | <para>
|
---|
[445f880] | 161 | <option>--with-default-pam-config=lfs</option>: Use this
|
---|
| 162 | switch if you did not create the
|
---|
| 163 | <filename>/etc/lfs-release</filename> file or distribution
|
---|
| 164 | auto detection will fail and you will be unable to use
|
---|
| 165 | <application>GDM</application>.
|
---|
[09140ef] | 166 | </para>
|
---|
| 167 |
|
---|
| 168 | </sect2>
|
---|
| 169 |
|
---|
| 170 | <sect2 role="configuration">
|
---|
| 171 | <title>Configuring GDM</title>
|
---|
| 172 |
|
---|
| 173 | <sect3 id="gdm-config">
|
---|
| 174 | <title>Config Files</title>
|
---|
| 175 |
|
---|
| 176 | <para>
|
---|
| 177 | <filename>/etc/gdm/custom.conf</filename>
|
---|
| 178 | </para>
|
---|
| 179 |
|
---|
| 180 | <indexterm zone="gdm gdm-config">
|
---|
[445f880] | 181 | <primary sortas="e-etc-gdm-custom.conf">/etc/gdm/custom.conf</primary>
|
---|
[09140ef] | 182 | </indexterm>
|
---|
| 183 |
|
---|
| 184 | </sect3>
|
---|
| 185 |
|
---|
| 186 | <sect3>
|
---|
| 187 | <title>Configuration Information</title>
|
---|
| 188 |
|
---|
| 189 | <para>
|
---|
| 190 | The GDM daemon is configured using the
|
---|
[445f880] | 191 | <filename>/etc/gdm/custom.conf</filename> file. Default values
|
---|
| 192 | are stored in GSettings in the <filename>gdm.schemas</filename>
|
---|
| 193 | file. It is recommended that end-users modify the
|
---|
| 194 | <filename>/etc/gdm/custom.conf</filename> file because the schemas
|
---|
| 195 | file may be overwritten when the user updates their system to have
|
---|
| 196 | a newer version of <application>GDM</application>.
|
---|
[09140ef] | 197 | </para>
|
---|
| 198 |
|
---|
| 199 | </sect3>
|
---|
| 200 |
|
---|
[6b0840d] | 201 | <sect3 id="gdm-init">
|
---|
[445f880] | 202 | <title>Systemd Units</title>
|
---|
[09140ef] | 203 |
|
---|
| 204 | <para>
|
---|
[445f880] | 205 | To start the <command>gdm</command> daemon at boot, enable
|
---|
| 206 | the previously installed systemd unit by running the following command
|
---|
| 207 | as the <systemitem class="username">root</systemitem> user:
|
---|
[09140ef] | 208 | </para>
|
---|
| 209 |
|
---|
[6b0840d] | 210 | <indexterm zone="gdm gdm-init">
|
---|
[09140ef] | 211 | <primary sortas="f-gdm">gdm</primary>
|
---|
| 212 | </indexterm>
|
---|
| 213 |
|
---|
| 214 | <screen role="root"><userinput>systemctl enable gdm</userinput></screen>
|
---|
| 215 |
|
---|
| 216 | </sect3>
|
---|
| 217 |
|
---|
| 218 | </sect2>
|
---|
| 219 |
|
---|
| 220 | <sect2 role="content">
|
---|
| 221 | <title>Contents</title>
|
---|
| 222 |
|
---|
| 223 | <segmentedlist>
|
---|
| 224 | <segtitle>Installed Programs</segtitle>
|
---|
| 225 | <segtitle>Installed Libraries</segtitle>
|
---|
| 226 | <segtitle>Installed Directories</segtitle>
|
---|
| 227 |
|
---|
| 228 | <seglistitem>
|
---|
| 229 | <seg>
|
---|
[445f880] | 230 | gdm, gdmflexiserver, and gdm-screenshot
|
---|
[09140ef] | 231 | </seg>
|
---|
| 232 | <seg>
|
---|
[6b0840d] | 233 | libgdm.so
|
---|
[09140ef] | 234 | </seg>
|
---|
| 235 | <seg>
|
---|
| 236 | /etc/gdm,
|
---|
| 237 | /usr/include/gdm,
|
---|
| 238 | /usr/share/gdm,
|
---|
[445f880] | 239 | /usr/share/help/*/gdm,
|
---|
[09140ef] | 240 | /var/cache/gdm,
|
---|
| 241 | /var/lib/gdm,
|
---|
[445f880] | 242 | /var/log/gdm, and
|
---|
[09140ef] | 243 | /var/run/gdm
|
---|
| 244 | </seg>
|
---|
| 245 | </seglistitem>
|
---|
| 246 | </segmentedlist>
|
---|
| 247 |
|
---|
| 248 | <variablelist>
|
---|
| 249 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 250 | <?dbfo list-presentation="list"?>
|
---|
| 251 | <?dbhtml list-presentation="table"?>
|
---|
| 252 |
|
---|
| 253 | <varlistentry id="gdm-prog">
|
---|
| 254 | <term><command>gdm</command></term>
|
---|
| 255 | <listitem>
|
---|
| 256 | <para>
|
---|
| 257 | is the <application>GNOME</application> based login prompt.
|
---|
| 258 | </para>
|
---|
| 259 | <indexterm zone="gdm gdm-prog">
|
---|
| 260 | <primary sortas="b-gdm">gdm</primary>
|
---|
| 261 | </indexterm>
|
---|
| 262 | </listitem>
|
---|
| 263 | </varlistentry>
|
---|
| 264 |
|
---|
| 265 | <varlistentry id="gdm-screenshot">
|
---|
| 266 | <term><command>gdm-screenshot</command></term>
|
---|
| 267 | <listitem>
|
---|
| 268 | <para>
|
---|
| 269 | is a <application>GDM</application> screenshot tool.
|
---|
| 270 | </para>
|
---|
| 271 | <indexterm zone="gdm gdm-screenshot">
|
---|
| 272 | <primary sortas="b-gdm-screenshot">gdm-screenshot</primary>
|
---|
| 273 | </indexterm>
|
---|
| 274 | </listitem>
|
---|
| 275 | </varlistentry>
|
---|
| 276 |
|
---|
| 277 | </variablelist>
|
---|
| 278 |
|
---|
| 279 | </sect2>
|
---|
| 280 |
|
---|
| 281 | </sect1>
|
---|