Keymap issues with NX from Mac OS X Lion to Ubuntu

Paul picture Paul · Aug 11, 2011 · Viewed 8.3k times · Source

I have issues with the keymap of my NX session being garbled.

I have a Macbook Air running OS X Lion. I use OpenNX to start a session with an Ubuntu server running FreeNX. The session type is Gnome.

My keymap is very off (eg. w gives =, delete gives ",", t gives w). I tried:

xmodmap -pke > nxclient.xmodmap

on the client and,

xmodmap nxclient.xmodmap

on the server and I recover many of my keys, but it is still unusable. I tried the Gnome keyboard layouts but none worked. The problem also occurs with an XFCE session.

I would appreciate any tips. x2go worked on client and server using Gnome with no issues. Unfortunately, it does not work on Mac OS X Lion currently.

Answer

fiddlemonkey picture fiddlemonkey · Jun 17, 2016

I found a surprisingly simple solution: disconnect the X2Go session and reconnect. This fixes the Mac keyboard issue for me (which seems to persist beyond OS X Lion).