I am trying to use VNC on OSX (client) to connect to a remote Linux machine. The problem is that I several important characters (such as braces, brackets, pipe and backslash) are in alt and alt-shift positions on my (Swedish) Mac-keyboard and that the alt-key is not handled as a shift (alt gr) key by linux but rather invokes command line editing commands.
All non-alted keys seem to be in the correct position so I have the same keyboard layout on the remote machine. But I would not want to have to bother, the preferred mode would be that the local keyboard layout on my client would determine what keys get sent.
I have tried several different VNC clients, and fiddled with settings, but not found anything that solves this.