I have a problem with nomachine NX-client in Ubuntu. It seems that the keymapping has a problem. For example, the arrow keys do not work (except for up key which opens printscreen!). I searched online and found several solutions. However none of them worked for me:
On the server, change System->Preferences->Keyboard->Layouts to “Evdev-managed keyboard”
The server that I log into has Centos 5.7 on it and I cannot find “Evdev-managed keyboard” layout in keyboard setting. I tried several other generic keyboard layouts with no success.
add the following lines to
Section "ServerFlags" Option "AutoAddDevices" "false" EndSection
I did it and my keyboard stopped working completely! I had to use the on-screen keyboard to remove this setting and get back to normal.
xmodmap -pke > localxmodmap locally
Copy the file to server as
xmodmap ~/.Xmodmap from terminal.
which gives me a bunch of errors such as:
xmodmap: /home/fzc23/.Xmodmap:60: bad keysym name 'XF86Switch_VT_1' in keysym list
and doesn't work.
I do not know what else to do. I would appreciate if somebody could help me out.
BTW, the NX-client on windows connects to the same server with no keymapping problem so I believe this is a problem in Ubuntu and has nothing to do with the server side.