Hi Santiago, thanks for the detailed report, it was enough to find the cause.
This is a regression of 1.4.44. The multimonitor rework [1] added a check in the RDP plugin: when Remmina runs as a native Wayland client (the default in a Wayland session), the keyboard layout sent to the server is always 0. In 1.4.43 Remmina asked FreeRDP to detect it (through XKB, or from the locale as a fallback; your gl_ES locale maps to the Spanish layout). xrdp builds the session keymap from the layout the client announces, so with 0 it loads the US keymap. Windows keeps the input language of the user profile, which is why your Windows connections are fine. It is also why I missed it before the upload: I tested 1.4.44 on Wayland thin clients, but only against Windows servers, since at work all of them currently connect only to Windows sessions.
The same change also ignores the layout chosen by hand in Preferences > RDP > Keyboard layout, so in 1.4.44 there is no way to pick it from Remmina on Wayland. This is upstream issue 3655 [2], fixed in master [3]: the layout selected in Preferences is sent again. I've added that fix to the packaging repository as a patch in debian/patches [4], so you can already build and try it if you want; it will be in the next upload.
Note that with that fix the default "Auto-detect" still sends 0 on Wayland: upstream did this on purpose, because on some Wayland desktops the detection picked the wrong layout (issue 3589 [5]). So with the patch you need to select the Spanish layout once in Preferences > RDP. Since on your desktop the old detection was right, I've reported your case in the upstream issue [2], which is still open, with some notes on how a reliable detection could be done on Wayland. It needs more work upstream, so I can't say yet if or when it will come back; I'm keeping this bug open and marking it as forwarded to that issue.
If you need it in the meantime, a possible workaround is to run Remmina through XWayland, which takes the 1.4.43 code path:
GDK_BACKEND=x11 remminaIt is not ideal, since Remmina then loses the native Wayland integration, but if you try it, please tell me whether it gives you the Spanish layout: a confirmation would be useful for the upstream issue.
[1] https://gitlab.com/Remmina/Remmina/-/commit/af740ab5f [2] https://gitlab.com/Remmina/Remmina/-/work_items/3655 [3] https://gitlab.com/Remmina/Remmina/-/merge_requests/2836[4] https://salsa.debian.org/debian-remote-team/remmina/-/blob/master/debian/patches/rdp-use-configured-keyboard-layout-on-wayland.patch
[5] https://gitlab.com/Remmina/Remmina/-/work_items/3589 Regards, Fabio
OpenPGP_signature.asc
Description: OpenPGP digital signature

