X11 remote desktops and keyboards

Daniel Staal DStaal at usa.net
Sun Apr 17 16:15:00 UTC 2011


I'm having a problem where if I try to create a remote desktop using X11, 
my keyboard gets remapped quite oddly.  (One key I've learned is that 'e' 
translates to 'backspace', for instance...)

This does not happen if I just run a program remotely.  It only happens if 
I try to run Xnest or Xephyr and then run a program inside that desktop. 
(So running xterm directly works fine, but running an xterm in a Xnest 
session doesn't.)

My 'home desktop' (the one running the X11 server, that I'm trying to 
remote my FreeBSD desktop to) is OS X 10.6.6, running XQuartz 2.3.6.  (The 
default Apple X11 server.)  The FreeBSD machine is running 8.2-RELEASE 
(amd64).

I do get an error when running Xnest or Xephyr.  In Xephyr the error is:
> Xephyr unable to use SHM XImages
> expected keysym, got XF86TouchpadToggle: line 123 of inet

In Xnest it is:
> expected keysym, got XF86TouchpadToggle: line 123 of inet
> Couldn't get keyboard.

Any ideas on what's going on or how to fix it?

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------


More information about the freebsd-questions mailing list