New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard layout when entering installation phase 2 is still set to English. Users must consider a possible (for example) "Y/Z keyswap" when entering their disk passphrase for the first time. Next boots go with their chosen layout. #3785

Closed
Wikinaut opened this Issue Apr 4, 2018 · 12 comments

Comments

Projects
None yet
3 participants
@Wikinaut

Wikinaut commented Apr 4, 2018

Qubes OS version:

Qubes R4.0

Affected component(s):

  • installation
  • harddisk encryption password

Steps to reproduce the behavior:

R4.0 installation allows only a couple of English language on the first screen.

Expected behavior:

Installation should also allowed further languages.

When having only English like at the moment. you cannot use non-Ascii-Characters for the disk encryption password, because it might happen, that you cannot enter the password later when you changed the keyword layout to German, for example., which keyboards have a different layount and you run into the "Y/Z" problem ("Y" and "Z" keys are exchanged on German vs. English keyboards).

Actual behavior:

General notes:


Related issues:

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Apr 4, 2018

Member

Language and keyboard layout are separate settings. You can choose any keyboard layout (including non-English ones). And using different keyboard layout finally works in Qubes 4.0 (#3234). When you enter disk passphrase, there is clear indication what keyboard layout is chosen, If you want different one, set it before setting disk passphrase.

Member

marmarek commented Apr 4, 2018

Language and keyboard layout are separate settings. You can choose any keyboard layout (including non-English ones). And using different keyboard layout finally works in Qubes 4.0 (#3234). When you enter disk passphrase, there is clear indication what keyboard layout is chosen, If you want different one, set it before setting disk passphrase.

@marmarek marmarek closed this Apr 4, 2018

@Wikinaut

This comment has been minimized.

Show comment
Hide comment
@Wikinaut

Wikinaut Apr 4, 2018

@marmarek wrote

Language and keyboard layout are separate settings. You can choose any keyboard layout (including non-English ones). And using different keyboard layout finally works in Qubes 4.0 (#3234). When you enter disk passphrase, there is clear indication what keyboard layout is chosen, If you want different one, set it before setting disk passphrase.

No. When I boot, there is no indication of the keyboard setting, and this appears to be always English - instead of the different(!) keyboard setting (German) which I had set in the second step of the installation just before I entered my password (German).

Fully reproducible, is a regression. This is a big, which was not present in R3.2.

Pls. reopen.

I am willing to test and help.

Wikinaut commented Apr 4, 2018

@marmarek wrote

Language and keyboard layout are separate settings. You can choose any keyboard layout (including non-English ones). And using different keyboard layout finally works in Qubes 4.0 (#3234). When you enter disk passphrase, there is clear indication what keyboard layout is chosen, If you want different one, set it before setting disk passphrase.

No. When I boot, there is no indication of the keyboard setting, and this appears to be always English - instead of the different(!) keyboard setting (German) which I had set in the second step of the installation just before I entered my password (German).

Fully reproducible, is a regression. This is a big, which was not present in R3.2.

Pls. reopen.

I am willing to test and help.

@marmarek marmarek reopened this Apr 4, 2018

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Apr 4, 2018

Member

How exactly have you configured keyboard layout? Try this:

  1. Select "Keyboard" in main installer screen.
  2. Add German keyboard
  3. Move it to first position on that list (this will make it default keyboard layout)
Member

marmarek commented Apr 4, 2018

How exactly have you configured keyboard layout? Try this:

  1. Select "Keyboard" in main installer screen.
  2. Add German keyboard
  3. Move it to first position on that list (this will make it default keyboard layout)
@Wikinaut

This comment has been minimized.

Show comment
Hide comment
@Wikinaut

Wikinaut Apr 4, 2018

I did this already during two installations. On my Samsung Laptop, it seems to be okay, on my Intel NUC I have the described issue, which is reproducible.

Ad step 3 (above): in one test installation, I then removed the English keyboard (which then was on the second position).

Let me know, if you want me to do another test.

Wikinaut commented Apr 4, 2018

I did this already during two installations. On my Samsung Laptop, it seems to be okay, on my Intel NUC I have the described issue, which is reproducible.

Ad step 3 (above): in one test installation, I then removed the English keyboard (which then was on the second position).

Let me know, if you want me to do another test.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Apr 4, 2018

Member

Are you using final R4.0 image, or release candidate?

Member

marmarek commented Apr 4, 2018

Are you using final R4.0 image, or release candidate?

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Apr 4, 2018

Member

Do you mean the same steps on different hardware leads to different results?
Is it that on PS2 (internal) keyboard it's ok, but on USB (external) keyboard it's wrong?

Member

marmarek commented Apr 4, 2018

Do you mean the same steps on different hardware leads to different results?
Is it that on PS2 (internal) keyboard it's ok, but on USB (external) keyboard it's wrong?

@Wikinaut

This comment has been minimized.

Show comment
Hide comment
@Wikinaut

Wikinaut Apr 4, 2018

Final R4.0

  • USB keyboard: not ok
  • Internal laptop keyboard: ok

Wikinaut commented Apr 4, 2018

Final R4.0

  • USB keyboard: not ok
  • Internal laptop keyboard: ok
@Wikinaut

This comment has been minimized.

Show comment
Hide comment
@Wikinaut

Wikinaut Apr 20, 2018

Have you fixed this in the last update? It looks so to me.

Have you fixed this in the last update? It looks so to me.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Apr 20, 2018

Member

I guess regenerating initramfs (caused by kernel update) might fixed this. But it is still a mystery for me why it didn't worked for you with USB keyboard, but at the same time worked with internal one...

Member

marmarek commented Apr 20, 2018

I guess regenerating initramfs (caused by kernel update) might fixed this. But it is still a mystery for me why it didn't worked for you with USB keyboard, but at the same time worked with internal one...

@Wikinaut

This comment has been minimized.

Show comment
Hide comment
@Wikinaut

Wikinaut Apr 20, 2018

Now I have the "problem" that I have to enter the password with "y" and "z" swapped (I swapped the characters already intentionally when installing Qubes.....).

Now I have the "problem" that I have to enter the password with "y" and "z" swapped (I swapped the characters already intentionally when installing Qubes.....).

@Wikinaut

This comment has been minimized.

Show comment
Hide comment
@Wikinaut

Wikinaut Apr 20, 2018

As my problem appears to be "solved", I am closing it. Please reopen if needed by the team.

As my problem appears to be "solved", I am closing it. Please reopen if needed by the team.

@Wikinaut

This comment has been minimized.

Show comment
Hide comment
@Wikinaut

Wikinaut May 16, 2018

@marmarek Please allow me to update my report regarding the Keyboad "issue", because I know now exactly the reason. The problem comes up in the following step during installation.

  1. Installer Boot from USB, First stage of installation
  2. (EN= Language, there is only English and En-sublanguages)
  3. I add via "+" keyboard=GERMAN
  4. I remove via "-" keyboard English
  5. I set up a LUKS passphrase with an "Z" (German keyboard is "QWERTZ")
  6. In the next boot - during the installation - I have to enter my passphrase for the very first time, and only then, it is still ENGLISH (keyboard "QWERTY") so that I have to take the YZ-swap into consideration when entering the LUKS passphrase.
  7. Second stage of installation goes on
  8. Qubes is installed.
  9. From now on, all boots into the fully installed Qubes are correctly using my GERMAN keyboard layout.

So, in short, the very only time is number 6 - between stage 1 and 2 during the installation, when the user has to consider a (possible) swap of characters!

I hope you understand what I want to say: my issue is only an issue between 1st and 2nd isntallation stage, in other words: only the first passphrase goes via the ENGLISH keyboard layout, and users must consider a "swap" of YZ (and perhaps other characters, depending on their chosen keyboard layout).

@marmarek Please allow me to update my report regarding the Keyboad "issue", because I know now exactly the reason. The problem comes up in the following step during installation.

  1. Installer Boot from USB, First stage of installation
  2. (EN= Language, there is only English and En-sublanguages)
  3. I add via "+" keyboard=GERMAN
  4. I remove via "-" keyboard English
  5. I set up a LUKS passphrase with an "Z" (German keyboard is "QWERTZ")
  6. In the next boot - during the installation - I have to enter my passphrase for the very first time, and only then, it is still ENGLISH (keyboard "QWERTY") so that I have to take the YZ-swap into consideration when entering the LUKS passphrase.
  7. Second stage of installation goes on
  8. Qubes is installed.
  9. From now on, all boots into the fully installed Qubes are correctly using my GERMAN keyboard layout.

So, in short, the very only time is number 6 - between stage 1 and 2 during the installation, when the user has to consider a (possible) swap of characters!

I hope you understand what I want to say: my issue is only an issue between 1st and 2nd isntallation stage, in other words: only the first passphrase goes via the ENGLISH keyboard layout, and users must consider a "swap" of YZ (and perhaps other characters, depending on their chosen keyboard layout).

@Wikinaut Wikinaut changed the title from Allow further installation languages (currently only English). Disk encryption password may not be entered correctly when the keyboard language is changed. to Keyboard layout when entering installation phase 2 is still set to English. Users must consider a possible (for exampel) "Y/Z keyswap" when entering their disk passphrase for the first time. May 16, 2018

@Wikinaut Wikinaut changed the title from Keyboard layout when entering installation phase 2 is still set to English. Users must consider a possible (for exampel) "Y/Z keyswap" when entering their disk passphrase for the first time. to Keyboard layout when entering installation phase 2 is still set to English. Users must consider a possible (for example) "Y/Z keyswap" when entering their disk passphrase for the first time. May 16, 2018

@Wikinaut Wikinaut changed the title from Keyboard layout when entering installation phase 2 is still set to English. Users must consider a possible (for example) "Y/Z keyswap" when entering their disk passphrase for the first time. to Keyboard layout when entering installation phase 2 is still set to English. Users must consider a possible (for example) "Y/Z keyswap" when entering their disk passphrase for the first time. Next boots go with their chosen layout. May 16, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment