Comment 15 for bug 108928

frankO (frank-grant) wrote :

The fix is to use --extension XFIXES
This works for vnc4server. It does not work for vncserver.
The following will fix the scrambled keys and also give you the gnome desktop
ssh into your remote pc
sudo apt-get install vnc4server (make sure you do not have vncserver added. If you do then sudo apt-get remove vncserver)

Then run
vncserver :1 -query localhost -extension XFIXES

Refer https://bugs.launchpad.net/ubuntu/feisty/+source/vnc4/+bug/78282