[9d2dc4e2] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[9d2dc4e2] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[cfe2f1b6] | 7 | <!ENTITY gdm-download-http "&gnome-download-http;/gdm/3.4/gdm-&gdm-version;.tar.xz">
|
---|
| 8 | <!ENTITY gdm-download-ftp "&gnome-download-ftp;/gdm/3.4/gdm-&gdm-version;.tar.xz">
|
---|
| 9 | <!ENTITY gdm-md5sum "fda0470340f9c0bc2f8daccb280af520">
|
---|
[3839649] | 10 | <!ENTITY gdm-size "1.6 MB">
|
---|
[cfe2f1b6] | 11 | <!ENTITY gdm-buildsize "50 MB">
|
---|
| 12 | <!ENTITY gdm-time "0.8 SBU">
|
---|
[9d2dc4e2] | 13 | ]>
|
---|
| 14 |
|
---|
[91557b0] | 15 | <sect1 id="gdm" xreflabel="GDM-&gdm-version;">
|
---|
[0ed3f7f] | 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">
|
---|
[7ded7e3] | 26 | <primary sortas="a-gdm">gdm</primary>
|
---|
[0ed3f7f] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to GDM</title>
|
---|
| 31 |
|
---|
[7ded7e3] | 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>
|
---|
[0ed3f7f] | 37 |
|
---|
[06936b84] | 38 | &lfs70_checked;
|
---|
[3b4770b] | 39 |
|
---|
[0ed3f7f] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
[7ded7e3] | 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&gdm-download-http;"/>
|
---|
| 45 | </para>
|
---|
[0ed3f7f] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[7ded7e3] | 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&gdm-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
[0ed3f7f] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[7ded7e3] | 53 | <para>
|
---|
| 54 | Download MD5 sum: &gdm-md5sum;
|
---|
| 55 | </para>
|
---|
[0ed3f7f] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[7ded7e3] | 58 | <para>
|
---|
| 59 | Download size: &gdm-size;
|
---|
| 60 | </para>
|
---|
[0ed3f7f] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[7ded7e3] | 63 | <para>
|
---|
| 64 | Estimated disk space required: &gdm-buildsize;
|
---|
| 65 | </para>
|
---|
[0ed3f7f] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[7ded7e3] | 68 | <para>
|
---|
| 69 | Estimated build time: &gdm-time;
|
---|
| 70 | </para>
|
---|
[0ed3f7f] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
[cfe2f1b6] | 74 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[3b4770b] | 75 | <itemizedlist spacing="compact">
|
---|
| 76 | <listitem>
|
---|
[7ded7e3] | 77 | <para>
|
---|
| 78 | Required patch:
|
---|
| 79 | <ulink url="&patch-root;/gdm-&gdm-version;-vt-allocation-hack-1.patch"/>
|
---|
| 80 | </para>
|
---|
[1b46c878] | 81 | </listitem>
|
---|
[cfe2f1b6] | 82 | <listitem>
|
---|
[7ded7e3] | 83 | <para>
|
---|
| 84 | Required patch:
|
---|
| 85 | <ulink url="&patch-root;/gdm-&gdm-version;-blfs-patch-1.patch"/>
|
---|
| 86 | </para>
|
---|
[cfe2f1b6] | 87 | </listitem>
|
---|
| 88 | </itemizedlist>
|
---|
[3b4770b] | 89 |
|
---|
[0ed3f7f] | 90 | <bridgehead renderas="sect3">GDM Dependencies</bridgehead>
|
---|
| 91 |
|
---|
| 92 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[cfe2f1b6] | 93 | <para role="required">
|
---|
| 94 | <xref linkend="accountsservice"/>,
|
---|
| 95 | <xref linkend="dconf"/>,
|
---|
[4c2be438] | 96 | <xref linkend="gnome-doc-utils"/>,
|
---|
[cfe2f1b6] | 97 | <xref linkend="gtk3"/>,
|
---|
| 98 | <xref linkend="libcanberra"/>,
|
---|
| 99 | <xref linkend="linux-pam"/> and
|
---|
| 100 | <xref linkend="nss"/>
|
---|
| 101 | </para>
|
---|
| 102 |
|
---|
| 103 | <bridgehead renderas="sect4">Required (runtime)</bridgehead>
|
---|
| 104 | <para role="required">
|
---|
| 105 | <xref linkend="gnome-session"/> and either
|
---|
| 106 | <xref linkend="gnome-shell"/> or
|
---|
| 107 | <xref linkend="gnome-panel"/> and
|
---|
| 108 | <xref linkend="metacity"/> (for the Greeter Window Manager).
|
---|
| 109 | </para>
|
---|
[0ed3f7f] | 110 |
|
---|
[fc516d9] | 111 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[cfe2f1b6] | 112 | <para role="recommended">
|
---|
| 113 | <xref linkend="consolekit"/>
|
---|
| 114 | (Required for Shutdown/Restart functionality),
|
---|
[4c2be438] | 115 | <xref linkend="gobject-introspection"/>,
|
---|
| 116 | <xref linkend="libxklavier"/>,
|
---|
| 117 | <xref linkend="rarian"/> and
|
---|
[cfe2f1b6] | 118 | <xref linkend="upower"/>
|
---|
| 119 | </para>
|
---|
[fc516d9] | 120 |
|
---|
[0ed3f7f] | 121 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[7a6d35b] | 122 | <para role="optional">
|
---|
[bc6e56d] | 123 | <xref linkend="check"/> (required to run the testsuite)
|
---|
[cfe2f1b6] | 124 | </para>
|
---|
[0ed3f7f] | 125 |
|
---|
[0a7c3921] | 126 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 127 | <ulink url="&blfs-wiki;/gdm"/>
|
---|
| 128 | </para>
|
---|
[0ed3f7f] | 129 | </sect2>
|
---|
| 130 |
|
---|
| 131 | <sect2 role="installation">
|
---|
| 132 | <title>Installation of GDM</title>
|
---|
| 133 |
|
---|
[7ded7e3] | 134 | <para>
|
---|
| 135 | It is recommended to have a dedicated user and group to take
|
---|
| 136 | control of the <command>gdm</command> daemon after it is
|
---|
| 137 | started. Issue the following commands as the
|
---|
| 138 | <systemitem class="username">root</systemitem> user:
|
---|
| 139 | </para>
|
---|
[1ab6a6c9] | 140 |
|
---|
[8c62c89] | 141 | <screen role="root"><userinput>groupadd -g 21 gdm &&
|
---|
[4f9a388] | 142 | useradd -c "GDM Daemon Owner" -d /var/lib/gdm -u 21 \
|
---|
[8c62c89] | 143 | -g gdm -s /bin/false gdm &&
|
---|
| 144 | usermod -a -G audio gdm &&
|
---|
| 145 | usermod -a -G video gdm</userinput></screen>
|
---|
[1ab6a6c9] | 146 |
|
---|
[7ded7e3] | 147 | <para>
|
---|
| 148 | Install <application>GDM</application> by running the following
|
---|
| 149 | commands:
|
---|
| 150 | </para>
|
---|
[0ed3f7f] | 151 |
|
---|
[cfe2f1b6] | 152 | <screen><userinput>patch -Np1 -i ../gdm-&gdm-version;-vt-allocation-hack-1.patch &&
|
---|
| 153 | patch -Np1 -i ../gdm-&gdm-version;-blfs-patch-1.patch &&
|
---|
| 154 | ./configure --prefix=/usr \
|
---|
| 155 | --sysconfdir=/etc \
|
---|
[3b4770b] | 156 | --localstatedir=/var \
|
---|
[cfe2f1b6] | 157 | --libexecdir=/usr/lib/gdm \
|
---|
| 158 | --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \
|
---|
| 159 | --disable-static &&
|
---|
[1ab6a6c9] | 160 | make</userinput></screen>
|
---|
| 161 |
|
---|
[7ded7e3] | 162 | <para>
|
---|
| 163 | If you have installed <xref linkend="check"/> and you wish to run
|
---|
| 164 | the testsuite, issue: <command>make check</command>.
|
---|
| 165 | </para>
|
---|
[1ab6a6c9] | 166 |
|
---|
[7ded7e3] | 167 | <para>
|
---|
| 168 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 169 | </para>
|
---|
[1ab6a6c9] | 170 |
|
---|
[7ded7e3] | 171 | <screen role="root"><userinput>make install &&
|
---|
[cfe2f1b6] | 172 | chown -R -v gdm:gdm /var/lib/gdm /var/cache/gdm /var/log/gdm
|
---|
[06936b84] | 173 | </userinput></screen>
|
---|
| 174 |
|
---|
[0ed3f7f] | 175 | </sect2>
|
---|
[9d2dc4e2] | 176 |
|
---|
[0ed3f7f] | 177 | <sect2 role="commands">
|
---|
| 178 | <title>Command Explanations</title>
|
---|
[9d2dc4e2] | 179 |
|
---|
[7ded7e3] | 180 | <para>
|
---|
| 181 | <parameter>--libexecdir=/usr/lib/gdm</parameter>: This
|
---|
| 182 | parameter is used so that the <application>GDM</application> internal
|
---|
| 183 | support programs are installed in the preferred location of <filename
|
---|
| 184 | class="directory">/usr/lib/gdm</filename> instead of <filename
|
---|
| 185 | class="directory">/usr/libexec</filename>.
|
---|
| 186 | </para>
|
---|
[9d2dc4e2] | 187 |
|
---|
[cfe2f1b6] | 188 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7ded7e3] | 189 | href="../../xincludes/static-libraries.xml"/>
|
---|
[06936b84] | 190 |
|
---|
[4c2be438] | 191 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7ded7e3] | 192 | href="../../xincludes/without-scrollkeeper.xml"/>
|
---|
[4c2be438] | 193 |
|
---|
[0ed3f7f] | 194 | </sect2>
|
---|
[9d2dc4e2] | 195 |
|
---|
[0ed3f7f] | 196 | <sect2 role="configuration">
|
---|
| 197 | <title>Configuring GDM</title>
|
---|
[9d2dc4e2] | 198 |
|
---|
[0ed3f7f] | 199 | <sect3 id="gdm-config">
|
---|
| 200 | <title>Config Files</title>
|
---|
[9d2dc4e2] | 201 |
|
---|
[cfe2f1b6] | 202 | <para><filename>/etc/gdm/custom.conf</filename></para>
|
---|
[9d2dc4e2] | 203 |
|
---|
[0ed3f7f] | 204 | <indexterm zone="gdm gdm-config">
|
---|
[cfe2f1b6] | 205 | <primary sortas="e-etc-gdm-custom.conf">
|
---|
| 206 | /etc/gdm/custom.conf</primary>
|
---|
[0ed3f7f] | 207 | </indexterm>
|
---|
[bd0a1b0] | 208 |
|
---|
[0ed3f7f] | 209 | </sect3>
|
---|
| 210 |
|
---|
| 211 | <sect3>
|
---|
| 212 | <title>Configuration Information</title>
|
---|
| 213 |
|
---|
[7ded7e3] | 214 | <para>
|
---|
| 215 | The GDM daemon is configured using the
|
---|
| 216 | <filename>/etc/gdm/custom.conf</filename> file.
|
---|
| 217 | Default values are stored in GConf in the
|
---|
| 218 | <filename>gdm.schemas</filename> file. It is recommended that end-users
|
---|
| 219 | modify the <filename>/etc/gdm/custom.conf</filename> file
|
---|
| 220 | because the schemas file may be overwritten when the user updates their
|
---|
| 221 | system to have a newer version of GDM.
|
---|
| 222 | </para>
|
---|
[ca109fa5] | 223 |
|
---|
[fcc42ef2] | 224 | <important>
|
---|
[7ded7e3] | 225 | <para>
|
---|
| 226 | If the system-wide <application>D-BUS</application> daemon was
|
---|
| 227 | running during the installation of <application>gdm</application>,
|
---|
| 228 | ensure you stop and restart the <application>D-BUS</application>
|
---|
| 229 | daemon before attempting to start <command>gdm</command>.
|
---|
| 230 | </para>
|
---|
[fcc42ef2] | 231 | </important>
|
---|
| 232 |
|
---|
[7ded7e3] | 233 | <para>
|
---|
| 234 | <command>gdm</command> can be tested by executing it as the
|
---|
| 235 | <systemitem class="username">root</systemitem> user. If you wish to stop
|
---|
| 236 | it you will need to go to a different tty and then kill it.
|
---|
| 237 | </para>
|
---|
[0ed3f7f] | 238 |
|
---|
| 239 | </sect3>
|
---|
| 240 |
|
---|
[1ab6a6c9] | 241 | <sect3 id="gdm-init">
|
---|
[0ed3f7f] | 242 | <title>Boot Script</title>
|
---|
| 243 |
|
---|
[7ded7e3] | 244 | <para>
|
---|
| 245 | To start a graphical login when the system is booted, install the
|
---|
| 246 | <filename>/etc/rc.d/init.d/gdm</filename> init script included in the
|
---|
| 247 | <xref linkend="bootscripts"/> package.
|
---|
| 248 | </para>
|
---|
[0ed3f7f] | 249 |
|
---|
| 250 | <indexterm zone="gdm gdm-init">
|
---|
| 251 | <primary sortas="f-gdm">gdm</primary>
|
---|
| 252 | </indexterm>
|
---|
| 253 |
|
---|
| 254 | <screen role="root"><userinput>make install-gdm</userinput></screen>
|
---|
| 255 |
|
---|
[7ded7e3] | 256 | <para>
|
---|
| 257 | Now edit <filename>/etc/inittab</filename> with the following
|
---|
| 258 | commands.
|
---|
| 259 | </para>
|
---|
[0ed3f7f] | 260 |
|
---|
[4f9a388] | 261 | <screen role="root"><userinput>sed -i 's/id:3:initdefault:/id:5:initdefault:/' \
|
---|
| 262 | /etc/inittab</userinput></screen>
|
---|
[0ed3f7f] | 263 |
|
---|
| 264 | </sect3>
|
---|
| 265 |
|
---|
| 266 | </sect2>
|
---|
| 267 |
|
---|
| 268 | <sect2 role="content">
|
---|
| 269 | <title>Contents</title>
|
---|
| 270 |
|
---|
| 271 | <segmentedlist>
|
---|
| 272 | <segtitle>Installed Programs</segtitle>
|
---|
| 273 | <segtitle>Installed Libraries</segtitle>
|
---|
| 274 | <segtitle>Installed Directories</segtitle>
|
---|
| 275 |
|
---|
| 276 | <seglistitem>
|
---|
[cfe2f1b6] | 277 | <seg>
|
---|
| 278 | gdm, gdmflexiserver and gdm-screenshot
|
---|
| 279 | </seg>
|
---|
| 280 | <seg>
|
---|
| 281 | libgdmgreeter.so and libgdmsimplegreeter.so
|
---|
| 282 | </seg>
|
---|
| 283 | <seg>
|
---|
[7ded7e3] | 284 | /etc/dconf/db/gdm.d,
|
---|
| 285 | /etc/gdm,
|
---|
| 286 | /usr/include/gdm,
|
---|
| 287 | /usr/lib/gdm,
|
---|
| 288 | /usr/share/gdm,
|
---|
| 289 | /usr/share/gnome/help/gdm,
|
---|
| 290 | /usr/share/omf/gdm and
|
---|
| 291 | /var/{cache,lib,log,run}/gdm
|
---|
[cfe2f1b6] | 292 | </seg>
|
---|
[0ed3f7f] | 293 | </seglistitem>
|
---|
| 294 | </segmentedlist>
|
---|
| 295 |
|
---|
| 296 | <variablelist>
|
---|
| 297 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 298 | <?dbfo list-presentation="list"?>
|
---|
| 299 | <?dbhtml list-presentation="table"?>
|
---|
| 300 |
|
---|
[cfe2f1b6] | 301 | <varlistentry id="gdm-prog">
|
---|
| 302 | <term><command>gdm</command></term>
|
---|
| 303 | <listitem>
|
---|
[7ded7e3] | 304 | <para>
|
---|
| 305 | is the <application>GNOME</application> based login prompt.
|
---|
| 306 | </para>
|
---|
[cfe2f1b6] | 307 | <indexterm zone="gdm gdm-prog">
|
---|
| 308 | <primary sortas="b-gdm">gdm</primary>
|
---|
| 309 | </indexterm>
|
---|
| 310 | </listitem>
|
---|
| 311 | </varlistentry>
|
---|
| 312 |
|
---|
[3b4770b] | 313 | <varlistentry id="gdmflexiserver">
|
---|
| 314 | <term><command>gdmflexiserver</command></term>
|
---|
| 315 | <listitem>
|
---|
[7ded7e3] | 316 | <para>
|
---|
| 317 | is the flexi server mechanism which allows to run
|
---|
| 318 | <application>GDM sessions</application>
|
---|
| 319 | on demand in a new virtual console.
|
---|
| 320 | </para>
|
---|
[3b4770b] | 321 | <indexterm zone="gdm gdmflexiserver">
|
---|
| 322 | <primary sortas="b-gdmflexiserver">gdmflexiserver</primary>
|
---|
| 323 | </indexterm>
|
---|
| 324 | </listitem>
|
---|
| 325 | </varlistentry>
|
---|
| 326 |
|
---|
| 327 | <varlistentry id="gdm-screenshot">
|
---|
| 328 | <term><command>gdm-screenshot</command></term>
|
---|
| 329 | <listitem>
|
---|
[7ded7e3] | 330 | <para>
|
---|
| 331 | is a screenshot tool.
|
---|
| 332 | </para>
|
---|
[3b4770b] | 333 | <indexterm zone="gdm gdm-screenshot">
|
---|
| 334 | <primary sortas="b-gdm-screenshot">gdm-screenshot</primary>
|
---|
| 335 | </indexterm>
|
---|
| 336 | </listitem>
|
---|
| 337 | </varlistentry>
|
---|
| 338 |
|
---|
[0ed3f7f] | 339 | </variablelist>
|
---|
| 340 |
|
---|
| 341 | </sect2>
|
---|
[91557b0] | 342 |
|
---|
| 343 | </sect1>
|
---|