Bug#681282: gdm3: gdm does not start the login window
Josselin Mouette
joss at debian.org
Fri Jul 13 10:40:41 UTC 2012
Le vendredi 13 juillet 2012 à 10:29 +0100, Antoine Sirinelli a écrit :
> By disabling pam_mount in /etc/pam.d/common-auth
> and /etc/pam.d/common-session I am now able to get the greeter back and
> to log in normally.
>
> The problem is that gdm is starting a session for Debian-gdm user and
> pam_mount request a password in order to mount the cifs network drive in
> its home directory.
Indeed, and you would have the same problem with autologin (the greeter
session uses the same PAM file).
> Do you have an idea how I could still have normal user mounting
> automatically their network drive and Debian-gdm excluded from this
> feature?
You can add references to pam_mount only in /etc/pam.d/gdm3 instead of
common-*.
Alternatively you can leave the mounting to GNOME. With gvfs-fuse
installed, you can have a gvfs mount accessible from all applications,
and the password stored securely in the keyring without the need to type
it every time.
In all cases there is clearly a bug in the gdm3/pam_mount interaction.
> BTW, I do not know if it is a gdm or a pam_mount bug.
I’m no PAM expert but I find it weird that pam_mount can ask a password
in an “account” or “session” stanza. The autologin/greeter PAM file
disables all auth stanzas, so I expected that no password would ever be
required.
I think it would be better if libpam-mount did not ask any password
outside of “auth” stanzas.
CCing the libpam-mount maintainer for his opinion.
Cheers,
--
.''`. Josselin Mouette
: :' :
`. `'
`-
More information about the pkg-gnome-maintainers
mailing list