Keymap issues with NX from Mac OS X Lion

Posted by Andy on Stack Overflow See other posts from Stack Overflow or by Andy
Published on 2011-08-17T13:06:14Z Indexed on 2011/11/19 9:51 UTC
Read the original article Hit count: 455

Filed under:
|
|

I tried to answer the question from Mark:

Keymap issues with NX from Mac OS X Lion to Ubuntu

However, it is locked so I figured I would post a new question / answer.

I have been trying to answer this for a few days now because I have no issues when connecting through NX Client (technically OpenNX) to FreeNX server from an iMac (with Lion), but if I try to connect with a Macbook Pro I get horrible keyboard binding issues. The fix that is working for me is to go into:

~/.nx/config/HOST.nxs

and change:

<option key="Current keyboard" value="false"/>
<option key="Custom keyboard layout" value="empty"/>
<option key="Grab keyboard" value="false"/>

I have tried this on three NX Servers and all are fixed. Hope it helps or gets you closer. Always check in the ~/.nx/temp/ for the sshlog and see if --keyboard="empty/empty" instead of "pc105/en" because the Mac is really pc104.

9:05:35: startsession --session="HOST" --type="unix-gnome" --cache="8M" --images="32M" --link="adsl" --geometry="2556\ x1396" --screeninfo="2560x1440x32+render" --keyboard="empty/empty" --backingstore="1" --encryption="1" --composite="1" --\ shmem="1" --shpix="1" --streaming="1" --samba="0" --cups="0" --nodelay="1" --defer="0" --client="macosx" --media="0" --st\ rict="0" --aux="1"

© Stack Overflow or respective owner

Related posts about remote-desktop

Related posts about keymapping