I'm having an issue with the special keys using XRDP on an Raspberry PI.
I've downloaded xrdp and configured it, then when connecting and opening a terminal, some keys are messing up everything.
For exemple :
- Arrow keys are writting 'A''B''C' and 'D'
- The capslock seems activated even tho it's not
- Pressing the left shift key seems to deactivate the caps lock only for number
- Tab key is not working at all
And so on ...
I saw this post talking about a problem that looks similar, but the solution they give is not working for me.
What have I done :
- I've downloaded the appropriate keymap (km-0000040C.ini in my case) here
- I've put the file with the same permissions in /etc/xrdp
- I've restarted my service from the RPI console with
sudo service srdp restart
(which worked as I got kicked from my session)
And when connecting again to my xrdp session I still have the issue.
I went to check if the file was still the one I put and yes it is.
At one point it suddenly worked fine without me knowing what I did. Then I closed the terminals, disconnected from the xrdp session then reconnected and the problemes appeared again.
My last clue would be that the files that are taken in account are not the one I changed in /etc/xrdb but I have no idea how to check that.
My Linux version (lsb_release -a
) is Debian GNU/Linux 12 (bookworm)
My /etc/xrdp folder : Picture of the /etc/xrdp folder
Edit : There is a warning message on /var/log/xrdp.log that says : "local keymap file for 0x0000040c found and doesn't match built in keymapa, using local keymap file"
If anyone has any solution or idea I'm all hears.