Tunnel X from Gutsy to Leopard
I have been tunneling X from Linux to Tiger for almost two years without any problems and happy with it. After upgrading to Leopard, a disaster struck me. I was unable to access my Linux applications on my Ubuntu box. I used to do it with Tiger without any problems. When I ssh tunnel X from Gutsy to Leopard, I had keyboard problem. When I pressed some keys on the keyboard, I got numbers and some weird characters like close windows and minimize windows.
The problem lies within Apple’s new X11 in Leopard. The keyboard is not properly mapped after establishing the X tunnel. After searching the web and Ubuntu forum, I found a solution:
% ssh -X username@gutsy
% xmodmap -pke > ~/.keymap
% gnome-panel 1>/dev/null 2>/dev/null & xmodmap ~/.keymap
Just do xmodmap map once will do. After that, ssh into Ubuntu and invoke gnome-panel.
Comments
5 Responses to “Tunnel X from Gutsy to Leopard”
Leave a Reply


Listen to my podcast
Adrian, thanks a bunch. You saved my day!
I just finished upgrading to Leopard and the first thing I found out was that I was unable to run my Linux apps as usual. Same problem and thank God I found your post! Thanks once again.
Thanks for the solution. It works on OpenSuSE as well.
ahmed
This no longer works after the recent Ubuntu update.
Anyone got this running with Hardy as server and Leopard as client?
I’m having troubles getting the keymap to work properly.
WIth the latest Leopard and Hardy updates, the keymap is working properly.