[20.04] Keyboard layout changes during installation before typing username/password
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Release Notes for Ubuntu |
Fix Released
|
Undecided
|
Unassigned | ||
ubiquity (Ubuntu) |
Fix Released
|
High
|
Łukasz Zemczak | ||
Focal |
Triaged
|
High
|
Unassigned | ||
Hirsute |
Won't Fix
|
High
|
Łukasz Zemczak |
Bug Description
During a fresh install of Ubuntu 20.04, selecting Norwegian keyboard is provided and keys are responding correctly at that stage. But later when entering user information the keyboard setting is wrong.
It looks like it have fallen back to English keyboard-layout.
I failed to log in after my first install, so a new attempt I tried to write some special letters in the name field, and noticed that I got the wrong characters for the key.
The install is done in VMware workstation 15.
In the attached screendump, the characters (';[":{) after my name should have been (æøåÆØÅ) that is norwegian characters.
Problem analysis
================
* ubiquity installs open-vm-tools.
* open-vm-tools calls "udevadm trigger" in it's postinst script (line 8).
* udevadm triggers all udev rules which includes all input devices.
* gdm-x-session reads /etc/default/
* gnome-shell sets the keyboard layout as well.
ubiquity already sets /etc/default/
Proposed solution
=================
Let ubiquity also configure the GNOME session to use the selected keyboard layout.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubiquity (not installed)
ProcVersionSign
Uname: Linux 5.4.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sat Apr 25 19:27:41 2020
InstallCmdLine: file=/cdrom/
InstallationDate: Installed on 2020-04-25 (0 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
SourcePackage: ubiquity
Symptom: installer
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Łukasz Zemczak: Approve
-
Diff: 203 lines (+146/-1)4 files modified.gitignore (+2/-0)
debian/changelog (+6/-0)
tests/test_ubi_console_setup.py (+102/-0)
ubiquity/plugins/ubi-console-setup.py (+36/-1)
- Rik Mills: Pending requested
- Ubuntu Installer Team: Pending requested
-
Diff: 135 lines (+59/-2)4 files modifieddebian/changelog (+7/-0)
gui/qt/stepUserSetup.ui (+26/-1)
ubiquity/frontend/kde_components/PartAuto.py (+12/-0)
ubiquity/plugins/ubi-usersetup.py (+14/-1)
- Sebastien Bacher: Approve
-
Diff: 85 lines (+26/-1)5 files modifieddebian/changelog (+6/-1)
gui/gtk/stepPartCrypto.ui (+2/-0)
gui/gtk/stepUserInfo.ui (+2/-0)
ubiquity/plugins/ubi-partman.py (+8/-0)
ubiquity/plugins/ubi-usersetup.py (+8/-0)
Changed in ubiquity (Ubuntu): | |
importance: | Undecided → High |
status: | New → Confirmed |
tags: | added: rls-ff-incoming |
summary: |
- Incorrect keyboard layout for selecting username and password during - install of 20.04 + [20.04] Keyboard layout not enabled immediately during installation when + typing username/password |
Changed in ubiquity (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in ubiquity (Ubuntu Focal): | |
milestone: | none → ubuntu-20.04.1 |
tags: | removed: rls-ff-incoming |
tags: | added: id-5ef4c1e222b6324e1c59ad48 |
Changed in ubiquity (Ubuntu): | |
assignee: | nobody → Łukasz Zemczak (sil2100) |
status: | Triaged → In Progress |
tags: | added: fr-1091 |
Changed in ubiquity (Ubuntu Focal): | |
milestone: | ubuntu-20.04.1 → ubuntu-20.04.2 |
tags: | removed: rls-hh-incoming |
Changed in ubiquity (Ubuntu Focal): | |
milestone: | ubuntu-20.04.2 → ubuntu-20.04.3 |
Changed in ubiquity (Ubuntu Hirsute): | |
milestone: | none → ubuntu-21.04 |
Changed in ubiquity (Ubuntu Hirsute): | |
status: | Confirmed → Incomplete |
Changed in ubiquity (Ubuntu Focal): | |
assignee: | nobody → Kadir Selçuk (turkdevops) |
status: | Triaged → Fix Committed |
Changed in ubiquity (Ubuntu Hirsute): | |
status: | Confirmed → Fix Released |
Changed in ubiquity (Ubuntu Focal): | |
status: | Fix Committed → Fix Released |
Changed in ubiquity (Ubuntu Focal): | |
assignee: | nobody → Kadir Selçuk (turkdevops) |
status: | Triaged → New |
Changed in ubiquity (Ubuntu Focal): | |
milestone: | ubuntu-20.04.3 → ubuntu-20.04.4 |
Changed in ubiquity (Ubuntu): | |
milestone: | ubuntu-21.04 → ubuntu-22.04 |
Changed in ubiquity (Ubuntu Focal): | |
milestone: | ubuntu-20.04.4 → focal-updates |
Changed in ubuntu-release-notes: | |
status: | New → Fix Released |
description: | updated |
tags: | added: patch |
summary: |
- [20.04] Keyboard layout not enabled immediately during installation when - typing username/password + [20.04] Keyboard layout changes during installation before typing + username/password |
I installed a fresh Ubuntu 20.04 LTS on an Oracle VM. During the installation, I choosed “french language” and “Belgian keyboard”. Later, the installer asked me to type my name and password and THERE the keyboard is in Qwerty with no support of the numeric pad (Qwerty 88)
I checked it with two different install to be sure of the bug. And with a German keyboard, same problem.
After reboot, it returns back in Keyb BE as defined.
Potential login problem :
If your name doesn’t contain any letter as “z-q-a-w or m” nor a numeric AND neither does your password, you are fine. But if only your password does, you’re fried because you cannot detect the problem during the install and at the next restart : bam ! “your password is invalid”.
The work around is to type the password with the “Qwerty 88” design in your head, a design easy to find on internet.