On lun., 2012-07-23 at 00:33 -0700, ian_br...@fastmail.net wrote: > On Mon, 23 Jul 2012 07:59:32 +0200 > Yves-Alexis Perez <cor...@debian.org> wrote: > > > It seems that this was done on purpose because, apparently, the data > > should come from PAM. See upstream bug for more details. > > Presumably you mean here: > > https://bugs.launchpad.net/lightdm/+bug/1019314
Yes, that's the target of the forwarded tag. > > I agree with your description of the situation, except for this: > > In 1.2, when the user selects the locale in LightDM greeter, it's > set for the session and saved in .dmrc. Then for the following > sessions, nothing loads .dmrc and the locale is not correctly set. > > That's not what I'm seeing. > > In 1.2, when the user selects the locale in the LightDM greeter, it's > saved in ~/.dmrc, but it IS NOT set in the environment for that session, > or any other. Ok, will correct upstream bug (or feel free to do it in case you have a launchpad account, but don't bother creating one if you don't). > > See my comment on the Debian bug report, and the explanation by the > original submitter, which are in agreement on this point: > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679386 > > In other words, LightDM locale selection is currently completely > useless, because it has no effect at all on the session being started, > or any subsequent one. > > One might ask why a Pluggable Authentication Module ought to be > responsible for things which clearly have nothing to do with > authentication, such as locale selection, especially when they are > liable to change at every login. PAM is more than authentication, it handles quite some login-related stuff. And maybe it makes sense to store login-specific settings like locales into PAM. But my feeling is that it's not the case. It seems that PAM (through pam_env module) only handles /default/ environment, taken from /etc/environment. So while it might be useful to have a default setting for the box, it's plain useless for user-specific settings. So if my analysis is right, I'm a bit puzzled about the change. Note that you might try with accountsservice installed, it might help. Regards, -- Yves-Alexis
signature.asc
Description: This is a digitally signed message part