[91557b0] | 1 | <sect2>
|
---|
| 2 | <title>Configuring <application>GDM</application></title>
|
---|
| 3 |
|
---|
| 4 | <sect3><title>Config files</title>
|
---|
| 5 | <para><filename>gdm.conf</filename></para>
|
---|
| 6 | </sect3>
|
---|
| 7 |
|
---|
| 8 | <sect3><title>Configuration Information</title>
|
---|
| 9 |
|
---|
| 10 | <para>The <application>GDM</application> <application>PAM</application>
|
---|
| 11 | config files contain modules not present in a <acronym>BLFS</acronym>
|
---|
| 12 | installation. The following commands will replace those files:</para>
|
---|
| 13 | <screen><userinput><command>cat > /etc/pam.d/gdm << "EOF"</command>
|
---|
| 14 | auth required pam_unix.so
|
---|
| 15 | auth required pam_nologin.so
|
---|
| 16 | account required pam_unix.so
|
---|
| 17 | password required pam_unix.so
|
---|
| 18 | session required pam_unix.so
|
---|
| 19 | <command>EOF
|
---|
| 20 | cat > /etc/pam.d/gdm-autologin << "EOF"</command>
|
---|
| 21 | auth required pam_env.so
|
---|
| 22 | auth required pam_nologin.so
|
---|
| 23 | auth required pam_permit.so
|
---|
| 24 | account required pam_unix.so
|
---|
| 25 | password required pam_unix.so
|
---|
| 26 | session required pam_unix.so
|
---|
| 27 | <command>EOF</command></userinput></screen>
|
---|
| 28 |
|
---|
| 29 | <para><command>gdm</command> can be tested by executing it from a root console.</para>
|
---|
| 30 |
|
---|
| 31 | <para>To start a graphical login at boot, install <filename>/etc/rc.d/init.d/gdm</filename>
|
---|
| 32 | init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
|
---|
| 33 |
|
---|
| 34 | <screen><userinput><command>make install-gdm</command></userinput></screen>
|
---|
| 35 |
|
---|
| 36 | <para>To autostart with a graphical login, edit
|
---|
| 37 | <filename>/etc/inittab</filename> so that the line reading</para>
|
---|
| 38 | <screen>id:3:initdefault:</screen>
|
---|
| 39 | <para>is changed to</para>
|
---|
| 40 | <screen>id:5:initdefault:</screen>
|
---|
| 41 |
|
---|
| 42 | </sect3>
|
---|
| 43 |
|
---|
| 44 | </sect2>
|
---|
| 45 |
|
---|