I'm running 16.04.4LTS server as a host for virtualbox-5.2 and have added xfce4 as a desktop environment for the techs to xRDP to. This works fine in all instances except passing keystrokes to the virtualbox management GUI.
When logged on locally, keystrokes appear as expected in the VirtualBox GUI. When logged on via xRDP, keystrokes appear as expected in all other applications that I've tested. When logged on via xRDP and using VirtualBox GUI (management not individual VMs), keystrokes generate unexpected characters. Below is an excerpt of the mapping:
a -> a s -> b d -> f f -> h g -> j h -> k j -> ; k -> ' l -> ` 5 -> backspace alt left -> 5
I have reinstalled xRDP and tried both xfce4 and LXDE desktop environments. The same behaviour is exhibited in both. I have also tried a clean install of 16.04.4 Just to remove doubt I tried a keyboard remap. This didn't work although i didn't expect it to as only VirtualBox seems to be affected by this issue.
Does anyone have any suggestions on this?