When using xrdp to access the GUI on my headless Raspberry Pi’s I quickly discovered that the keyboard mapping was wrong, with the Pi defaulting to a US keyboard mapping. I tried hanging these settings in the GUI interface to no avail. After scouting around on the net I discovered that a new keyboard mapping file needs to be installed as part of the xrdp configuration in order for xrdp to correctly work with UK keyboards. Robin at Component Parts has provided the file: km-0809.ini. Copy this to /etc/xrdp, them execute:
% sudo chown xrdp.xrdp /etc/xrdp/km-0809.ini % sudo chmod 644 /etc/xrdp/km-0809.ini % sudo systemctl xrdp restart
Thanks for Component Parts for this fix.