Keyboard layout problems with Sun Ray Connector for VMware VDM
By mprove on Feb 23, 2009
[originally posted by Sarah Fortune 24-Feb-09]
There have been a couple of problems reported with international keyboards and the Sun Ray Connector for VMware VDM.
Some of the issues are:
- Inability to enter characters that require Alt Gr combinations
- When numlock is enabled the Enter, backspace and arrow keys don't work
- In the Windows session, the keyboard is mapped as US
The first two are caused by a problem with Java and xkb. The solution is either to turn of the xkb extensions using this command '/opt/SUNWut/bin/utxconfig -k off' in the kiosk script: /etc/opt/SUNWkio/sessions/vdm/vdm. Using Java 6 also solves these problems, (you will need the Java 6 update 12 JDK, other versions can cause problems). You may need to change the kiosk script to point to the correct Java install. Change the line 'theJavaExec=/usr/java/bin/java' to point to the new location.
The third problem is due to the locale not being set for the windows session. You can set it in two ways. In the Sun Ray web administration go to Advanced > Kiosk Mode > Edit and enter the correct value for Locale. Or you can pass the locale as an argument to the kiosk script. On the same page add the argument -l <locale> after the double dashes.
The names of the locales can be found here.
These solutions assume that everyone on the site is using the same
keyboard layout. Other configurations will require some extra changes to
the kiosk script, that's left as an exercise to the reader.
Thanks to Tomas O'Connor for the solutions.