I am connecting from a Mac (with OSX 10.6) to a Linux machine (with CentOS 6.6) by using the ssh command (ssh -X). On the Mac side, I am using the Terminal app. After logging into Linux, I can use Emacs (
emacs -nw) or vim for my programming without problem, but all the other applications like Emacs (window mode), Firefox, visualization software, etc, do not recognize my keyboard input correctly. For example, if I enter
on the Mac side, Linux applications show the characters as
The same thing happens for GUI admin tools like
system-config-users. These Linux applications use X11, and the Mac uses XQuartz 2.3.6, but I am not sure whether the problem is due to X. Setting an environment variable like
LANG=C gedit did not work either. Do you have any ideas why this happens?