[FreeNX-kNX] problems with Mac OS X client

lists.freenx at web19.eml.cc lists.freenx at web19.eml.cc
Fri Aug 12 18:41:10 UTC 2005


On Thursday 11 August 2005 23:57, David Perkel wrote:
> OK, the problem with ignoring '*' and '+' seems to occur only with
> certain applications, notably konsole.
>
> This suggests nxclient is off the hook.  My apologies.
> David

I also had this problem using konsole over NX.  It's been a while, but 
here is my recollection of the solution: the * on shift-8 generates 
some other weird keystroke that for me switched konsole tabs, but the 
* on the numeric keypad (for my PowerBook I think it's fn-0) works 
fine.  So I remap the shift-8 version to send the same X Windows 
keysym as the keypad * by putting the following lines:

keycode 75 = asterisk
keycode 77 = plus

in a file (I use ~/.Xmodmap) and then running

xmodmap ~/.Xmodmap

to apply the settings.  (I had the same problem with +.)  You need 
these settings to affect the *local* X Server running on your mac.  I 
don't remember whether it works to do this inside the NX session (I 
think it does), or if you have to start X11.app manually on your mac, 
open up a terminal window, run xmodmap, and then start nxclient.  You 
can automate this using a .xinitrc file, but make sure you understand 
how to use .xinitrc - specifically, that your X session will end when 
the .xinitrc script returns, so you need to have something in there 
that doesn't quit until you're done with X.  For that purpose I 
compile session_gate from MIT Athena and use a .xinitrc that looks 
like this:

xmodmap ${HOME}/.Xmodmap
rxvt &
konsole &
quartz-wm &
exec /usr/local/bin/session_gate

... although it also works to exec xterm or some such if you don't 
mind the requirement that you always keep that xterm open.

Hope this helps,
-Jesse



More information about the FreeNX-kNX mailing list