[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">
|
---|
| 26 | <primary sortas="a-GDM">GDM</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to GDM</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>GDM</application> package contains
|
---|
| 33 | <application>GNOME</application>'s Display Manager daemon. This is
|
---|
| 34 | useful for allowing configurable graphical logins.</para>
|
---|
| 35 |
|
---|
[06936b84] | 36 | &lfs70_checked;
|
---|
[3b4770b] | 37 |
|
---|
[0ed3f7f] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&gdm-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&gdm-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &gdm-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &gdm-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &gdm-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &gdm-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
[cfe2f1b6] | 60 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[3b4770b] | 61 | <itemizedlist spacing="compact">
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>Required patch: <ulink
|
---|
[cfe2f1b6] | 64 | url="&patch-root;/gdm-&gdm-version;-vt-allocation-hack-1.patch"/></para>
|
---|
[1b46c878] | 65 | </listitem>
|
---|
[cfe2f1b6] | 66 | <listitem>
|
---|
| 67 | <para>Required patch: <ulink
|
---|
| 68 | url="&patch-root;/gdm-&gdm-version;-blfs-patch-1.patch"/></para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
[3b4770b] | 71 |
|
---|
[0ed3f7f] | 72 | <bridgehead renderas="sect3">GDM Dependencies</bridgehead>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[cfe2f1b6] | 75 | <para role="required">
|
---|
| 76 | <xref linkend="accountsservice"/>,
|
---|
| 77 | <xref linkend="dconf"/>,
|
---|
| 78 | <xref linkend="gtk3"/>,
|
---|
| 79 | <xref linkend="libcanberra"/>,
|
---|
| 80 | <xref linkend="linux-pam"/> and
|
---|
| 81 | <xref linkend="nss"/>
|
---|
| 82 | </para>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Required (runtime)</bridgehead>
|
---|
| 85 | <para role="required">
|
---|
| 86 | <xref linkend="gnome-session"/> and either
|
---|
| 87 | <xref linkend="gnome-shell"/> or
|
---|
| 88 | <xref linkend="gnome-panel"/> and
|
---|
| 89 | <xref linkend="metacity"/> (for the Greeter Window Manager).
|
---|
| 90 | </para>
|
---|
[0ed3f7f] | 91 |
|
---|
[fc516d9] | 92 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[cfe2f1b6] | 93 | <para role="recommended">
|
---|
| 94 | <xref linkend="consolekit"/>
|
---|
| 95 | (Required for Shutdown/Restart functionality),
|
---|
| 96 | <xref linkend="libxklavier"/> and
|
---|
| 97 | <xref linkend="upower"/>
|
---|
| 98 | </para>
|
---|
[fc516d9] | 99 |
|
---|
[0ed3f7f] | 100 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[7a6d35b] | 101 | <para role="optional">
|
---|
[cfe2f1b6] | 102 | <xref linkend="check"/> (required to run the testsuite),
|
---|
| 103 | <xref linkend="gobject-introspection"/> and
|
---|
| 104 | <xref linkend="tcpwrappers"/>
|
---|
| 105 | </para>
|
---|
[0ed3f7f] | 106 |
|
---|
[0a7c3921] | 107 | <para condition="html" role="usernotes">User Notes:
|
---|
| 108 | <ulink url="&blfs-wiki;/gdm"/></para>
|
---|
| 109 |
|
---|
[0ed3f7f] | 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2 role="installation">
|
---|
| 113 | <title>Installation of GDM</title>
|
---|
| 114 |
|
---|
[1ab6a6c] | 115 | <para>It is recommended to have a dedicated user and group to take
|
---|
[cfe2f1b6] | 116 | control of the <command>gdm</command> daemon after it is
|
---|
[cec675bd] | 117 | started. Issue the following commands as the
|
---|
[1ab6a6c] | 118 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 119 |
|
---|
[4f9a388] | 120 | <screen role='root'><userinput>groupadd -fg 21 gdm &&
|
---|
| 121 | useradd -c "GDM Daemon Owner" -d /var/lib/gdm -u 21 \
|
---|
[cfe2f1b6] | 122 | -g gdm -s /bin/false gdm</userinput></screen>
|
---|
[1ab6a6c] | 123 |
|
---|
[0ed3f7f] | 124 | <para>Install <application>GDM</application> by running
|
---|
[1ab6a6c] | 125 | the following commands as an unprivileged user:</para>
|
---|
[0ed3f7f] | 126 |
|
---|
[cfe2f1b6] | 127 | <screen><userinput>patch -Np1 -i ../gdm-&gdm-version;-vt-allocation-hack-1.patch &&
|
---|
| 128 | patch -Np1 -i ../gdm-&gdm-version;-blfs-patch-1.patch &&
|
---|
| 129 | ./configure --prefix=/usr \
|
---|
| 130 | --sysconfdir=/etc \
|
---|
[3b4770b] | 131 | --localstatedir=/var \
|
---|
[cfe2f1b6] | 132 | --libexecdir=/usr/lib/gdm \
|
---|
| 133 | --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \
|
---|
| 134 | --disable-static &&
|
---|
[1ab6a6c] | 135 | make</userinput></screen>
|
---|
| 136 |
|
---|
[63310fe] | 137 | <para>If you have installed <xref linkend="check"/> and you wish to run
|
---|
| 138 | the testsuite, issue: <command>make check</command>.</para>
|
---|
[1ab6a6c] | 139 |
|
---|
| 140 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 141 |
|
---|
[cff5bba] | 142 | <screen role='root'><userinput>make install &&
|
---|
[cfe2f1b6] | 143 | chown -R -v gdm:gdm /var/lib/gdm /var/cache/gdm /var/log/gdm
|
---|
[06936b84] | 144 | </userinput></screen>
|
---|
| 145 |
|
---|
[0ed3f7f] | 146 | </sect2>
|
---|
[9d2dc4e2] | 147 |
|
---|
[0ed3f7f] | 148 | <sect2 role="commands">
|
---|
| 149 | <title>Command Explanations</title>
|
---|
[9d2dc4e2] | 150 |
|
---|
[cfe2f1b6] | 151 | <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[8163dd01] | 152 | href="../../xincludes/gnome-prefix.xml"/>
|
---|
[8cf3617] | 153 |
|
---|
[e05cd03f] | 154 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cfe2f1b6] | 155 | href="../../xincludes/gnome-sysconfdir.xml"/> -->
|
---|
[9d2dc4e2] | 156 |
|
---|
[cfe2f1b6] | 157 | <para><parameter>--libexecdir=/usr/lib/gdm</parameter>: This
|
---|
[3839649] | 158 | parameter is used so that the <application>GDM</application> internal
|
---|
| 159 | support programs are installed in the preferred location of <filename
|
---|
[cfe2f1b6] | 160 | class='directory'>/usr/lib/gdm</filename> instead of <filename
|
---|
| 161 | class='directory'>/usr/libexec</filename>.</para>
|
---|
[9d2dc4e2] | 162 |
|
---|
[cfe2f1b6] | 163 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 164 | href="../../xincludes/static-libraries.xml"/>
|
---|
[06936b84] | 165 |
|
---|
[0ed3f7f] | 166 | </sect2>
|
---|
[9d2dc4e2] | 167 |
|
---|
[0ed3f7f] | 168 | <sect2 role="configuration">
|
---|
| 169 | <title>Configuring GDM</title>
|
---|
[9d2dc4e2] | 170 |
|
---|
[0ed3f7f] | 171 | <sect3 id="gdm-config">
|
---|
| 172 | <title>Config Files</title>
|
---|
[9d2dc4e2] | 173 |
|
---|
[cfe2f1b6] | 174 | <para><filename>/etc/gdm/custom.conf</filename></para>
|
---|
[9d2dc4e2] | 175 |
|
---|
[0ed3f7f] | 176 | <indexterm zone="gdm gdm-config">
|
---|
[cfe2f1b6] | 177 | <primary sortas="e-etc-gdm-custom.conf">
|
---|
| 178 | /etc/gdm/custom.conf</primary>
|
---|
[0ed3f7f] | 179 | </indexterm>
|
---|
[bd0a1b0] | 180 |
|
---|
[0ed3f7f] | 181 | </sect3>
|
---|
| 182 |
|
---|
| 183 | <sect3>
|
---|
| 184 | <title>Configuration Information</title>
|
---|
| 185 |
|
---|
[fcc42ef2] | 186 | <para>The GDM daemon is configured using the
|
---|
[cfe2f1b6] | 187 | <filename>/etc/gdm/custom.conf</filename> file.
|
---|
[fcc42ef2] | 188 | Default values are stored in GConf in the
|
---|
| 189 | <filename>gdm.schemas</filename> file. It is recommended that end-users
|
---|
[cfe2f1b6] | 190 | modify the <filename>/etc/gdm/custom.conf</filename> file
|
---|
[fcc42ef2] | 191 | because the schemas file may be overwritten when the user updates their
|
---|
| 192 | system to have a newer version of GDM.</para>
|
---|
[ca109fa5] | 193 |
|
---|
[fcc42ef2] | 194 | <important>
|
---|
| 195 | <para>If the system-wide <application>D-BUS</application> daemon was
|
---|
| 196 | running during the installation of <application>gdm</application>,
|
---|
| 197 | ensure you stop and restart the <application>D-BUS</application>
|
---|
| 198 | daemon before attempting to start <command>gdm</command>.</para>
|
---|
| 199 | </important>
|
---|
| 200 |
|
---|
[3565e02] | 201 | <para><command>gdm</command> can be tested by executing it as the
|
---|
[06936b84] | 202 | <systemitem class="username">root</systemitem> user. If you wish to stop
|
---|
| 203 | it you will need to go to a different tty and then kill it.</para>
|
---|
[0ed3f7f] | 204 |
|
---|
| 205 | </sect3>
|
---|
| 206 |
|
---|
[1ab6a6c] | 207 | <sect3 id="gdm-init">
|
---|
[0ed3f7f] | 208 | <title>Boot Script</title>
|
---|
| 209 |
|
---|
[7a00ed89] | 210 | <para>To start a graphical login when the system is booted, install the
|
---|
[0ed3f7f] | 211 | <filename>/etc/rc.d/init.d/gdm</filename> init script included in the
|
---|
[cfe2f1b6] | 212 | <xref linkend="bootscripts"/> package.<!-- If your
|
---|
[94cc990] | 213 | <envar>GNOME_PREFIX</envar> environment variable is anything other than
|
---|
[7a00ed89] | 214 | <filename class='directory'>/usr</filename> or <filename
|
---|
[4a9eae57] | 215 | class='directory'>/opt/gnome-&gnome-version;&gnome-minor-version;</filename>,
|
---|
[7a00ed89] | 216 | you will need to modify the <envar>PATH</envar> statement in the script
|
---|
| 217 | to include the path where you have <application>GNOME</application>
|
---|
[cfe2f1b6] | 218 | installed.--></para>
|
---|
[0ed3f7f] | 219 |
|
---|
| 220 | <indexterm zone="gdm gdm-init">
|
---|
| 221 | <primary sortas="f-gdm">gdm</primary>
|
---|
| 222 | </indexterm>
|
---|
| 223 |
|
---|
| 224 | <screen role="root"><userinput>make install-gdm</userinput></screen>
|
---|
| 225 |
|
---|
[3b4770b] | 226 | <para>Now edit <filename>/etc/inittab</filename> with the following
|
---|
| 227 | commands.</para>
|
---|
[0ed3f7f] | 228 |
|
---|
[4f9a388] | 229 | <screen role="root"><userinput>sed -i 's/id:3:initdefault:/id:5:initdefault:/' \
|
---|
| 230 | /etc/inittab</userinput></screen>
|
---|
[0ed3f7f] | 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>
|
---|
[cfe2f1b6] | 245 | <seg>
|
---|
| 246 | gdm, gdmflexiserver and gdm-screenshot
|
---|
| 247 | </seg>
|
---|
| 248 | <seg>
|
---|
| 249 | libgdmgreeter.so and libgdmsimplegreeter.so
|
---|
| 250 | </seg>
|
---|
| 251 | <seg>
|
---|
| 252 | /etc/dconf/db/gdm.d, /etc/gdm, /usr/include/gdm,
|
---|
| 253 | /usr/lib/gdm, /usr/share/gdm, /usr/share/gnome/help/gdm,
|
---|
| 254 | /usr/share/omf/gdm and /var/{cache,lib,log,run}/gdm
|
---|
| 255 | </seg>
|
---|
[0ed3f7f] | 256 | </seglistitem>
|
---|
| 257 | </segmentedlist>
|
---|
| 258 |
|
---|
| 259 | <variablelist>
|
---|
| 260 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 261 | <?dbfo list-presentation="list"?>
|
---|
| 262 | <?dbhtml list-presentation="table"?>
|
---|
| 263 |
|
---|
[cfe2f1b6] | 264 | <varlistentry id="gdm-prog">
|
---|
| 265 | <term><command>gdm</command></term>
|
---|
| 266 | <listitem>
|
---|
| 267 | <para>is the <application>GNOME</application> based login prompt.</para>
|
---|
| 268 | <indexterm zone="gdm gdm-prog">
|
---|
| 269 | <primary sortas="b-gdm">gdm</primary>
|
---|
| 270 | </indexterm>
|
---|
| 271 | </listitem>
|
---|
| 272 | </varlistentry>
|
---|
| 273 |
|
---|
[3b4770b] | 274 | <varlistentry id="gdmflexiserver">
|
---|
| 275 | <term><command>gdmflexiserver</command></term>
|
---|
| 276 | <listitem>
|
---|
| 277 | <para>is the flexi server mechanism which allows to run GDM sessions
|
---|
| 278 | on demand, in a new virtual console.</para>
|
---|
| 279 | <indexterm zone="gdm gdmflexiserver">
|
---|
| 280 | <primary sortas="b-gdmflexiserver">gdmflexiserver</primary>
|
---|
| 281 | </indexterm>
|
---|
| 282 | </listitem>
|
---|
| 283 | </varlistentry>
|
---|
| 284 |
|
---|
| 285 | <varlistentry id="gdm-screenshot">
|
---|
| 286 | <term><command>gdm-screenshot</command></term>
|
---|
| 287 | <listitem>
|
---|
| 288 | <para>is a screenshot tool.</para>
|
---|
| 289 | <indexterm zone="gdm gdm-screenshot">
|
---|
| 290 | <primary sortas="b-gdm-screenshot">gdm-screenshot</primary>
|
---|
| 291 | </indexterm>
|
---|
| 292 | </listitem>
|
---|
| 293 | </varlistentry>
|
---|
| 294 |
|
---|
[0ed3f7f] | 295 | </variablelist>
|
---|
| 296 |
|
---|
| 297 | </sect2>
|
---|
[91557b0] | 298 |
|
---|
| 299 | </sect1>
|
---|