I have a FreeNX server running on a development CentOS-6.3 kvm guest and I have the NoMachine player for OSX installed on my MacBook pro. I can connect to my desktop without problem.
However, when I run a terminal session on the remote desktop when I type / I get é displayed and I cannot enter directory paths in consequence.
I recall having a similar problem with the VNC remote console in virt-manager and that was caused by virt-manager leaving out the keyboard specification from the graphics entry in /etc/libvirt/qemu/config.xml. However, I cannot discover if a similar configuration setting exists for NoMachine. Does anyone else here use NoMachine player from a Mac and if so have you encountered and solved this problem? If you have then I would appreciate being told how to fix this.
I discovered that this work-around resolves the problem for a given NX session. From inside a terminal session on the remote desktop issue the following command:
setxkbmap -model evdev -layout us
Where >us< is whatever keyboard layout you wish to use.