Friday, December 16, 2011

vncviewer: keyboard mapping problem

If you encounter a problem of keyboard mapping when you use the vncviewer,
the solution is to add "export XKL_XMODMAP_DISABLE=1" to the file "~/.vnc/xstartup"  on the server which looks like:

"
#!/bin/sh

export XKL_XMODMAP_DISABLE=1

xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
/etc/X11/Xsession
"

Of course, you have to restart xserver to implement the changes.




No comments: