2002-09-23 03:34:27 +08:00
|
|
|
<sect2>
|
2003-10-02 04:42:34 +08:00
|
|
|
<title>Configuring <application>GDM</application></title>
|
2002-09-23 03:34:27 +08:00
|
|
|
|
|
|
|
<sect3><title>Config files</title>
|
2003-04-21 06:15:01 +08:00
|
|
|
<para><filename>/opt/gnome2/gdm.conf</filename>, <filename>/opt/gnome2/gnomerc</filename></para>
|
2002-09-23 03:34:27 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
|
2003-10-02 04:42:34 +08:00
|
|
|
<para>The <application>GDM</application> <application>PAM</application>
|
2003-09-06 22:21:33 +08:00
|
|
|
config files contain modules not present in a <acronym>BLFS</acronym>
|
2002-11-25 05:12:08 +08:00
|
|
|
installation. The following commands will replace those files:</para>
|
2003-09-06 22:21:33 +08:00
|
|
|
<screen><userinput><command>cat > /etc/pam.d/gdm << "EOF"</command>
|
2002-09-23 22:22:03 +08:00
|
|
|
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
|
2003-09-28 02:46:10 +08:00
|
|
|
<command>EOF
|
|
|
|
cat > /etc/pam.d/gdm-autologin << "EOF"</command>
|
2002-09-23 22:22:03 +08:00
|
|
|
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
|
2003-09-06 22:21:33 +08:00
|
|
|
<command>EOF</command></userinput></screen>
|
2002-09-23 22:22:03 +08:00
|
|
|
|
2003-09-06 22:21:33 +08:00
|
|
|
<para><command>gdm</command> can be tested by executing it from a root console.</para>
|
2002-09-23 22:22:03 +08:00
|
|
|
|
2004-03-28 15:14:54 +08:00
|
|
|
<para>To start a graphical login at boot, install <filename>/etc/rc.d/init.d/gdm</filename>
|
|
|
|
init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
|
2002-09-23 22:22:03 +08:00
|
|
|
|
2004-03-28 15:14:54 +08:00
|
|
|
<screen><userinput><command>make install-gdm</command></userinput></screen>
|
2002-11-25 05:12:08 +08:00
|
|
|
|
|
|
|
<para>To autostart with a graphical login, edit
|
2003-09-28 02:46:10 +08:00
|
|
|
<filename>/etc/inittab</filename> so that the line reading</para>
|
2002-11-25 05:12:08 +08:00
|
|
|
<screen>id:3:initdefault:</screen>
|
2003-09-28 02:46:10 +08:00
|
|
|
<para>is changed to</para>
|
|
|
|
<screen>id:5:initdefault:</screen>
|
2002-09-23 22:22:03 +08:00
|
|
|
|
2002-09-23 03:34:27 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|