[9d2dc4e2] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY gdm-download-http "http://ftp.gnome.org/pub/GNOME/sources/gdm/2.6/gdm-&gdm-version;.tar.bz2">
|
---|
| 8 | <!ENTITY gdm-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/gdm/2.6/gdm-&gdm-version;.tar.bz2">
|
---|
[bd0a1b0] | 9 | <!ENTITY gdm-md5sum "8dca7cb1f28d81f60f6e07b3c24288c5">
|
---|
| 10 | <!ENTITY gdm-size "3.2 MB">
|
---|
| 11 | <!ENTITY gdm-buildsize "44 MB">
|
---|
| 12 | <!ENTITY gdm-time "0.48 SBU">
|
---|
[9d2dc4e2] | 13 | ]>
|
---|
| 14 |
|
---|
[91557b0] | 15 | <sect1 id="gdm" xreflabel="GDM-&gdm-version;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[91557b0] | 20 | <?dbhtml filename="gdm.html"?>
|
---|
| 21 | <title>GDM-&gdm-version;</title>
|
---|
| 22 |
|
---|
[9d2dc4e2] | 23 | <sect2>
|
---|
| 24 | <title>Introduction to <application><acronym>GDM</acronym></application></title>
|
---|
| 25 |
|
---|
| 26 | <para>The <application><acronym>GDM</acronym></application> package
|
---|
[bd0a1b0] | 27 | contains <application><acronym>GNOME</acronym></application>'s Display Manager
|
---|
| 28 | daemon. This is useful for allowing configurable graphical logins.</para>
|
---|
[9d2dc4e2] | 29 |
|
---|
| 30 | <sect3><title>Package information</title>
|
---|
| 31 | <itemizedlist spacing='compact'>
|
---|
| 32 | <listitem><para>Download (HTTP): <ulink
|
---|
| 33 | url="&gdm-download-http;"/></para></listitem>
|
---|
| 34 | <listitem><para>Download (FTP): <ulink
|
---|
| 35 | url="&gdm-download-ftp;"/></para></listitem>
|
---|
[bd0a1b0] | 36 | <listitem><para>Download MD5 sum: &gdm-md5sum;</para></listitem>
|
---|
[9d2dc4e2] | 37 | <listitem><para>Download size: &gdm-size;</para></listitem>
|
---|
[bd0a1b0] | 38 | <listitem><para>Estimated disk space required:
|
---|
[9d2dc4e2] | 39 | &gdm-buildsize;</para></listitem>
|
---|
| 40 | <listitem><para>Estimated build time:
|
---|
| 41 | &gdm-time;</para></listitem></itemizedlist>
|
---|
| 42 | </sect3>
|
---|
[bd0a1b0] | 43 |
|
---|
| 44 | <sect3><title><application><acronym>GDM</acronym></application>
|
---|
| 45 | dependencies</title>
|
---|
[9d2dc4e2] | 46 | <sect4><title>Required</title>
|
---|
[bd0a1b0] | 47 | <para><xref linkend="libgnomeui"/>,
|
---|
| 48 | <xref linkend="scrollkeeper"/> and
|
---|
| 49 | <xref linkend="librsvg"/></para>
|
---|
| 50 | </sect4>
|
---|
| 51 |
|
---|
[9d2dc4e2] | 52 | <sect4><title>Optional</title>
|
---|
[bd0a1b0] | 53 | <para><xref linkend="Linux_PAM"/>,
|
---|
| 54 | <xref linkend="tcpwrappers"/> and
|
---|
| 55 | <ulink url="http://www.nsa.gov/selinux/">SELinux</ulink></para>
|
---|
| 56 | </sect4>
|
---|
[9d2dc4e2] | 57 | </sect3>
|
---|
| 58 |
|
---|
| 59 | </sect2>
|
---|
| 60 |
|
---|
| 61 | <sect2>
|
---|
| 62 | <title>Installation of <application><acronym>GDM</acronym></application></title>
|
---|
| 63 |
|
---|
[bd0a1b0] | 64 | <para>Install <application><acronym>GDM</acronym></application> by running
|
---|
| 65 | the following commands:</para>
|
---|
[9d2dc4e2] | 66 |
|
---|
| 67 | <screen><userinput><command>groupadd gdm &&
|
---|
[bd0a1b0] | 68 | useradd -c "GDM Daemon Owner" -d /dev/null -g gdm -s /bin/bash gdm &&
|
---|
[9d2dc4e2] | 69 | ./configure --prefix=`pkg-config --variable=prefix ORBit-2.0` \
|
---|
| 70 | --libexecdir=`pkg-config --variable=prefix ORBit-2.0`/sbin \
|
---|
| 71 | --sysconfdir=/etc/gnome --localstatedir=/var/lib \
|
---|
| 72 | --with-pam-prefix=/etc &&
|
---|
| 73 | make &&
|
---|
| 74 | make install</command></userinput></screen>
|
---|
| 75 |
|
---|
| 76 | </sect2>
|
---|
| 77 |
|
---|
| 78 | <sect2>
|
---|
| 79 | <title>Command explanations</title>
|
---|
| 80 |
|
---|
[bd0a1b0] | 81 | <para><parameter>--sysconfdir=/etc/gnome</parameter>: This command puts
|
---|
| 82 | configuration files in <filename class="directory">/etc/gnome</filename>
|
---|
| 83 | instead of <filename class="directory">$GNOME_PREFIX/etc</filename>.</para>
|
---|
[9d2dc4e2] | 84 |
|
---|
[bd0a1b0] | 85 | <para><parameter>--localstatedir=/var/lib</parameter>: This command
|
---|
| 86 | puts files in <filename class="directory">/var/lib</filename> instead of
|
---|
| 87 | <filename class="directory">$GNOME_PREFIX/var</filename>.</para>
|
---|
[9d2dc4e2] | 88 |
|
---|
[bd0a1b0] | 89 | <para><parameter>--with-pam-prefix=/etc</parameter>: This command puts
|
---|
| 90 | <application><acronym>PAM</acronym></application> configuration files in
|
---|
| 91 | <filename class="directory">/etc/pam.d</filename> instead of
|
---|
[9d2dc4e2] | 92 | <filename class="directory">/etc/gnome</filename>.</para>
|
---|
| 93 |
|
---|
| 94 | </sect2>
|
---|
| 95 |
|
---|
| 96 | <sect2>
|
---|
| 97 | <title>Configuring <application>GDM</application></title>
|
---|
| 98 |
|
---|
| 99 | <sect3><title>Config files</title>
|
---|
[bd0a1b0] | 100 | <para><filename>/etc/gnome/gdm/gdm.conf</filename></para>
|
---|
[9d2dc4e2] | 101 | </sect3>
|
---|
| 102 |
|
---|
| 103 | <sect3><title>Configuration Information</title>
|
---|
| 104 |
|
---|
| 105 | <para>The <application>GDM</application> <application>PAM</application>
|
---|
| 106 | config files contain modules not present in a <acronym>BLFS</acronym>
|
---|
| 107 | installation. The following commands will replace those files:</para>
|
---|
[bd0a1b0] | 108 |
|
---|
[9d2dc4e2] | 109 | <screen><userinput><command>cat > /etc/pam.d/gdm << "EOF"</command>
|
---|
| 110 | auth required pam_unix.so
|
---|
| 111 | auth required pam_nologin.so
|
---|
| 112 | account required pam_unix.so
|
---|
| 113 | password required pam_unix.so
|
---|
| 114 | session required pam_unix.so
|
---|
| 115 | <command>EOF
|
---|
| 116 | cat > /etc/pam.d/gdm-autologin << "EOF"</command>
|
---|
| 117 | auth required pam_env.so
|
---|
| 118 | auth required pam_nologin.so
|
---|
| 119 | auth required pam_permit.so
|
---|
| 120 | account required pam_unix.so
|
---|
| 121 | password required pam_unix.so
|
---|
| 122 | session required pam_unix.so
|
---|
| 123 | <command>EOF</command></userinput></screen>
|
---|
| 124 |
|
---|
| 125 | <para><command>gdm</command> can be tested by executing it from a root console.</para>
|
---|
| 126 |
|
---|
[bd0a1b0] | 127 | <para>To start a graphical login at boot, install the
|
---|
| 128 | <filename>/etc/rc.d/init.d/gdm</filename> init script included in the
|
---|
| 129 | <xref linkend="intro-important-bootscripts"/> package.</para>
|
---|
[9d2dc4e2] | 130 |
|
---|
| 131 | <screen><userinput><command>make install-gdm</command></userinput></screen>
|
---|
| 132 |
|
---|
| 133 | <para>To autostart with a graphical login, edit
|
---|
| 134 | <filename>/etc/inittab</filename> so that the line containing:</para>
|
---|
[bd0a1b0] | 135 |
|
---|
[9d2dc4e2] | 136 | <screen>id:3:initdefault:</screen>
|
---|
[bd0a1b0] | 137 |
|
---|
[9d2dc4e2] | 138 | <para>is changed to:</para>
|
---|
[bd0a1b0] | 139 |
|
---|
[9d2dc4e2] | 140 | <screen>id:5:initdefault:</screen>
|
---|
| 141 |
|
---|
| 142 | </sect3>
|
---|
| 143 |
|
---|
| 144 | </sect2>
|
---|
| 145 |
|
---|
| 146 | <sect2>
|
---|
| 147 | <title>Contents</title>
|
---|
| 148 |
|
---|
[bd0a1b0] | 149 | <para>The <application><acronym>GDM</acronym></application> package contains
|
---|
[9d2dc4e2] | 150 | <command>gdm</command>,
|
---|
| 151 | <command>gdm-binary</command>,
|
---|
| 152 | <command>gdmXnest</command>,
|
---|
| 153 | <command>gdmXnestchooser</command>,
|
---|
| 154 | <command>gdmchooser</command>,
|
---|
| 155 | <command>gdmflexiserver</command>,
|
---|
| 156 | <command>gdmgreeter</command>,
|
---|
| 157 | <command>gdmlogin</command>,
|
---|
| 158 | <command>gdmphotosetup</command>,
|
---|
| 159 | <command>gdmsetup</command>,
|
---|
| 160 | <command>gdmthemetester</command>,
|
---|
| 161 | <command>gdm-restart</command>,
|
---|
| 162 | <command>gdm-safe-restart</command>,
|
---|
| 163 | <command>gdm-stop</command>,
|
---|
| 164 | <command>gdmconfig</command>,
|
---|
| 165 | <command>gdmopen</command> and
|
---|
| 166 | <command>gdmtranslate</command>.</para>
|
---|
| 167 |
|
---|
| 168 | </sect2>
|
---|
| 169 |
|
---|
| 170 | <sect2><title>Description</title>
|
---|
| 171 |
|
---|
| 172 | <sect3><title>gdm</title>
|
---|
| 173 | <para><command>gdm</command> is a wrapper script to execute the
|
---|
| 174 | <application><acronym>GDM</acronym></application> binary, the configurable
|
---|
[bd0a1b0] | 175 | <application><acronym>GNOME</acronym></application> based login
|
---|
| 176 | prompt.</para></sect3>
|
---|
[9d2dc4e2] | 177 |
|
---|
| 178 | <sect3><title>gdmchooser</title>
|
---|
| 179 | <para><command>gdmchooser</command> is an application for selecting
|
---|
| 180 | <acronym>XDMCP</acronym> enabled hosts on
|
---|
| 181 | the local network.</para></sect3>
|
---|
| 182 |
|
---|
| 183 | <sect3><title>gdmsetup</title>
|
---|
| 184 | <para><command>gdmsetup</command> is a graphical interface to edit the
|
---|
[bd0a1b0] | 185 | <filename>gdm.conf</filename> file.</para></sect3>
|
---|
[9d2dc4e2] | 186 |
|
---|
| 187 | <sect3><title>gdm-restart and gdm-safe-restart</title>
|
---|
| 188 | <para><command>gdm-restart</command> sends the <acronym>HUP</acronym>
|
---|
| 189 | signal and <command>gdm-safe-restart</command> sends the
|
---|
| 190 | <acronym>USR</acronym>1 signal to the
|
---|
[bd0a1b0] | 191 | <application><acronym>GDM</acronym></application>daemon so that it restarts.
|
---|
| 192 | They are used after the config file is edited.</para></sect3>
|
---|
[9d2dc4e2] | 193 |
|
---|
| 194 | <sect3><title>gdmconfig</title>
|
---|
[bd0a1b0] | 195 | <para><command>gdmconfig</command> is an application for managing the
|
---|
| 196 | configuration of the entire <application>GDM</application> applications
|
---|
| 197 | suite. It handles look and feel, security, <acronym>XDMCP</acronym>,
|
---|
| 198 | GDMchooser and more.</para></sect3>
|
---|
[9d2dc4e2] | 199 |
|
---|
| 200 | </sect2>
|
---|
[91557b0] | 201 |
|
---|
| 202 | </sect1>
|
---|
| 203 |
|
---|