How to fix keystrokes in X11 tunnelling?

1

I'm ssh-ing into a server environment. As long as i'm in the console, all my keys work fine. However, when I am displaying an application from the server (via X11, using ssh -XY), several keys on my keyboard don't work.

For example, the 0-key and the arrow-up key does not work in the program window.

What can I do to diagnose the problem? Is this a problem on my local computer, or on the linux machine I am sshing into?

I am using a Macbook, XQuartz and the system I'm sshing into is Fedora linux Two specific programs on Fedora which are not recognizing the keystrokes are Gedit and Matlab.

Rishi

Posted 2015-10-17T03:43:47.367

Reputation: 69

If this question is worth down voting, I'd at least appreciate if you could tell me how to improve the question – Rishi – 2015-10-19T04:20:07.270

Answers

0

Restarting the server fixed the problem!

Rishi

Posted 2015-10-17T03:43:47.367

Reputation: 69

1

One way to diagnose the problem can be to run xev (remotely from the SSH tunnel, of course, tho running it locally as well can be useful to compare the results) which sometimes gives some more details about the exact events seen in response to various keyboard keys.

Dailan Kifki

Posted 2015-10-17T03:43:47.367

Reputation: 358