Index: gnome/add/gdm.xml
===================================================================
--- gnome/add/gdm.xml	(revision 91557b0fd2a79da3160180801b50e9f4e14d75a1)
+++ gnome/add/gdm.xml	(revision 9d2dc4e2f50f4592dfcf64bec27b0f2b0add6971)
@@ -1,11 +1,189 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+   "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+
+<!ENTITY gdm-download-http "http://ftp.gnome.org/pub/GNOME/sources/gdm/2.6/gdm-&gdm-version;.tar.bz2">
+<!ENTITY gdm-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/gdm/2.6/gdm-&gdm-version;.tar.bz2">
+<!ENTITY gdm-size "2.9 MB">
+<!ENTITY gdm-buildsize "54 MB">
+<!ENTITY gdm-time "0.65 SBU">
+
+]>
+
 <sect1 id="gdm" xreflabel="GDM-&gdm-version;">
 <?dbhtml filename="gdm.html"?>
 <title>GDM-&gdm-version;</title>
 
-&gdm-intro;
-&gdm-inst;
-&gdm-exp;
-&gdm-config;
-&gdm-desc;
+<sect2>
+<title>Introduction to <application><acronym>GDM</acronym></application></title>
+
+<para>The <application><acronym>GDM</acronym></application> package
+contains <application><acronym>GNOME</acronym></application>'s Display Manager daemon. This is
+useful for allowing configurable graphical logins.</para>
+
+<sect3><title>Package information</title>
+<itemizedlist spacing='compact'>
+<listitem><para>Download (HTTP): <ulink
+url="&gdm-download-http;"/></para></listitem>
+<listitem><para>Download (FTP): <ulink
+url="&gdm-download-ftp;"/></para></listitem>
+<listitem><para>Download size: &gdm-size;</para></listitem>
+<listitem><para>Estimated Disk space required:
+&gdm-buildsize;</para></listitem>
+<listitem><para>Estimated build time:
+&gdm-time;</para></listitem></itemizedlist>
+</sect3>
+                                                                                
+<sect3><title><application><acronym>GDM</acronym></application> dependencies</title>
+<sect4><title>Required</title>
+<para>
+<xref linkend="libgnomeui"/>,
+<xref linkend="scrollkeeper"/> and
+<xref linkend="librsvg"/>
+</para></sect4>
+<sect4><title>Optional</title>
+<para>
+<xref linkend="Linux_PAM"/>,
+<xref linkend="tcpwrappers"/> and
+<ulink url="http://www.nsa.gov/selinux/">SELinux</ulink>
+</para></sect4>
+</sect3>
+
+</sect2>
+
+<sect2>
+<title>Installation of <application><acronym>GDM</acronym></application></title>
+
+<para>Install <application><acronym>GDM</acronym></application> by running the following commands:</para>
+
+<screen><userinput><command>groupadd gdm &amp;&amp;
+useradd -c gdm -d /dev/null -g gdm -s /bin/bash gdm &amp;&amp;
+./configure --prefix=`pkg-config --variable=prefix ORBit-2.0` \
+    --libexecdir=`pkg-config --variable=prefix ORBit-2.0`/sbin \
+    --sysconfdir=/etc/gnome --localstatedir=/var/lib \
+    --with-pam-prefix=/etc &amp;&amp;
+make &amp;&amp;
+make install</command></userinput></screen>
+
+</sect2>
+
+<sect2>
+<title>Command explanations</title>
+
+<para><parameter>--sysconfdir=/etc/gnome</parameter>: This command puts
+configuration files in <filename class="directory">/etc/gnome</filename> instead of
+<filename class="directory">/opt/gnome2/etc</filename>.</para>
+
+<para><parameter>--localstatedir=/var/lib</parameter>: This command
+puts files in <filename class="directory">/var/lib</filename> instead of
+<filename class="directory">/opt/gnome2/var</filename>.</para>
+
+<para><parameter>--with-pam-prefix=/etc</parameter>: This command puts
+<application><acronym>PAM</acronym></application>
+configuration files in <filename class="directory">/etc/pam.d</filename> instead of
+<filename class="directory">/etc/gnome</filename>.</para>
+
+</sect2>
+
+<sect2>
+<title>Configuring <application>GDM</application></title>
+
+<sect3><title>Config files</title>
+<para><filename>gdm.conf</filename></para>
+</sect3>
+
+<sect3><title>Configuration Information</title>
+
+<para>The <application>GDM</application> <application>PAM</application>
+config files contain modules not present in a <acronym>BLFS</acronym>
+installation.  The following commands will replace those files:</para>
+<screen><userinput><command>cat &gt; /etc/pam.d/gdm &lt;&lt; "EOF"</command>
+auth        required    pam_unix.so
+auth        required    pam_nologin.so
+account     required    pam_unix.so
+password    required    pam_unix.so
+session     required    pam_unix.so
+<command>EOF
+cat &gt; /etc/pam.d/gdm-autologin &lt;&lt; "EOF"</command>
+auth        required    pam_env.so
+auth        required    pam_nologin.so
+auth        required    pam_permit.so
+account     required    pam_unix.so
+password    required    pam_unix.so
+session     required    pam_unix.so
+<command>EOF</command></userinput></screen>
+
+<para><command>gdm</command> can be tested by executing it from a root console.</para>
+
+<para>To start a graphical login at boot, install the <filename>/etc/rc.d/init.d/gdm</filename>
+init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
+
+<screen><userinput><command>make install-gdm</command></userinput></screen>
+
+<para>To autostart with a graphical login, edit
+<filename>/etc/inittab</filename> so that the line containing:</para>
+<screen>id:3:initdefault:</screen>
+<para>is changed to:</para>
+<screen>id:5:initdefault:</screen>
+
+</sect3>
+
+</sect2>
+
+<sect2>
+<title>Contents</title>
+
+<para>The <application><acronym>GDM</acronym></application> package contains
+<command>gdm</command>,
+<command>gdm-binary</command>,
+<command>gdmXnest</command>,
+<command>gdmXnestchooser</command>,
+<command>gdmchooser</command>,
+<command>gdmflexiserver</command>,
+<command>gdmgreeter</command>,
+<command>gdmlogin</command>,
+<command>gdmphotosetup</command>,
+<command>gdmsetup</command>,
+<command>gdmthemetester</command>,
+<command>gdm-restart</command>,
+<command>gdm-safe-restart</command>,
+<command>gdm-stop</command>,
+<command>gdmconfig</command>,
+<command>gdmopen</command> and
+<command>gdmtranslate</command>.</para>
+
+</sect2>
+
+<sect2><title>Description</title>
+
+<sect3><title>gdm</title>
+<para><command>gdm</command> is a wrapper script to execute the
+<application><acronym>GDM</acronym></application> binary, the configurable
+<application><acronym>GNOME</acronym></application> based login prompt.</para></sect3>
+
+<sect3><title>gdmchooser</title>
+<para><command>gdmchooser</command> is an application for selecting
+<acronym>XDMCP</acronym> enabled hosts on
+the local network.</para></sect3>
+
+<sect3><title>gdmsetup</title>
+<para><command>gdmsetup</command> is a graphical interface to edit the
+<filename>gdm.conf</filename>.</para></sect3>
+
+<sect3><title>gdm-restart and gdm-safe-restart</title>
+<para><command>gdm-restart</command> sends the <acronym>HUP</acronym>
+signal and <command>gdm-safe-restart</command> sends the
+<acronym>USR</acronym>1 signal to the
+<application><acronym>GDM</acronym></application>daemon so that it restarts. They are used after the
+config file is edited.</para></sect3>
+
+<sect3><title>gdmconfig</title>
+<para><command>gdmconfig</command> is an application for managing the configuration of the
+entire <application>GDM</application> applications suite.  It handles look and feel, security,
+<acronym>XDMCP</acronym>, GDMchooser and more.</para></sect3>
+
+</sect2>
 
 </sect1>
