gdm-autologin not working properly

trip trip at nosubject.org
Sun Dec 3 11:10:56 PST 2006


The fingers of Lars Udo typed on 03/12/06 12:08:
> Hello folks.
> 
> I'v set up gdm-autologin at /etc/pam.d/ and done everything as told in faq
> ( http://www.freebsd.org/gnome/docs/faq2.html#q23 )
> 
> It asks for user to pass in, is this normal behavior.. because i expected
> that when i fire up my computer, it automatically logs in and starts gnome
> session.. as windows does naturally..
> 
> am i missing something here or does freebsd faq mislead me?
> 
> *(gdm)*
> FILE: /etc/pam.d/gdm
> ----------------------------clip-----------------------------------------------
> 
> #
> # $FreeBSD: src/etc/pam.d/gdm,v 1.7 2003/04/30 21:57:54 markm Exp $
> #
> # PAM configuration for the "gdm" service
> #
> 
> # auth
> auth required pam_nologin.so no_warn
> #auth sufficient pam_krb5.so no_warn try_first_pass
> #auth sufficient pam_ssh.so no_warn try_first_pass
> auth required pam_unix.so no_warn try_first_pass
> 
> # account
> #account required pam_krb5.so
> account required pam_unix.so
> 
> # session
> #session optional pam_ssh.so
> session required pam_permit.so
> ---------------------------------------clip---------------------------------
> 
> 
> *(gdm-autologin)*
> FILE: /etc/pam.d/gdm-autologin
> -------------------------------clip-----------------------------------------
> 
> auth required pam_nologin.so
> auth required pam_permit.so
> account required pam_unix.so
> session required pam_permit.so
> ------------------------------clip-----------------------------
> 
> *(custom.conf)*
> gdm's config-file:
> FILE: /usr/local/etc/gdm/custom.conf
> --------------------------clip------------------------
> [security]
> AutomaticLoginEnable=true
> AutomaticLogin=lasse
> --------------------------clip---------------------

Try setting "automatic login" through the gnome-control panel (gdmsetup):
System -> Administration -> Login Window -> "Security" tab -> "Enable
Automatic Login"
Right now i'm sitting in front of an ubuntu-box, running gnome 2.14.2,
but this way you could check into which file and under which directive
the settings are written. Funny enough, my auto-login settings are in
the [daemon] section of the conf.

> 
> i'm running FreeBSD 6.1 with fresh install and i got gnome 2.16.2 binarys
> from GNOME Tinderbox..
> as told on section 21. at same FAQ
> 
> help needed..
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
> 



More information about the freebsd-questions mailing list