Bug#647230: gdm: language chooser uses wrong locale (UTF-8 vs utf8)

Horst Schirmeier horst at schirmeier.com
Thu Feb 2 17:33:47 UTC 2012


Package: gdm
Version: 2.20.11-4
Severity: normal

I'm observing a similar issue, the only differences being:
 -  I have a few more locales enabled (es_ES.UTF-8, fr_FR.UTF-8,
    de_DE at euro, ...).
 -  My /etc/default/locale is empty (as suggested for machines with
    users coming in via SSH).

Besides these details, modifying /etc/gdm/locale.conf or
/etc/locale.alias does *not* remedy the problem here -- but as the
system is in production use, I did not restart the gdm daemon after the
modifications, but only killed/respawned some slaves.

As logging in with de_DE (ISO-8859-15 "German (euro) (Deutsch)" -- no
utf8/UTF-8 mixup possible here) yields the same error message ("Language
de_DE at euro does not exist; using System default"), this may be a
different bug, or just another symptom of this one.

Logging in with "English (USA) (UTF-8) (American English)" works fine.

# locale-gen
Generating locales (this might take a while)...
  de_DE.ISO-8859-15 at euro... done
  de_DE.UTF-8... done
  en_US.ISO-8859-15... done
  en_US.UTF-8... done
  es_ES.UTF-8... done
  fr_FR.UTF-8... done
Generation complete.

# cat /etc/default/locale 
#LANG=en_US.UTF-8

# locale -a
C
de_DE at euro
de_DE.iso885915 at euro
de_DE.utf8
en_US.iso885915
en_US.utf8
es_ES.utf8
fr_FR.utf8
POSIX

-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (x86_64)

Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gdm depends on:
ii  adduser            3.112+nmu2            add and remove users and groups
ii  aterm [x-terminal- 1.0.1-7+b1            Afterstep XVT - a VT102 emulator f
ii  debconf [debconf-2 1.5.36.1              Debian configuration management sy
ii  eterm [x-terminal- 0.9.5-2               Enlightened Terminal Emulator
ii  gksu               2.0.2-5               graphical frontend to su
ii  gnome-session [x-s 2.30.2-3              The GNOME Session Manager - GNOME 
ii  gnome-terminal [x- 2.30.2-1              The GNOME terminal emulator applic
ii  kde-window-manager 4:4.4.5-7+squeeze1    the K window manager (KWin)
ii  konsole [x-termina 4:4.4.5-2             X terminal emulator
ii  libart-2.0-2       2.3.21-1              Library of functions for 2D graphi
ii  libatk1.0-0        1.30.0-1              The ATK accessibility toolkit
ii  libattr1           1:2.4.44-2            Extended attribute shared library
ii  libc6              2.11.3-2              Embedded GNU C Library: Shared lib
ii  libcairo2          1.8.10-6              The Cairo 2D vector graphics libra
ii  libdbus-1-3        1.2.24-4+squeeze1     simple interprocess messaging syst
ii  libdbus-glib-1-2   0.88-2.1              simple interprocess messaging syst
ii  libdmx1            1:1.1.0-2             X11 Distributed Multihead extensio
ii  libfontconfig1     2.8.0-2.1             generic font configuration library
ii  libfreetype6       2.4.2-2.1+squeeze3    FreeType 2 font engine, shared lib
ii  libglade2-0        1:2.6.4-1             library to load .glade files at ru
ii  libglib2.0-0       2.24.2-1              The GLib library of C routines
ii  libgnomecanvas2-0  2.30.1-1              A powerful object-oriented display
ii  libgtk2.0-0        2.20.1-2              The GTK+ graphical user interface 
ii  libpam-modules     1.1.1-6.1+squeeze1    Pluggable Authentication Modules f
ii  libpam-runtime     1.1.1-6.1+squeeze1    Runtime support for the PAM librar
ii  libpam0g           1.1.1-6.1+squeeze1    Pluggable Authentication Modules l
ii  libpango1.0-0      1.28.3-1+squeeze2     Layout and rendering of internatio
ii  librsvg2-2         2.26.3-1              SAX-based renderer library for SVG
ii  librsvg2-common    2.26.3-1              SAX-based renderer library for SVG
ii  libselinux1        2.0.96-1              SELinux runtime shared libraries
ii  libwrap0           7.6.q-19              Wietse Venema's TCP wrappers libra
ii  libx11-6           2:1.3.3-4             X11 client-side library
ii  libxau6            1:1.0.6-1             X11 authorisation library
ii  libxdmcp6          1:1.0.3-2             X11 Display Manager Control Protoc
ii  libxext6           2:1.1.2-1             X11 miscellaneous extension librar
ii  libxi6             2:1.3-6               X11 Input extension library
ii  libxinerama1       2:1.1-3               X11 Xinerama extension library
ii  libxml2            2.7.8.dfsg-2+squeeze2 GNOME XML library
ii  lsb-base           3.2-23.2squeeze1      Linux Standard Base 3.2 init scrip
ii  metacity [x-window 1:2.30.1-3            lightweight GTK+ window manager
ii  xterm [x-terminal- 261-1                 X terminal emulator

Versions of packages gdm recommends:
ii  dialog                  1.1-20100428-1   Displays user-friendly dialog boxe
pn  gdm-themes              <none>           (no description available)
ii  whiptail                0.52.11-1        Displays user-friendly dialog boxe
ii  xserver-xephyr          2:1.7.7-14       nested X server
ii  xserver-xorg            1:7.5+8+squeeze1 the X.Org X server
ii  zenity                  2.30.0-1         Display graphical dialog boxes fro

Versions of packages gdm suggests:
ii  libpam-gnome-keyring          2.30.3-5   PAM module to unlock the GNOME key
ii  locales                       2.11.3-2   Embedded GNU C Library: National L
ii  locales-all [locales]         2.11.3-2   Embedded GNU C Library: Precompile
ii  pm-utils                      1.3.0-3    utilities and scripts for power ma

-- 
Horst Schirmeier <horst at schirmeier.com>





More information about the pkg-gnome-maintainers mailing list