-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Description
Issue description
When typing Umlauts or accented characters in the SLiM login mask, the keystrokes seem to be completely discarded, rendering users that have these characters in their password unable to log in to their Desktop Manger using SLiM.
Steps to reproduce
- Connect a keyboard that allows to type Umlauts and/or accented characters (in my case: a Swiss German one)
- configure NixOS to launch the XServer and to use a key layout corresponding to that keyboard:
# In /etc/nixos/configuration.nix: # ... services.xserver.enable = true; services.xserver.layout = "ch,de"; # ... - use it:
# In bash: sudo nixos-rebuild boot sudo reboot
Expected
- Users with umlauts and/or accented characters in their passwords can now log in.
Observed
- When queried for the username and typing an Umlaut or an accented character, nothing appears
- (This might be expected. I don't know whether these are valid in a UNIX user name.)
- When queried for the password and typing an Umlaut or an accented character, nothing appears
- When queried for the password and typing an ASCII character, a star appears
- When logging in as a user that has an ASCII-only password, Umlauts or an accented characters are available in the desktop manager (e.g. GNOME 3) once that has started. (I.e., the layout setting above seems to work, except for in SLiM.)
Nota bene
With
# Select internationalisation properties.
i18n = {
consoleFont = "Lat2-Terminus16";
consoleKeyMap = "de_CH-latin1";
defaultLocale = "de_CH.UTF-8";
};
in /etc/nixos/configuration.nix, these users with not-(only-)ASCII passwords can log in on the system terminal (= non-graphical).
Technical details
- System: NixOS:
17.03.1858.3d04a557b7 (Gorilla) - Nix version:
nix-env (Nix) 1.11.14 - Nixpkgs version:
"17.03.1858.3d04a557b7" - Sandboxing enabled:
build-use-sandbox = false
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels