-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Swedish keyboard layout not working #2913
Comments
Some more info from the logs:
Seems the server gets something from the client that lures it to load the wrong map. |
Forcing the keylayout using xrdp.override_keylayout works:
But I realize the default config uses upper case D while the file is created with lower case d - could that be part of the explanation? |
We rely on the client to tell us the keymap to load. The client could be connecting from anywhere in the world, and we don't know in advance what the client's keymap will be. The message you've logged above is the reason we're loading a US keymap:-
I've had a dig about, and we're getting this value from the TS_UD_CS_CORE PDU (section 2.2.1.3.2). The value is also sent in the TS_INPUT_CAPABILITYSET PDU (section 2.2.7.1.6). According to the document these SHOULD correspond. However, Appendix A of [MS-RDPBCGR] (produce behaviour) contains this statement:-
From this, I take it that we're getting the value from the right place. We could log a diagnostic if the other value is different maybe. I see from your (now closed) GNOME report that other clients exhibit the same behaviour. xfreerdp has a switch which allows the layout to be explicitly specified. You could try that, and if it works that suggest for some reason the wrong default keymap is being picked up by the client. Is that useful? |
Absolutely! Thanks! I've tried using
It ends up running with english keyboard layout both when I connect to xrdp and windows - so that option seem to work less than satisfactory. The xrdp log states:
So the The i.e.
which is also reflected in the log:
|
Does that work with xrdp and windows? What happens when you connect to windows from gnome connections? |
|
That's interesting, and gives us a way to investigate this - thanks. What version of Windows are you connecting to? |
My windows test target is |
xrdp version
0.9.24
Detailed xrdp version, build options
Operating system & version
Centos Stream 9
Installation method
dnf / apt / zypper / pkg / etc
Which backend do you use?
tigervnc-1.13.1-1-4.el9
What desktop environment do you use?
Gnome
Environment xrdp running on
vmware vm
What's your client?
gnome-connections-45.0-1.fc39
Area(s) with issue?
Graphic glitches, Keyboard / Mouse
Steps to reproduce
As described here.
Keyboard layout is not interpreted properly - even though the client (Fedora 39, gnome-connections) and the server (Centos stream 9, xrdp+tigervnc) has Swedish keyboard layout the keyboard behaves as if it was English.
As can be seen in the bug report to gnome-connections the issue is reproducible with xrdp using multiple clients.
✔️ Expected Behavior
Swedish keyboard layout should be working.
❌ Actual Behavior
Anything else?
alt-tabbing will kill keyboard input - so to write this report I've needed to re-connect many a time...
The text was updated successfully, but these errors were encountered: