Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using startx (with Xdmx) to run a remote session on another computer. However, when I do this, keybindings (especially control, alt and the cursor keys) are not correct on the remote session-- and this persists when the session is closed, requiring logout to restore.

I'm coming up zilch after some googling. Any ideas? Thanks!

share|improve this question

Sounds like the remote server remaps the keys - most of the time caused by a xmodmap setup which not considers thet different clients may have different needs.

Where the settings are stored/applied depends on your environment (plain X / Gnome / KDE / CDE / etc.).

share|improve this answer
Some success from exporting xmodmap before startx and then reloading: only works effectively so far when starting from the same environment (ie, xfce to xfce, not KDE/ubuntu/etc to another environment. Suspect closer examination of the mapping may fix. Thanks. – 1kenthomas Sep 7 '12 at 6:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.