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