wrong keyboard layout in gdm

Bug #1660041 reported by Martial Saunois
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gdm3 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Hello

GDM does not load my user preferences about my locale.
I have a french keyboard (layout fr, "azerty"), nicely configured in the Gnome settings, but my layout is qwerty in GDM. I tried to create a xorg configuration file (https://wiki.archlinux.org/index.php/Keyboard_configuration_in_Xorg#Using_X_configuration_files) but it did not fix my problem.

Is it a bug or a bad configuration?

Thank you for reading my report.

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: gdm3 3.20.1-1ubuntu2
ProcVersionSignature: Ubuntu 4.8.0-34.36-generic 4.8.11
Uname: Linux 4.8.0-34-generic x86_64
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: amd64
CurrentDesktop: GNOME
Date: Sat Jan 28 16:18:33 2017
InstallationDate: Installed on 2017-01-23 (4 days ago)
InstallationMedia: Ubuntu-GNOME 16.10 "Yakkety Yak" - Release amd64 (20161012.1)
SourcePackage: gdm3
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Martial Saunois (cyberdad) wrote :
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
Kenichi Ito (ken-i54k)
tags: added: zesty
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Ubuntu 16.10 (yakkety) reached end-of-life on July 20, 2017.

However, in 17.10 it appears you can go to:
  All Settings > Language Support
Then configure your preferred language and then click "Apply System-Wide".

If this does not work, then please upgrade to a supported Ubuntu version before proceeding...
https://wiki.ubuntu.com/Releases

Changed in gdm3 (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Kenichi Ito (ken-i54k) wrote :

>However, in 17.10 it appears you can go to:
> All Settings > Language Support
>Then configure your preferred language and then click "Apply System-Wide".

Thanks for the information.
I tried that with Ubuntu 17.04 and a Japanese keyboard, it works.

Revision history for this message
Martial Saunois (cyberdad) wrote :

Thank you vanvugt, it works for me with Ubuntu 17.10 and your procedure.

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

No problem. I learned something new myself.

Changed in gdm3 (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Kenichi Ito (ken-i54k) wrote :

I found this issue happens in some cases after doing that procedure.

My environment:
Ubuntu Gnome 17.04
Japanese (JP) keyboard layout

Precondition:
All Settings > Language Support
Then configure Japanese and then click "Apply System-Wide".

OK:
1. Logged in state
2. Lock screen (Super + L)
3. Unlock screen
4. Password approved due to correct(JP) keyboard layout

Wrong:
1. Logged in state
2. Logout
3. Attempt to login
4. Password rejected due to wrong(US) keyboard layout

Wrong:
1. Start computer with automatic-login disable
2. Attempt to login
3. Password rejected due to wrong(US) keyboard layout

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

That sounds like a more subtle problem. Please log a new bug describing just that problem.

Revision history for this message
Kenichi Ito (ken-i54k) wrote :

It seems that gdm doesn't load user preferences before login.

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

Updated proposed solution from comment #3:

1. On 17.04 and earlier: System Settings > Language Support
2. On 17.10 and later: Settings > Region & Language > Manage Installed Languages
3. Configure your preferred language
4. Click "Apply System-Wide (Use the same language choices for startup and the login screen.)"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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