* Correct an out-of-date mention of FAM
* Add an FAQ on configuring GDM for automatic logins * s/([45]).x/\\1.X/g
This commit is contained in:
parent
6eb1e50abd
commit
77f86a7a23
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=21788
1 changed files with 50 additions and 8 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" [
|
||||
<!ENTITY base CDATA "../..">
|
||||
<!ENTITY date "$FreeBSD: www/en/gnome/docs/faq2.sgml,v 1.71 2004/07/18 06:58:14 marcus Exp $">
|
||||
<!ENTITY date "$FreeBSD: www/en/gnome/docs/faq2.sgml,v 1.72 2004/07/27 14:29:41 marcus Exp $">
|
||||
<!ENTITY title "FreeBSD GNOME Project: GNOME &gnomever; FAQ">
|
||||
<!ENTITY % gnomeincludes SYSTEM "../includes.sgml"> %gnomeincludes;
|
||||
<!ENTITY % includes SYSTEM "../../includes.sgml"> %includes;
|
||||
|
|
@ -49,6 +49,8 @@
|
|||
the GNOME Tinderbox?</a>
|
||||
<li> <a href="#q22">How do I add new MIME types to
|
||||
GNOME?</a>
|
||||
<li> <a href="#q23">How do I configure GDM for
|
||||
automatic logins?</a>
|
||||
</ol>
|
||||
<h2>Full Text </h2>
|
||||
|
||||
|
|
@ -90,11 +92,11 @@
|
|||
# make install clean
|
||||
</pre>
|
||||
|
||||
<p><u>Add <b>FAM</b> and <b>LAME</b> support to your GNOME
|
||||
<p><u>Add <b>LAME</b> support to your GNOME
|
||||
&gnomever; desktop.</u></p>
|
||||
|
||||
<p>For the best GNOME &gnomever; experience, you should install from
|
||||
ports, after adding the following macro to your
|
||||
<p>For the best GNOME &gnomever; experience, you should install
|
||||
from ports, after adding the following macro to your
|
||||
<tt>/etc/make.conf</tt> file:</p>
|
||||
|
||||
<pre>
|
||||
|
|
@ -622,7 +624,7 @@ device atapicam
|
|||
nautilus-cd-burner users. The following
|
||||
<tt>/etc/devfs.conf</tt> configuration will achieve the
|
||||
desired results given the above devlist (<b>NB:</b>
|
||||
<tt>devfs.conf</tt> is only supported on FreeBSD 5.x):</p>
|
||||
<tt>devfs.conf</tt> is only supported on FreeBSD 5.X):</p>
|
||||
|
||||
<pre>
|
||||
perm cd0 0666
|
||||
|
|
@ -630,10 +632,10 @@ perm xpt0 0666
|
|||
perm pass0 0666
|
||||
</pre>
|
||||
|
||||
<p>On FreeBSD 4.x, you can simply set the device node
|
||||
<p>On FreeBSD 4.X, you can simply set the device node
|
||||
permissions, and they will be preserved across reboots.
|
||||
Note that you must use the 'c' device nodes on
|
||||
FreeBSD 4.x (e.g. <tt>cd0c</tt>).</p>
|
||||
FreeBSD 4.X (e.g. <tt>cd0c</tt>).</p>
|
||||
</li>
|
||||
|
||||
<!-- Q16 -->
|
||||
|
|
@ -912,9 +914,49 @@ xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
|||
Hopefully all of this will be made much easier in a future
|
||||
GNOME release.</p>
|
||||
</li>
|
||||
<!-- Q23 -->
|
||||
<li style="padding-bottom: 0.5em"><a name="q23"></a>
|
||||
<p><b>How do I configure GDM for automatic logins?</b></p>
|
||||
<!-- A23 -->
|
||||
<p>The GNOME Display Manager (GDM) can be configured to
|
||||
automatically log a user in when it starts up. To do
|
||||
that, you must first configure Pluggable Authentication
|
||||
Module (PAM) support for <em>gdm-autologin</em>. On
|
||||
5.X, create a <tt>/etc/pam.d/gdm-autologin</tt> file
|
||||
with the following contents:</p>
|
||||
|
||||
<pre>
|
||||
auth required pam_nologin.so
|
||||
auth required pam_permit.so
|
||||
account required pam_unix.so
|
||||
session required pam_permit.so
|
||||
</pre>
|
||||
|
||||
<p>On 4.X, add the following to
|
||||
<tt>/etc/pam.conf</tt>:</p>
|
||||
|
||||
<pre>
|
||||
gdm-autologin auth required pam_nologin.so
|
||||
gdm-autologin auth required pam_permit.so
|
||||
gdm-autologin account required pam_unix.so
|
||||
gdm-autologin session required pam_permit.so
|
||||
</pre>
|
||||
|
||||
<p>Once PAM is configured to allow GDM automatic logins,
|
||||
edit <tt>/usr/X11R6/etc/gdm/gdm.conf</tt>, and set
|
||||
<tt>AutomaticLoginEnable=true</tt>, and
|
||||
<tt>AutomaticLogin</tt> equal to the username for which
|
||||
you wish to enable automatic logins. For example:</p>
|
||||
|
||||
<pre>
|
||||
AutomaticLoginEnable=true
|
||||
AutomaticLogin=marcus
|
||||
</pre>
|
||||
|
||||
<p>That will automatically login the user
|
||||
<em>marcus</em> as soon as GDM launches.</p>
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
&footer;
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue