I've done the following : rm /etc/environment touch /etc/environment apt-get install gdm /etc/init.d/gdm start choosen french language login as normal user and ... gnome start in english !
So my conclusion is that it's a debian gdm bug. I can set my locale normally for startx and xdm but not with gdm. Christophe Le mar, 10 jui 2001 15:25:14, Matti Airas a écrit : > On Tue, Jul 10, 2001 at 03:02:40PM +0200, christophe barbé wrote: > > > So you said me that a global setting override the user choice. > > With xdm, I use a .Xsession where I can set my locale setting. > > With startx, I use .xinitrc. > > But with gdm, the normal way to set your locale is to choose the > language > > from the language menu. > > This should work even if the /etc/environment file said "C". > > And I know that gdm works fine. > > Well, I respectfully disagree. gdm has no way overriding settings in > /etc/environment, as that file is parsed by pam_env.so during the > login procedure. The same thing would happen with xdm as well. No > matter what values gdm sets LANG or LC_* to, they get overridden just > after gdm loses control of the login procedure. If you want to fix the > problem, just remove the settings from /etc/environment. Or, if you > prefer > a setup file, use .gnomerc, or just set /etc/environment to your > liking. > > It is true that the problem might warrant a bug report, but not to > gdm, and I couldn't instantly find out which package /etc/environment > belongs to. > > Best regards, > > -- > Matti Airas orthodox, ASO, SPINTCOM, TRV, BLU-114/B, > [EMAIL PROTECTED] Time, MOSAIC, DATTA, tax, National > +358 50 34 64 256 Information Infrastructure, FKS, SBI, RFI, > http://www.iki.fi/mairas/ CBM, TRANSEC, Kosovo, IWG, Gorelick, J2, > -- Christophe Barbé Software Engineer - [EMAIL PROTECTED] Lineo France - Lineo High Availability Group 42-46, rue Médéric - 92110 Clichy - France phone (33).1.41.40.02.12 - fax (33).1.41.40.02.01 http://www.lineo.com