mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-01 21:12:12 +08:00
bd0a1b0fc6
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3071 af4574ff-66df-0310-9fd7-8a98e5e911e0
204 lines
6.9 KiB
XML
204 lines
6.9 KiB
XML
<?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-md5sum "8dca7cb1f28d81f60f6e07b3c24288c5">
|
|
<!ENTITY gdm-size "3.2 MB">
|
|
<!ENTITY gdm-buildsize "44 MB">
|
|
<!ENTITY gdm-time "0.48 SBU">
|
|
]>
|
|
|
|
<sect1 id="gdm" xreflabel="GDM-&gdm-version;">
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
<?dbhtml filename="gdm.html"?>
|
|
<title>GDM-&gdm-version;</title>
|
|
|
|
<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 MD5 sum: &gdm-md5sum;</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 &&
|
|
useradd -c "GDM Daemon Owner" -d /dev/null -g gdm -s /bin/bash gdm &&
|
|
./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 &&
|
|
make &&
|
|
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">$GNOME_PREFIX/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">$GNOME_PREFIX/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>/etc/gnome/gdm/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 > /etc/pam.d/gdm << "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 > /etc/pam.d/gdm-autologin << "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> file.</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>
|
|
|