MacX 1.5 and Connect With XDMCP: Key Mapping Issue (11/95)

When using MacX 1.5 and the XDMCP protocol to connect to a workstation, I noticed that some of my keys no longer work. If I use a remote command like xterm, I do not have this key mapping issue. Why are the key mappings different.
We believe the XDM settings have mapped the keys differently. To correct this, follow the following steps:

Step 1
------
Connect with a remote xterm command, so the keys mappings are correct.

Step 2
------
Type the command:

xmodmap -pke > $HOME/mykeymap

This command will output your key mappings to a file.

Step 3
------
Create a file called '.xsession' in you HOME directory.

Step 4
------
In .xsession, enter this line: 'xmodmap mykeymap'

Step 5
------
Save this file, make it executable and exit.

Step 6
------
Connect again with XDMCP. The Xsessions file will read the user's .xsession file, issuing the command to execute the command xmodmap and map the users working key map.


Support Information Services
Published Date: Feb 19, 2012