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