For When You Can't Have The Real Thing
[ start | index | login ]
start > Sun > Sun Ray > VMWare Sessions

VMWare Sessions

Created by dave. Last edited by dave, 11 years and 243 days ago. Viewed 2,309 times. #2
[diff] [history] [edit] [rdf]
labels
attachments

Problem

When accessing VMWare-Server-Console on a Sun Ray, the keyboard is all wrong.

Solution

Use this file in /etc/vmware-server-console/config:

libdir = "/usr/lib/vmware-server-console"

xkeymap.keycode.48 = 0x001 xkeymap.keycode.37 = 0x002 xkeymap.keycode.38 = 0x003 xkeymap.keycode.39 = 0x004 xkeymap.keycode.40 = 0x005 xkeymap.keycode.41 = 0x006 xkeymap.keycode.42 = 0x007 xkeymap.keycode.43 = 0x008 xkeymap.keycode.44 = 0x009 xkeymap.keycode.45 = 0x00a xkeymap.keycode.46 = 0x00b xkeymap.keycode.52 = 0x00c xkeymap.keycode.53 = 0x00d xkeymap.keycode.49 = 0x00e xkeymap.keycode.50 = 0x00f

xkeymap.keycode.27 = 0x010 xkeymap.keycode.33 = 0x011 xkeymap.keycode.15 = 0x012 xkeymap.keycode.28 = 0x013 xkeymap.keycode.30 = 0x014 xkeymap.keycode.35 = 0x015 xkeymap.keycode.31 = 0x016 xkeymap.keycode.19 = 0x017 xkeymap.keycode.25 = 0x018 xkeymap.keycode.26 = 0x019 xkeymap.keycode.54 = 0x01a xkeymap.keycode.55 = 0x01b xkeymap.keycode.47 = 0x01c xkeymap.keycode.231 = 0x01d xkeymap.keycode.11 = 0x01e xkeymap.keycode.29 = 0x01f

xkeymap.keycode.14 = 0x020 xkeymap.keycode.16 = 0x021 xkeymap.keycode.17 = 0x022 xkeymap.keycode.18 = 0x023 xkeymap.keycode.20 = 0x024 xkeymap.keycode.21 = 0x025 xkeymap.keycode.22 = 0x026 xkeymap.keycode.58 = 0x027 xkeymap.keycode.59 = 0x028 xkeymap.keycode.60 = 0x029 xkeymap.keycode.232 = 0x02a xkeymap.keycode.56 = 0x02b xkeymap.keycode.36 = 0x02c xkeymap.keycode.34 = 0x02d xkeymap.keycode.13 = 0x02e xkeymap.keycode.32 = 0x02f

xkeymap.keycode.12 = 0x030 xkeymap.keycode.24 = 0x031 xkeymap.keycode.23 = 0x032 xkeymap.keycode.61 = 0x033 xkeymap.keycode.62 = 0x034 xkeymap.keycode.63 = 0x035 xkeymap.keycode.236 = 0x036 xkeymap.keycode.92 = 0x037 xkeymap.keycode.233 = 0x038 xkeymap.keycode.51 = 0x039 xkeymap.keycode.64 = 0x03a xkeymap.keycode.65 = 0x03b xkeymap.keycode.66 = 0x03c xkeymap.keycode.67 = 0x03d xkeymap.keycode.68 = 0x03e xkeymap.keycode.69 = 0x03f

xkeymap.keycode.70 = 0x040 xkeymap.keycode.71 = 0x041 xkeymap.keycode.72 = 0x042 xkeymap.keycode.73 = 0x043 xkeymap.keycode.74 = 0x044 xkeymap.keycode.90 = 0x045 xkeymap.keycode.78 = 0x046 xkeymap.keycode.102 = 0x047 xkeymap.keycode.103 = 0x048 xkeymap.keycode.104 = 0x049 xkeymap.keycode.93 = 0x04a xkeymap.keycode.99 = 0x04b xkeymap.keycode.100 = 0x04c xkeymap.keycode.101 = 0x04d xkeymap.keycode.94 = 0x04e xkeymap.keycode.96 = 0x04f

xkeymap.keycode.97 = 0x050 xkeymap.keycode.98 = 0x051 xkeymap.keycode.105 = 0x052 xkeymap.keycode.106 = 0x053 # xkeymap.keycode. = 0x054 # xkeymap.keycode. = 0x055 # xkeymap.keycode. = 0x056 xkeymap.keycode.75 = 0x057 xkeymap.keycode.76 = 0x058 # xkeymap.keycode. = 0x059 # xkeymap.keycode. = 0x05a # xkeymap.keycode. = 0x05b # xkeymap.keycode. = 0x05c # xkeymap.keycode. = 0x05d # xkeymap.keycode. = 0x05e # xkeymap.keycode. = 0x05f

xkeymap.keycode.95 = 0x11c xkeymap.keycode.235 = 0x11d xkeymap.keycode.91 = 0x135 xkeymap.keycode.77 = 0x137 xkeymap.keycode.237 = 0x138 xkeymap.keycode.81 = 0x147 xkeymap.keycode.89 = 0x148 xkeymap.keycode.82 = 0x149 xkeymap.keycode.87 = 0x14b xkeymap.keycode.86 = 0x14d xkeymap.keycode.84 = 0x14f xkeymap.keycode.88 = 0x150 xkeymap.keycode.85 = 0x151 xkeymap.keycode.80 = 0x152 xkeymap.keycode.83 = 0x153 xkeymap.keycode.234 = 0x15b xkeymap.keycode.238 = 0x15c xkeymap.keycode.108 = 0x15d

Source: Sun Ray users mailing list.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt