[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">
|
---|
[4c2be438] | 123 | <xref linkend="check"/> (required to run the testsuite) and
|
---|
[cfe2f1b6] | 124 | <xref linkend="tcpwrappers"/>
|
---|
| 125 | </para>
|
---|
[0ed3f7f] | 126 |
|
---|
[0a7c3921] | 127 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 128 | <ulink url="&blfs-wiki;/gdm"/>
|
---|
| 129 | </para>
|
---|
[0ed3f7f] | 130 | </sect2>
|
---|
| 131 |
|
---|
| 132 | <sect2 role="installation">
|
---|
| 133 | <title>Installation of GDM</title>
|
---|
| 134 |
|
---|
[7ded7e3] | 135 | <para>
|
---|
| 136 | It is recommended to have a dedicated user and group to take
|
---|
| 137 | control of the <command>gdm</command> daemon after it is
|
---|
| 138 | started. Issue the following commands as the
|
---|
| 139 | <systemitem class="username">root</systemitem> user:
|
---|
| 140 | </para>
|
---|
[1ab6a6c9] | 141 |
|
---|
[7ded7e3] | 142 | <screen role="root"><userinput>groupadd -fg 21 gdm &&
|
---|
[4f9a388] | 143 | useradd -c "GDM Daemon Owner" -d /var/lib/gdm -u 21 \
|
---|
[cfe2f1b6] | 144 | -g gdm -s /bin/false gdm</userinput></screen>
|
---|
[1ab6a6c9] | 145 |
|
---|
[7ded7e3] | 146 | <para>
|
---|
| 147 | Install <application>GDM</application> by running the following
|
---|
| 148 | commands:
|
---|
| 149 | </para>
|
---|
[0ed3f7f] | 150 |
|
---|
[cfe2f1b6] | 151 | <screen><userinput>patch -Np1 -i ../gdm-&gdm-version;-vt-allocation-hack-1.patch &&
|
---|
| 152 | patch -Np1 -i ../gdm-&gdm-version;-blfs-patch-1.patch &&
|
---|
| 153 | ./configure --prefix=/usr \
|
---|
| 154 | --sysconfdir=/etc \
|
---|
[3b4770b] | 155 | --localstatedir=/var \
|
---|
[cfe2f1b6] | 156 | --libexecdir=/usr/lib/gdm \
|
---|
| 157 | --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \
|
---|
| 158 | --disable-static &&
|
---|
[1ab6a6c9] | 159 | make</userinput></screen>
|
---|
| 160 |
|
---|
[7ded7e3] | 161 | <para>
|
---|
| 162 | If you have installed <xref linkend="check"/> and you wish to run
|
---|
| 163 | the testsuite, issue: <command>make check</command>.
|
---|
| 164 | </para>
|
---|
[1ab6a6c9] | 165 |
|
---|
[7ded7e3] | 166 | <para>
|
---|
| 167 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 168 | </para>
|
---|
[1ab6a6c9] | 169 |
|
---|
[7ded7e3] | 170 | <screen role="root"><userinput>make install &&
|
---|
[cfe2f1b6] | 171 | chown -R -v gdm:gdm /var/lib/gdm /var/cache/gdm /var/log/gdm
|
---|
[06936b84] | 172 | </userinput></screen>
|
---|
| 173 |
|
---|
[0ed3f7f] | 174 | </sect2>
|
---|
[9d2dc4e2] | 175 |
|
---|
[0ed3f7f] | 176 | <sect2 role="commands">
|
---|
| 177 | <title>Command Explanations</title>
|
---|
[9d2dc4e2] | 178 |
|
---|
[7ded7e3] | 179 | <para>
|
---|
| 180 | <parameter>--libexecdir=/usr/lib/gdm</parameter>: This
|
---|
| 181 | parameter is used so that the <application>GDM</application> internal
|
---|
| 182 | support programs are installed in the preferred location of <filename
|
---|
| 183 | class="directory">/usr/lib/gdm</filename> instead of <filename
|
---|
| 184 | class="directory">/usr/libexec</filename>.
|
---|
| 185 | </para>
|
---|
[9d2dc4e2] | 186 |
|
---|
[cfe2f1b6] | 187 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7ded7e3] | 188 | href="../../xincludes/static-libraries.xml"/>
|
---|
[06936b84] | 189 |
|
---|
[4c2be438] | 190 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7ded7e3] | 191 | href="../../xincludes/without-scrollkeeper.xml"/>
|
---|
[4c2be438] | 192 |
|
---|
[0ed3f7f] | 193 | </sect2>
|
---|
[9d2dc4e2] | 194 |
|
---|
[0ed3f7f] | 195 | <sect2 role="configuration">
|
---|
| 196 | <title>Configuring GDM</title>
|
---|
[9d2dc4e2] | 197 |
|
---|
[0ed3f7f] | 198 | <sect3 id="gdm-config">
|
---|
| 199 | <title>Config Files</title>
|
---|
[9d2dc4e2] | 200 |
|
---|
[cfe2f1b6] | 201 | <para><filename>/etc/gdm/custom.conf</filename></para>
|
---|
[9d2dc4e2] | 202 |
|
---|
[0ed3f7f] | 203 | <indexterm zone="gdm gdm-config">
|
---|
[cfe2f1b6] | 204 | <primary sortas="e-etc-gdm-custom.conf">
|
---|
| 205 | /etc/gdm/custom.conf</primary>
|
---|
[0ed3f7f] | 206 | </indexterm>
|
---|
[bd0a1b0] | 207 |
|
---|
[0ed3f7f] | 208 | </sect3>
|
---|
| 209 |
|
---|
| 210 | <sect3>
|
---|
| 211 | <title>Configuration Information</title>
|
---|
| 212 |
|
---|
[7ded7e3] | 213 | <para>
|
---|
| 214 | The GDM daemon is configured using the
|
---|
| 215 | <filename>/etc/gdm/custom.conf</filename> file.
|
---|
| 216 | Default values are stored in GConf in the
|
---|
| 217 | <filename>gdm.schemas</filename> file. It is recommended that end-users
|
---|
| 218 | modify the <filename>/etc/gdm/custom.conf</filename> file
|
---|
| 219 | because the schemas file may be overwritten when the user updates their
|
---|
| 220 | system to have a newer version of GDM.
|
---|
| 221 | </para>
|
---|
[ca109fa5] | 222 |
|
---|
[fcc42ef2] | 223 | <important>
|
---|
[7ded7e3] | 224 | <para>
|
---|
| 225 | If the system-wide <application>D-BUS</application> daemon was
|
---|
| 226 | running during the installation of <application>gdm</application>,
|
---|
| 227 | ensure you stop and restart the <application>D-BUS</application>
|
---|
| 228 | daemon before attempting to start <command>gdm</command>.
|
---|
| 229 | </para>
|
---|
[fcc42ef2] | 230 | </important>
|
---|
| 231 |
|
---|
[7ded7e3] | 232 | <para>
|
---|
| 233 | <command>gdm</command> can be tested by executing it as the
|
---|
| 234 | <systemitem class="username">root</systemitem> user. If you wish to stop
|
---|
| 235 | it you will need to go to a different tty and then kill it.
|
---|
| 236 | </para>
|
---|
[0ed3f7f] | 237 |
|
---|
| 238 | </sect3>
|
---|
| 239 |
|
---|
[1ab6a6c9] | 240 | <sect3 id="gdm-init">
|
---|
[0ed3f7f] | 241 | <title>Boot Script</title>
|
---|
| 242 |
|
---|
[7ded7e3] | 243 | <para>
|
---|
| 244 | To start a graphical login when the system is booted, install the
|
---|
| 245 | <filename>/etc/rc.d/init.d/gdm</filename> init script included in the
|
---|
| 246 | <xref linkend="bootscripts"/> package.
|
---|
| 247 | </para>
|
---|
[0ed3f7f] | 248 |
|
---|
| 249 | <indexterm zone="gdm gdm-init">
|
---|
| 250 | <primary sortas="f-gdm">gdm</primary>
|
---|
| 251 | </indexterm>
|
---|
| 252 |
|
---|
| 253 | <screen role="root"><userinput>make install-gdm</userinput></screen>
|
---|
| 254 |
|
---|
[7ded7e3] | 255 | <para>
|
---|
| 256 | Now edit <filename>/etc/inittab</filename> with the following
|
---|
| 257 | commands.
|
---|
| 258 | </para>
|
---|
[0ed3f7f] | 259 |
|
---|
[4f9a388] | 260 | <screen role="root"><userinput>sed -i 's/id:3:initdefault:/id:5:initdefault:/' \
|
---|
| 261 | /etc/inittab</userinput></screen>
|
---|
[0ed3f7f] | 262 |
|
---|
| 263 | </sect3>
|
---|
| 264 |
|
---|
| 265 | </sect2>
|
---|
| 266 |
|
---|
| 267 | <sect2 role="content">
|
---|
| 268 | <title>Contents</title>
|
---|
| 269 |
|
---|
| 270 | <segmentedlist>
|
---|
| 271 | <segtitle>Installed Programs</segtitle>
|
---|
| 272 | <segtitle>Installed Libraries</segtitle>
|
---|
| 273 | <segtitle>Installed Directories</segtitle>
|
---|
| 274 |
|
---|
| 275 | <seglistitem>
|
---|
[cfe2f1b6] | 276 | <seg>
|
---|
| 277 | gdm, gdmflexiserver and gdm-screenshot
|
---|
| 278 | </seg>
|
---|
| 279 | <seg>
|
---|
| 280 | libgdmgreeter.so and libgdmsimplegreeter.so
|
---|
| 281 | </seg>
|
---|
| 282 | <seg>
|
---|
[7ded7e3] | 283 | /etc/dconf/db/gdm.d,
|
---|
| 284 | /etc/gdm,
|
---|
| 285 | /usr/include/gdm,
|
---|
| 286 | /usr/lib/gdm,
|
---|
| 287 | /usr/share/gdm,
|
---|
| 288 | /usr/share/gnome/help/gdm,
|
---|
| 289 | /usr/share/omf/gdm and
|
---|
| 290 | /var/{cache,lib,log,run}/gdm
|
---|
[cfe2f1b6] | 291 | </seg>
|
---|
[0ed3f7f] | 292 | </seglistitem>
|
---|
| 293 | </segmentedlist>
|
---|
| 294 |
|
---|
| 295 | <variablelist>
|
---|
| 296 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 297 | <?dbfo list-presentation="list"?>
|
---|
| 298 | <?dbhtml list-presentation="table"?>
|
---|
| 299 |
|
---|
[cfe2f1b6] | 300 | <varlistentry id="gdm-prog">
|
---|
| 301 | <term><command>gdm</command></term>
|
---|
| 302 | <listitem>
|
---|
[7ded7e3] | 303 | <para>
|
---|
| 304 | is the <application>GNOME</application> based login prompt.
|
---|
| 305 | </para>
|
---|
[cfe2f1b6] | 306 | <indexterm zone="gdm gdm-prog">
|
---|
| 307 | <primary sortas="b-gdm">gdm</primary>
|
---|
| 308 | </indexterm>
|
---|
| 309 | </listitem>
|
---|
| 310 | </varlistentry>
|
---|
| 311 |
|
---|
[3b4770b] | 312 | <varlistentry id="gdmflexiserver">
|
---|
| 313 | <term><command>gdmflexiserver</command></term>
|
---|
| 314 | <listitem>
|
---|
[7ded7e3] | 315 | <para>
|
---|
| 316 | is the flexi server mechanism which allows to run
|
---|
| 317 | <application>GDM sessions</application>
|
---|
| 318 | on demand in a new virtual console.
|
---|
| 319 | </para>
|
---|
[3b4770b] | 320 | <indexterm zone="gdm gdmflexiserver">
|
---|
| 321 | <primary sortas="b-gdmflexiserver">gdmflexiserver</primary>
|
---|
| 322 | </indexterm>
|
---|
| 323 | </listitem>
|
---|
| 324 | </varlistentry>
|
---|
| 325 |
|
---|
| 326 | <varlistentry id="gdm-screenshot">
|
---|
| 327 | <term><command>gdm-screenshot</command></term>
|
---|
| 328 | <listitem>
|
---|
[7ded7e3] | 329 | <para>
|
---|
| 330 | is a screenshot tool.
|
---|
| 331 | </para>
|
---|
[3b4770b] | 332 | <indexterm zone="gdm gdm-screenshot">
|
---|
| 333 | <primary sortas="b-gdm-screenshot">gdm-screenshot</primary>
|
---|
| 334 | </indexterm>
|
---|
| 335 | </listitem>
|
---|
| 336 | </varlistentry>
|
---|
| 337 |
|
---|
[0ed3f7f] | 338 | </variablelist>
|
---|
| 339 |
|
---|
| 340 | </sect2>
|
---|
[91557b0] | 341 |
|
---|
| 342 | </sect1>
|
---|