Comment 3 for bug 1662031

Gunnar Hjalmarsson (gunnarhj) wrote :

Did some testing on zesty. When I had switched to lightdm, language switching between already installed languages worked fine, so gdm3 seems to be the culprit.

Haven't been able to spot the applicable code in the gdm3 source. Tried the attached patch, but it didn't help.

If I set the variables in ~/.profile, it works, so gdm3 sets the system wide environment variables after PAM has read ~/.pam_environment but before it sources ~/.profile.