SSH from mac to linux -> start gnome-session -> X11 keyboard mapping all messed up.

Posted by Justin on Super User See other posts from Super User or by Justin
Published on 2009-11-11T05:23:13Z Indexed on 2010/03/16 5:06 UTC
Read the original article Hit count: 504

Filed under:
|
|
|
|

I have 2 computers: echo.local is running Ubuntu 9.04. justin.local is running Mac OS 10.6.1. X11 version on the mac is 2.3.4.

I open X11 on the mac, and open a new xterm window (Applications Menu -> Terminal), everything is fine. Keyboard works as expected.

I do ssh -X echo.local from the mac (connecting to the linux box), and from the linux command prompt, start xterm - everything is fine. Keyboard works as expected.

I do gnome-session from the linux command prompt (through SSH), gnome launches, but keyboard mapping is ALL types of screwed up. If I kill gnome-session and open an xterm via ssh, keyboard mapping is still screwed up. If I then kill the SSH session entirely, and do X11 -> Applications Menu -> Terminal, opening a brand new xterm window on the mac with no SSH session running at all ... keyboard mapping is still screwed up.

Only after I quit X11 and relaunch, is the keyboard mapping back to normal.

Keyboard layout under GNOME is Apple->MacBook/MacBook Pro.

© Super User or respective owner

Related posts about x11

Related posts about gnome