Comment 0 for bug 995715

Revision history for this message
Montblanc (montblanc) wrote : X defaulting keyboard locale to US at login after upgrading distribution

After upgrading to Precise, X locale is defaulted to en_US regardless of system-wide and user specific options.

I found out about this issue when I tried to login via the KDM greeter and it was not recognizing my password. I got pam authentication failures in the auth.log, but authorizations files were just fine. In fact, I could login from the console and within KDE itself. When I tried typing on the KDM username box, I found out that special characters were not corresponding to my it_IT layout. My password was including the special character @ that was typed as ; thus not accepting my password. I worked this around by changing password to not include any special character.

I installed LightDM and the problem persisted, so I thought about an evdev bug.

I posted this issue on the Kubuntu Forums at first, where you can find more information and logs [ http://www.kubuntuforums.net/showthread.php?58623-Can-t-login-via-KDM-after-upgrading-to-Precise ].

Recently, German users were experiencing the same problem [ http://forum.ubuntuusers.de/topic/kein-login-in-kdm-nach-upgrade/ ] where I found out that the only thing in common is a wireless keyboard.

I bought a Logitech K800 (which uses a Unifying Receiver) when I was running Oneiric, making this the first time I upgraded my distribution with a wireless keyboard. If that happens to be the problem, It could mean that my keyboard locale was not recognized during the upgrade process.

I'm attaching some configuration files and logs, please tell me if you need more information.

$ lsb_release -a
LSB Version: core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise

$ apt-cache policy xserver-xorg
xserver-xorg:
  Installato: 1:7.6+12ubuntu1
  Candidato: 1:7.6+12ubuntu1
  Tabella versione:
 *** 1:7.6+12ubuntu1 0
        500 http://it.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status

$ apt-cache policy xserver-xorg-input-evdev
xserver-xorg-input-evdev:
  Installato: 1:2.7.0-0ubuntu1
  Candidato: 1:2.7.0-0ubuntu1
  Tabella versione:
 *** 1:2.7.0-0ubuntu1 0
        500 http://it.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status

$ apt-cache policy locales
locales:
  Installato: 2.13+git20120306-3
  Candidato: 2.13+git20120306-3
  Tabella versione:
 *** 2.13+git20120306-3 0
        500 http://it.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status

$ apt-cache policy console-data
console-data:
  Installato: (nessuno)
  Candidato: 2:1.12-1
  Tabella versione:
     2:1.12-1 0
        500 http://it.archive.ubuntu.com/ubuntu/ precise/universe i386 Packages

$ apt-cache policy kdm
kdm:
  Installato: 4:4.8.3-0ubuntu0.1~ppa2
  Candidato: 4:4.8.3-0ubuntu0.1~ppa2
  Tabella versione:
 *** 4:4.8.3-0ubuntu0.1~ppa2 0
        500 http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status
     4:4.8.2a-0ubuntu4 0
        500 http://it.archive.ubuntu.com/ubuntu/ precise/main i386 Packages