I'm using the No Machine windows NX client to connect to an Ubuntu 12.04 server. In Ubuntu I have the keyboard set to English (UK) in System Settings > Keyboard Layout. In Windows 7 I have the location set to United Kingdom and keyboard English (United Kingdom). However when I log on to the Ubuntu server it seems I have a US keyboard layout.
Edit: I understand that NX defaults to a US keyboard layout if it doesn't understand the keyboard of either the client or the server. I've spent several hours looking for resolutions on Google, i.e. setxkbmap gb on the server. However doing that generates the message Error loading new keyboard description.
Edit2: When I tried using the onBoard on screen keyboard to get around the issues, most of the keys came up with question marks. The space bar contained the message "No X keyboard found, retrying...". Could this have something to do with why my keyboard isn't mapping correctly? The Ubuntu system is derived from the Rackspace Ubuntu 12.04 image with a GUI subsequently installed (I believe it's Unity).