I’m using NX to display my Linux box CAD tool windows back onto my Mac (i.e. I’m not viewing the remote linux desktop). On my Linux box I have a .cshrc file that includes the command:
xmodmap ~/.Xmodmap
which I use to remap some keys on my Mac keyboard. When I disconnect from the network and later reconnect to continue my work, all of my key remappings are gone, the graphics in the CAD tool windows is more pixellated than usual, and the colors are all off (like the color space was really culled down). If I close the affected windows with the poor resolution and colors and reopen them they become good again. However, my key remappings never seem to come back unless I specifically re-enter the xmodmap command into the gnome-terminal window that came up when I first connected via NX. It seems NX is not picking up where it left off in an acceptable way after a network disruption.
Is there a way to fix this?