[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">
|
---|
| 9 | <!ENTITY gdm-size "2.9 MB">
|
---|
| 10 | <!ENTITY gdm-buildsize "54 MB">
|
---|
| 11 | <!ENTITY gdm-time "0.65 SBU">
|
---|
| 12 |
|
---|
| 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
|
---|
| 27 | contains <application><acronym>GNOME</acronym></application>'s Display Manager daemon. This is
|
---|
| 28 | useful for allowing configurable graphical logins.</para>
|
---|
| 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>
|
---|
| 36 | <listitem><para>Download size: &gdm-size;</para></listitem>
|
---|
| 37 | <listitem><para>Estimated Disk space required:
|
---|
| 38 | &gdm-buildsize;</para></listitem>
|
---|
| 39 | <listitem><para>Estimated build time:
|
---|
| 40 | &gdm-time;</para></listitem></itemizedlist>
|
---|
| 41 | </sect3>
|
---|
| 42 |
|
---|
| 43 | <sect3><title><application><acronym>GDM</acronym></application> dependencies</title>
|
---|
| 44 | <sect4><title>Required</title>
|
---|
| 45 | <para>
|
---|
| 46 | <xref linkend="libgnomeui"/>,
|
---|
| 47 | <xref linkend="scrollkeeper"/> and
|
---|
| 48 | <xref linkend="librsvg"/>
|
---|
| 49 | </para></sect4>
|
---|
| 50 | <sect4><title>Optional</title>
|
---|
| 51 | <para>
|
---|
| 52 | <xref linkend="Linux_PAM"/>,
|
---|
| 53 | <xref linkend="tcpwrappers"/> and
|
---|
| 54 | <ulink url="http://www.nsa.gov/selinux/">SELinux</ulink>
|
---|
| 55 | </para></sect4>
|
---|
| 56 | </sect3>
|
---|
| 57 |
|
---|
| 58 | </sect2>
|
---|
| 59 |
|
---|
| 60 | <sect2>
|
---|
| 61 | <title>Installation of <application><acronym>GDM</acronym></application></title>
|
---|
| 62 |
|
---|
| 63 | <para>Install <application><acronym>GDM</acronym></application> by running the following commands:</para>
|
---|
| 64 |
|
---|
| 65 | <screen><userinput><command>groupadd gdm &&
|
---|
| 66 | useradd -c gdm -d /dev/null -g gdm -s /bin/bash gdm &&
|
---|
| 67 | ./configure --prefix=`pkg-config --variable=prefix ORBit-2.0` \
|
---|
| 68 | --libexecdir=`pkg-config --variable=prefix ORBit-2.0`/sbin \
|
---|
| 69 | --sysconfdir=/etc/gnome --localstatedir=/var/lib \
|
---|
| 70 | --with-pam-prefix=/etc &&
|
---|
| 71 | make &&
|
---|
| 72 | make install</command></userinput></screen>
|
---|
| 73 |
|
---|
| 74 | </sect2>
|
---|
| 75 |
|
---|
| 76 | <sect2>
|
---|
| 77 | <title>Command explanations</title>
|
---|
| 78 |
|
---|
| 79 | <para><parameter>--sysconfdir=/etc/gnome</parameter>: This command puts
|
---|
| 80 | configuration files in <filename class="directory">/etc/gnome</filename> instead of
|
---|
| 81 | <filename class="directory">/opt/gnome2/etc</filename>.</para>
|
---|
| 82 |
|
---|
| 83 | <para><parameter>--localstatedir=/var/lib</parameter>: This command
|
---|
| 84 | puts files in <filename class="directory">/var/lib</filename> instead of
|
---|
| 85 | <filename class="directory">/opt/gnome2/var</filename>.</para>
|
---|
| 86 |
|
---|
| 87 | <para><parameter>--with-pam-prefix=/etc</parameter>: This command puts
|
---|
| 88 | <application><acronym>PAM</acronym></application>
|
---|
| 89 | configuration files in <filename class="directory">/etc/pam.d</filename> instead of
|
---|
| 90 | <filename class="directory">/etc/gnome</filename>.</para>
|
---|
| 91 |
|
---|
| 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2>
|
---|
| 95 | <title>Configuring <application>GDM</application></title>
|
---|
| 96 |
|
---|
| 97 | <sect3><title>Config files</title>
|
---|
| 98 | <para><filename>gdm.conf</filename></para>
|
---|
| 99 | </sect3>
|
---|
| 100 |
|
---|
| 101 | <sect3><title>Configuration Information</title>
|
---|
| 102 |
|
---|
| 103 | <para>The <application>GDM</application> <application>PAM</application>
|
---|
| 104 | config files contain modules not present in a <acronym>BLFS</acronym>
|
---|
| 105 | installation. The following commands will replace those files:</para>
|
---|
| 106 | <screen><userinput><command>cat > /etc/pam.d/gdm << "EOF"</command>
|
---|
| 107 | auth required pam_unix.so
|
---|
| 108 | auth required pam_nologin.so
|
---|
| 109 | account required pam_unix.so
|
---|
| 110 | password required pam_unix.so
|
---|
| 111 | session required pam_unix.so
|
---|
| 112 | <command>EOF
|
---|
| 113 | cat > /etc/pam.d/gdm-autologin << "EOF"</command>
|
---|
| 114 | auth required pam_env.so
|
---|
| 115 | auth required pam_nologin.so
|
---|
| 116 | auth required pam_permit.so
|
---|
| 117 | account required pam_unix.so
|
---|
| 118 | password required pam_unix.so
|
---|
| 119 | session required pam_unix.so
|
---|
| 120 | <command>EOF</command></userinput></screen>
|
---|
| 121 |
|
---|
| 122 | <para><command>gdm</command> can be tested by executing it from a root console.</para>
|
---|
| 123 |
|
---|
| 124 | <para>To start a graphical login at boot, install the <filename>/etc/rc.d/init.d/gdm</filename>
|
---|
| 125 | init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
|
---|
| 126 |
|
---|
| 127 | <screen><userinput><command>make install-gdm</command></userinput></screen>
|
---|
| 128 |
|
---|
| 129 | <para>To autostart with a graphical login, edit
|
---|
| 130 | <filename>/etc/inittab</filename> so that the line containing:</para>
|
---|
| 131 | <screen>id:3:initdefault:</screen>
|
---|
| 132 | <para>is changed to:</para>
|
---|
| 133 | <screen>id:5:initdefault:</screen>
|
---|
| 134 |
|
---|
| 135 | </sect3>
|
---|
| 136 |
|
---|
| 137 | </sect2>
|
---|
| 138 |
|
---|
| 139 | <sect2>
|
---|
| 140 | <title>Contents</title>
|
---|
| 141 |
|
---|
| 142 | <para>The <application><acronym>GDM</acronym></application> package contains
|
---|
| 143 | <command>gdm</command>,
|
---|
| 144 | <command>gdm-binary</command>,
|
---|
| 145 | <command>gdmXnest</command>,
|
---|
| 146 | <command>gdmXnestchooser</command>,
|
---|
| 147 | <command>gdmchooser</command>,
|
---|
| 148 | <command>gdmflexiserver</command>,
|
---|
| 149 | <command>gdmgreeter</command>,
|
---|
| 150 | <command>gdmlogin</command>,
|
---|
| 151 | <command>gdmphotosetup</command>,
|
---|
| 152 | <command>gdmsetup</command>,
|
---|
| 153 | <command>gdmthemetester</command>,
|
---|
| 154 | <command>gdm-restart</command>,
|
---|
| 155 | <command>gdm-safe-restart</command>,
|
---|
| 156 | <command>gdm-stop</command>,
|
---|
| 157 | <command>gdmconfig</command>,
|
---|
| 158 | <command>gdmopen</command> and
|
---|
| 159 | <command>gdmtranslate</command>.</para>
|
---|
| 160 |
|
---|
| 161 | </sect2>
|
---|
| 162 |
|
---|
| 163 | <sect2><title>Description</title>
|
---|
| 164 |
|
---|
| 165 | <sect3><title>gdm</title>
|
---|
| 166 | <para><command>gdm</command> is a wrapper script to execute the
|
---|
| 167 | <application><acronym>GDM</acronym></application> binary, the configurable
|
---|
| 168 | <application><acronym>GNOME</acronym></application> based login prompt.</para></sect3>
|
---|
| 169 |
|
---|
| 170 | <sect3><title>gdmchooser</title>
|
---|
| 171 | <para><command>gdmchooser</command> is an application for selecting
|
---|
| 172 | <acronym>XDMCP</acronym> enabled hosts on
|
---|
| 173 | the local network.</para></sect3>
|
---|
| 174 |
|
---|
| 175 | <sect3><title>gdmsetup</title>
|
---|
| 176 | <para><command>gdmsetup</command> is a graphical interface to edit the
|
---|
| 177 | <filename>gdm.conf</filename>.</para></sect3>
|
---|
| 178 |
|
---|
| 179 | <sect3><title>gdm-restart and gdm-safe-restart</title>
|
---|
| 180 | <para><command>gdm-restart</command> sends the <acronym>HUP</acronym>
|
---|
| 181 | signal and <command>gdm-safe-restart</command> sends the
|
---|
| 182 | <acronym>USR</acronym>1 signal to the
|
---|
| 183 | <application><acronym>GDM</acronym></application>daemon so that it restarts. They are used after the
|
---|
| 184 | config file is edited.</para></sect3>
|
---|
| 185 |
|
---|
| 186 | <sect3><title>gdmconfig</title>
|
---|
| 187 | <para><command>gdmconfig</command> is an application for managing the configuration of the
|
---|
| 188 | entire <application>GDM</application> applications suite. It handles look and feel, security,
|
---|
| 189 | <acronym>XDMCP</acronym>, GDMchooser and more.</para></sect3>
|
---|
| 190 |
|
---|
| 191 | </sect2>
|
---|
[91557b0] | 192 |
|
---|
| 193 | </sect1>
|
---|
| 194 |
|
---|