Gnome doesn't have my configured keyboard layout after login anymore

Bug #395103 reported by Michael Bienia
52
This bug affects 7 people
Affects Status Importance Assigned to Milestone
gdm
Fix Released
Medium
gdm (Ubuntu)
Fix Released
High
Martin Pitt
Karmic
Fix Released
High
Martin Pitt

Bug Description

Binary package hint: gdm

After the gdm 2.26.1-0ubuntu1 update my configured keyboard layout isn't set anymore after the automatic login. I end with "USA" layout in gnome-keyboard-properties. After clicking "Reset" I get back my configured "Germany Eliminate dead keys" layout and I need to reactivate the "Right-Win as Compose" option (both settings are also done in my xorg.conf).

Related branches

Michael Bienia (geser)
tags: added: regression-potential
Revision history for this message
Martin Pitt (pitti) wrote :

Tentatively assigning to Sebastien.

Changed in gdm (Ubuntu Karmic):
assignee: nobody → Sebastien Bacher (seb128)
Revision history for this message
Michael Bienia (geser) wrote :
Revision history for this message
Susan Cragin (susancragin) wrote :

I use the dvorak standard keyboard.
Every time I open, same problem as described above.

Colin Watson (cjwatson)
Changed in gdm (Ubuntu Karmic):
importance: Undecided → High
Martin Pitt (pitti)
Changed in gdm (Ubuntu Karmic):
status: New → Triaged
Changed in gdm:
status: Unknown → Confirmed
Martin Pitt (pitti)
Changed in gdm (Ubuntu Karmic):
assignee: Sebastien Bacher (seb128) → Martin Pitt (pitti)
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gdm - 2.26.1-0ubuntu2

---------------
gdm (2.26.1-0ubuntu2) karmic; urgency=low

  * debian/control: Add Vcs-Bzr, package imported into bzr.
  * Add 02_dont_force_us_keyboard.patch: Don't force GDM_KEYBOARD_LAYOUT=us if
    gdm does not have an explicit setting (which it currently doesn't, since
    there is not even an interface for changing the keyboard layout). Instead,
    let the GNOME session default to the very same system default as gdm
    itself. (LP: #395103)

 -- Martin Pitt <email address hidden> Fri, 03 Jul 2009 19:19:56 +0200

Changed in gdm (Ubuntu Karmic):
status: In Progress → Fix Released
Revision history for this message
Sebastian Keller (skeller) wrote :

This patch causes gdm to crash when I select my default user.

After selecting the user, the window resizes, the user-list resizes, the language selector in the bottom panel gets shown, the window has no password-entry or ok button though - then the screen goes black and gdm restarts. (Thats all barely visible, since it happens very fast)

I then created a new user who can login without these problems.

If there is a good way to get a backtrace of this, please let me know, so I can provide one. I already tried gdb /usr/sbin/gdm-binary or attaching gdb to gdm-simple-greeter or gdm-session-worker.

Revision history for this message
Martin Pitt (pitti) wrote :

Sebastian, I cannot reproduce this (I tested with German keyboard layout and my default US one). Could you please enable apport with

  sudo force_start=1 /etc/init.d/apport start

then start/restart gdm, and submit a crash report? Please assign it to me ("pitti"). Thanks!

Revision history for this message
Sebastian Keller (skeller) wrote :

Apport wasn't able to get a backtrace either, but it seems gdm itself was ;)
I cleared /var/log/gdm and then started gdm, tried to login, gdm crashed and restarted. After that i have created this copy of /var/log/gdm.

:0-slave.log.1 is the file containing the backtrace created by gdm.

Several months ago I used a modified version of the gdm package from the ubuntu-desktop ppa that depended on libxklavier so i was able to change the keyboard layout. I guess changing the layout with this version created some configuration file that now is causing these problems so you can't reproduce it.

Revision history for this message
Martin Pitt (pitti) wrote :

Sebastien, I think your problem is bug 395595. Can you please test with gdm 0ubuntu3 and read https://lists.ubuntu.com/archives/ubuntu-devel-announce/2009-July/000586.html before? Thanks!

Revision history for this message
Sebastian Keller (skeller) wrote :

Thanks, that fixed it.

Revision history for this message
Michael Bienia (geser) wrote :

Bug seems to be back with gdm 2.26.1git20090717-0ubuntu1. I now get again a US keyboard layout after login :(

Martin Pitt (pitti)
Changed in gdm (Ubuntu Karmic):
status: Fix Released → In Progress
Revision history for this message
rottex (rottex) wrote :

Just merged from gentoo to jaunty (xubuntu) and did (of course :-) ) a dist-upgrade to karmic with this us keyboard hassle as a result during login in gdm (beside massive changings to xubuntu).

Found out, that the whole tty was set to US.
After some investigation I found out, that console-common was not installed after the dist-upgrade.

So I installed
console-common (0.7.81ubuntu1)
console-data (2:1.09-1)
console-setup-mini (1.34ubuntu1)
console-tools (1:0.2.3dbs-65.1ubuntu2)
libconsole (1:0.2.3dbs-65.1ubuntu2)
(not sure if everything in this list is needed ...)

 During reconfigure I selected german keyboard and now everything is fine again over here....

Also have to mention, that I removed gdm and switched to xdm in order to login properly for now, so I can't tell, if this all applies to the new (incomplete...) gdm.

But maybe this points some folks to a new direction, otherwise sorry for the noise ...

Martin Pitt (pitti)
Changed in gdm (Ubuntu Karmic):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gdm - 2.26.1git20090717-0ubuntu2

---------------
gdm (2.26.1git20090717-0ubuntu2) karmic; urgency=low

  * Add 06_run_xsession.d.patch: Run /etc/X11/Xsession.d/. (LP: #401201)
  * Add debian/watch.
  * Add 01_default_keyboard_layout_hal.patch: Get default keyboard layout from
    hal. Patch taken from Fedora. (LP: #395103) Add libhal-dev build
    dependency.
  * Add 99_autoreconf.patch to pick up above change.

 -- Martin Pitt <email address hidden> Mon, 20 Jul 2009 13:20:46 +0200

Changed in gdm (Ubuntu Karmic):
status: Fix Committed → Fix Released
Revision history for this message
Jeremy Nickurak (nickurak) wrote :

I'm getting this behavior on a fresh karmic alpha4 install, which has gdm 2.27.90. Should this be reopened?

Revision history for this message
Jeremy Nickurak (nickurak) wrote :

I may be seeing a different issue, actually. Specifically that gdm doesn't respect the system-wide keyboard layout as the default.

Revision history for this message
Evan (ev) wrote :

I'm moving this back to confirmed, given Martin's comments in the upstream bug discovering that 01_default_keyboard_layout_hal.patch breaks variants.

Changed in gdm (Ubuntu Karmic):
status: Fix Released → Confirmed
Revision history for this message
Evan (ev) wrote :

To further clarify, this breaks dvorak when selected at the CD boot prompt, and when selected as the keyboard layout for the installed system in ubiquity.

Revision history for this message
Martin Pitt (pitti) wrote :

Closing again, using bug 421212 for the remaining cases.

Changed in gdm (Ubuntu Karmic):
status: Confirmed → Fix Released
Changed in gdm:
status: Confirmed → Fix Released
Changed in gdm:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.