NX Client Keyboard Mapping Problem

I had several crazy keyboard issues using nx client. The most annoying one is that “up-arrow” was gone and became printscreen. However, it turns out the problem has an easy fix. On the server, change System->Preferences->Keyboard->Layouts to “Evdev-managed keyboard” btw, if you use the windows client, the original setting (Generic 10x-key) is good.