On Sun, Jan 31, 2010 at 08:02:48PM +0200, Yury Bulka wrote:
> Sorry, made a mistake with my editor that corrupted my original message.
> So I repost it.

Thanks for the info, I am not wdm maintainer but am looking at some of its
bug reports for a possible Non-Maintainer-Upload

> My problem is simple: $LANG is not set when i log in from wdm.
> I tried to do the following:
> 1) Commented the line "DisplayManager*wdmLocale:        en_US" in
> /etc/X11/wdm/wdm-config.
> I hoped that it will then use my system default locale (uk_UA.UTF-8),
> but it didn't, so I
> 2) Uncommented it back and changed it to DisplayManager*wdmLocale:
>    uk_UA.UTF-8,
> but this gave the same result - empty $LANG after login.
> 
> I tried 2 window managers: "fluxbox" and "awesome". Both had $LANG unset.
> Then I installed xdm and it worked fine just setting $LANG to my system 
> default.

Comparing with wdm I think the problem is that wdm does not instruct pam to
honour /etc/default/locale. 

Can you please try adding envfile=/etc/default/locale to pam_env.so line 
in /etc/pam.d/wdm, so it reads

auth    required    pam_env.so envfile=/etc/default/locale

and tell what happens (Please reply to the bug report address, but keep me
cc'ed).

Thanks for your feedback

-- 
Agustin



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to