Yes, the user's don't have a .profile.

I may have solved the other issue...  If I comment out "LANG=" in
/etc/default/locale, it works as expected, though I don't believe I
should have to do this.  That file seems to override the
~/.pam_environment settings.

Logging in as French (fr_FR, fr_CA is not available but that's another issue), 
and LANG set in /etc/default/locale:
marc-cmo-ubuntu:~$ cat .pam_environment
LANG=en_CA.UTF-8
LANGUAGE=en

marc-cmo-ubuntu:~$ cat /var/lib/AccountsService/users/cmo-testuser 
[User]
Language=fr
FormatsLocale=en_CA.UTF-8
XSession=kde-plasma

KDE will run as French in this case, but anything that uses LANG will be
English.    Logging in again will leave English selected when the
greeter starts, and appears to keep it throughout.

With LANG commented out,  when the greeter starts the language selector
is blank.  Selecting a language causes the proper things to be put into
the two files, aside from FormatsLocale.

marc-cmo-ubuntu:~$ cat /var/lib/AccountsService/users/cmo-testuser 
[User]
Language=fr
FormatsLocale=en_CA.UTF-8
XSession=kde-plasma

marc-cmo-ubuntu:~$ cat ~cmo-testuser/.pam_environment 
LANGUAGE=fr:en_CA:en
LANG=fr_FR.UTF-8

I think this has drifted far from the original problem I opened the
ticket for.  I can get the behaviour I want by commenting out the line
in /etc/default/locale.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/972484

Title:
  lightdm-gtk-greeter doesn't set language for non-local users

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/972484/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to