gdm in jammy defaults to wrong keymap option with no UI for fixing it

Bug #1971427 reported by Steve Langasek
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gdm
New
Unknown
gdm3 (Ubuntu)
Confirmed
High
Unassigned

Bug Description

After upgrade to jammy, gdm somehow has defaulted to the English US keymap. This is not my keymap of choice, and this is not the keymap that was used on impish before upgrade. It is a keymap that I had configured as an option for my login session, but it was not the default and after removing it from my user config, it persists as the keymap used for gdm.

The keymap that *should* be used is English (Dvorak, alt. intl.) en.

There is a selector for the keymap in the top bar, but after every logout, the keymap setting reverts to the wrong one.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gdm3 42.0-1ubuntu7
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
Uname: Linux 5.15.0-27-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Tue May 3 14:36:21 2022
InstallationDate: Installed on 2019-12-23 (861 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
SourcePackage: gdm3
UpgradeStatus: Upgraded to jammy on 2022-04-15 (17 days ago)

Revision history for this message
Steve Langasek (vorlon) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Was dvorak the default only for your graphical session or for the system?

What configuration do you have in /etc/default/keyboard and /var/lib/AccountsService/users/$USER ?

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 1971427] Re: gdm in jammy defaults to wrong keymap option with no UI for fixing it

On Tue, May 03, 2022 at 03:13:06PM -0000, Sebastien Bacher wrote:
> Thank you for your bug report. Was dvorak the default only for your
> graphical session or for the system?

It's the default when I'm at a non-GUI tty.

> What configuration do you have in /etc/default/keyboard and
> /var/lib/AccountsService/users/$USER ?

$ cat /etc/default/keyboard
XKBLAYOUT="us,gr,cn,ru,us"
XKBVARIANT="dvorak-alt-intl,polytonic,,,"
BACKSPACE="guess"
XKBMODEL="pc105"
XKBOPTIONS="grp_led:scroll"
$

$ sudo cat /var/lib/AccountsService/users/vorlon
[User]
Language=en_US
Session=
XSession=
Icon=/home/vorlon/.face
SystemAccount=false

[InputSource0]
xkb=us+dvorak-alt-intl

[InputSource1]
xkb=gr+polytonic

[InputSource2]
xkb=cn

[InputSource3]
xkb=ru
$

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
<email address hidden> <email address hidden>

Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I have a feeling this should be merged with bug 1869835.

Revision history for this message
Sebastien Bacher (seb128) wrote :

I'm unsure if that's the same issue since the problem wasn't there before the upgrade where the upstream report is an old issue?

I've also a similar issue on a machine upgraded from impish which uses lightdm (keymap isn't azerty anymore) so could be a lower level or shared component having a regression

Changed in gdm:
status: Unknown → New
Revision history for this message
jon richter (yallmende) wrote :

Yes, I can second the notion that this seems independent from the two proposed upstream issues, since this has also happened here when upgrading to 22.04.

$ sudo cat /etc/default/keyboard
XKBLAYOUT="de,us"
XKBVARIANT=","
BACKSPACE="guess"
XKBMODEL="pc105"
XKBOPTIONS="grp:alt_caps_toggle,grp_led:scroll"

$ sudo cat /var/lib/AccountsService/users/yala
[User]
Session=ubuntu
XSession=ubuntu
Icon=/var/lib/AccountsService/icons/yala
SystemAccount=false

[InputSource0]
xkb=de

[InputSource1]
xkb=us

German (de) used to be the primary keymap on this system, but now English (en) is always preselected.

This is a pretty nasty change in behaviour, as it blocks the boot up and login flow.

jammy
5.15.0-33-generic
gdm3 42.0-1ubuntu7

Changed in gdm3 (Ubuntu):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gdm3 (Ubuntu):
status: New → Confirmed
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.