From 77f86a7a23c77b38a99d3358f9097b5ae22b60da Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Tue, 3 Aug 2004 04:02:18 +0000 Subject: [PATCH] * Correct an out-of-date mention of FAM * Add an FAQ on configuring GDM for automatic logins * s/([45]).x/\\1.X/g --- en/gnome/docs/faq2.sgml | 58 +++++++++++++++++++++++++++++++++++------ 1 file changed, 50 insertions(+), 8 deletions(-) diff --git a/en/gnome/docs/faq2.sgml b/en/gnome/docs/faq2.sgml index 96991985f8..a0a925f84b 100644 --- a/en/gnome/docs/faq2.sgml +++ b/en/gnome/docs/faq2.sgml @@ -1,6 +1,6 @@ - + %gnomeincludes; %includes; @@ -49,6 +49,8 @@ the GNOME Tinderbox?
  • How do I add new MIME types to GNOME? +
  • How do I configure GDM for + automatic logins?

    Full Text

    @@ -90,11 +92,11 @@ # make install clean -

    Add FAM and LAME support to your GNOME +

    Add LAME support to your GNOME &gnomever; desktop.

    -

    For the best GNOME &gnomever; experience, you should install from - ports, after adding the following macro to your +

    For the best GNOME &gnomever; experience, you should install + from ports, after adding the following macro to your /etc/make.conf file:

    @@ -622,7 +624,7 @@ device		atapicam
     	      nautilus-cd-burner users.  The following
     	      /etc/devfs.conf configuration will achieve the
     	      desired results given the above devlist (NB:
    -	      devfs.conf is only supported on FreeBSD 5.x):

    + devfs.conf is only supported on FreeBSD 5.X):

     perm    cd0     0666
    @@ -630,10 +632,10 @@ perm    xpt0    0666
     perm    pass0   0666
     	      
    -

    On FreeBSD 4.x, you can simply set the device node +

    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. cd0c).

    + FreeBSD 4.X (e.g. cd0c).

  • @@ -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.

    + +
  • +

    How do I configure GDM for automatic logins?

    + +

    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 gdm-autologin. On + 5.X, create a /etc/pam.d/gdm-autologin file + with the following contents:

    +
    +auth       required     pam_nologin.so
    +auth       required     pam_permit.so
    +account    required     pam_unix.so
    +session    required     pam_permit.so
    +	    
    + +

    On 4.X, add the following to + /etc/pam.conf:

    + +
    +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
    +	    
    + +

    Once PAM is configured to allow GDM automatic logins, + edit /usr/X11R6/etc/gdm/gdm.conf, and set + AutomaticLoginEnable=true, and + AutomaticLogin equal to the username for which + you wish to enable automatic logins. For example:

    + +
    +AutomaticLoginEnable=true
    +AutomaticLogin=marcus
    +	    
    + +

    That will automatically login the user + marcus as soon as GDM launches.

    +
  • - &footer;