-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Hi,
I've encountered and issue with keyboard layouts.
To add some background. My company is running LTSP and for remote users we want to deploy RDP server.
Iam running Ubuntu 22 with Mate desktop as a server and installed version 0.9.19 along with latest xorgxrdp and fail2ban.
Connecting on the server through either Windows Remote Desktop or Remmina from another linux machine works great. The only issue is, when user connects, their layout is locked to English, whereas I need English and Czech. In language picker there are 3 options. "EN", Blank or Blank with lower index 2. All of those options work as English, when I enter layout settings and change the order of languages it 'magicaly' works as intended (both EN and CS), however when user logs out and logs back in its broken again.
testuser@rdp:~$ setxkbmap -query
rules: base
model: pc104
layout: us
I've been trying to find any solution but none of them worked, for example:
Generating keymap 0405 with xrdp-genkeymap km-00000405
and adding this to the xrdp_keyboard.ini under section default_rdp_layouts as rdp_layout_cs=0x00000405
and under section default_layouts_map as rdp_layout_cs=cs
After i restart the service and connect as test user same thing with the language picker happens, but now the options are Blank, Blank with lower index 2 and "CS". The problem here is, that the actual layout is not CS but RU (???)
testuser@rdp:~$ setxkbmap -query
rules: base
model: pc104
layout: cs
In xrdp.ini i tried option xrdp.override_keylayout=0x00000405
, that actually did nothing. Neither does enabling autodetecting layout from client.
setxkb -layout 'cs,us'
works, but once again EN is english and CS is russian
Is there any way to be able to have EN and CS layout for every user that logs on to the RDP?