when I use the nx client “nxplayer” under Windows 10 in order to access an nx server under Debian 10 buster, I failed to login. On the Windows side I used the keyboard mapping “de_DE”. On the Linux side (Debian 10 Buster) I used the display manager “sddm” in its default configuration, which worked fine with the attached german keyboard when I accessed it directly via the console. But accessing remotely via NoMachine it turned out that the keyboard mapping on the display server side was “en_US”.
A search with the search string “NoMachine keyboard mapping” led to no result.
Searching “Debian Buster sddm keyboard chooser” led to the solution under the headline:
Keyboard localisation on login screen (SDDM)
After adding the line ‘setxkbmap “de,us”‘ to the file
# Xsetup – run as root before the login dialog appears
And a reboot led to the desired result.