VMWare keyboard mapping made incorrect on recent Ubuntu Intrepid 8.10 Updates -dated Fri Oct 24 2008

Bug #289098 reported by Peter W Bowey
110
This bug affects 15 people
Affects Status Importance Assigned to Milestone
vmware-package (Ubuntu)
Invalid
Undecided
Unassigned
Nominated for Lucid by bastafidli
Intrepid
Invalid
Undecided
Unassigned

Bug Description

I had been using VMWare Workstation V6.5 to run VM guests under Ubuntu Intrepid V8.10 - as the OS host; the most recent updates (dated Friday Oct 24th 2008) for Ubuntu totally changed the VMware Workstation guest (Windows XP Professional) keyboard mapping! Cursor keys, Insert, Home, Page Up, Delete, End, Page Down in the VM guest have been remapped and I am forced to use the numeric keypad to serve the expected keyboard functions in a VM guest session.

The recent updates (Ubuntu Intrepid 8.10) that changed the previously correct guest keyboard mappings were:

================================================================
Commit Log for Fri Oct 24 22:10:51 2008

Upgraded the following packages:
abiword (2.6.4-4ubuntu3) to 2.6.4-4ubuntu4
abiword-common (2.6.4-4ubuntu3) to 2.6.4-4ubuntu4
abiword-help (2.6.4-4ubuntu3) to 2.6.4-4ubuntu4
abiword-plugin-grammar (2.6.4-4ubuntu3) to 2.6.4-4ubuntu4
abiword-plugin-mathview (2.6.4-4ubuntu3) to 2.6.4-4ubuntu4
apport (0.117) to 0.119
apport-gtk (0.117) to 0.119
bluetooth (4.12-0ubuntu3) to 4.12-0ubuntu4
bluez (4.12-0ubuntu3) to 4.12-0ubuntu4
bluez-alsa (4.12-0ubuntu3) to 4.12-0ubuntu4
bluez-cups (4.12-0ubuntu3) to 4.12-0ubuntu4
bluez-gstreamer (4.12-0ubuntu3) to 4.12-0ubuntu4
clamav (0.94.dfsg.1~rc1-0ubuntu1) to 0.94.dfsg.1~rc1-0ubuntu2
clamav-base (0.94.dfsg.1~rc1-0ubuntu1) to 0.94.dfsg.1~rc1-0ubuntu2
clamav-freshclam (0.94.dfsg.1~rc1-0ubuntu1) to 0.94.dfsg.1~rc1-0ubuntu2
consolekit (0.2.10-1ubuntu8) to 0.2.10-1ubuntu9
fast-user-switch-applet (2.24.0-0ubuntu5) to 2.24.0-0ubuntu6
fglrx-modaliases (2:8.543-0ubuntu3) to 2:8.543-0ubuntu4
file-roller (2.24.1-0ubuntu1) to 2.24.1-0ubuntu2
gnome-menus (2.24.0-0ubuntu2) to 2.24.1-0ubuntu1
gnome-panel (1:2.24.0-0ubuntu9) to 1:2.24.1-0ubuntu1
gnome-panel-data (1:2.24.0-0ubuntu9) to 1:2.24.1-0ubuntu1
jockey-common (0.5~beta3-0ubuntu3) to 0.5~beta3-0ubuntu4
jockey-gtk (0.5~beta3-0ubuntu3) to 0.5~beta3-0ubuntu4
language-selector (0.3.15) to 0.3.16
language-selector-common (0.3.15) to 0.3.16
laptop-mode-tools (1.45-1ubuntu3) to 1.45-1ubuntu4
libbluetooth3 (4.12-0ubuntu3) to 4.12-0ubuntu4
libck-connector0 (0.2.10-1ubuntu8) to 0.2.10-1ubuntu9
libclamav5 (0.94.dfsg.1~rc1-0ubuntu1) to 0.94.dfsg.1~rc1-0ubuntu2
libdv4 (1.0.0-1ubuntu1) to 1.0.0-1ubuntu2
libglibmm-2.4-1c2a (2.18.0-1) to 2.18.1-1
libgnome-menu2 (2.24.0-0ubuntu2) to 2.24.1-0ubuntu1
libpam-ck-connector (0.2.10-1ubuntu8) to 0.2.10-1ubuntu9
libpanel-applet2-0 (1:2.24.0-0ubuntu9) to 1:2.24.1-0ubuntu1
libpurple-bin (1:2.5.1-0ubuntu3) to 1:2.5.2-0ubuntu1
libpurple0 (1:2.5.1-0ubuntu3) to 1:2.5.2-0ubuntu1
libvolume-id0 (124-6) to 124-7
libwnck-common (2.24.0-0ubuntu1) to 2.24.1-0ubuntu1
libwnck22 (2.24.0-0ubuntu1) to 2.24.1-0ubuntu1
linux-doc-2.6.27 (2.6.27-7.13) to 2.6.27-7.14
linux-headers-2.6.27-7 (2.6.27-7.13) to 2.6.27-7.14
linux-headers-2.6.27-7-generic (2.6.27-7.13) to 2.6.27-7.14
linux-image-2.6.27-7-generic (2.6.27-7.13) to 2.6.27-7.14
linux-libc-dev (2.6.27-7.13) to 2.6.27-7.14
pidgin (1:2.5.1-0ubuntu3) to 1:2.5.2-0ubuntu1
pidgin-data (1:2.5.1-0ubuntu3) to 1:2.5.2-0ubuntu1
python-apport (0.117) to 0.119
python-gdbm (2.5.2-1) to 2.5.2-1ubuntu1
python-gmenu (2.24.0-0ubuntu2) to 2.24.1-0ubuntu1
python-problem-report (0.117) to 0.119
python-tk (2.5.2-1) to 2.5.2-1ubuntu1
ubuntu-desktop (1.122) to 1.123
ubuntu-minimal (1.122) to 1.123
ubuntu-standard (1.122) to 1.123
udev (124-6) to 124-7
update-manager (1:0.93.29) to 1:0.93.30
update-manager-core (1:0.93.29) to 1:0.93.30
x11-common (1:7.4~5ubuntu2) to 1:7.4~5ubuntu3Commit Log for Fri Oct 24 22:10:51 2008

Upgraded the following packages:
abiword (2.6.4-4ubuntu3) to 2.6.4-4ubuntu4
abiword-common (2.6.4-4ubuntu3) to 2.6.4-4ubuntu4
abiword-help (2.6.4-4ubuntu3) to 2.6.4-4ubuntu4
abiword-plugin-grammar (2.6.4-4ubuntu3) to 2.6.4-4ubuntu4
abiword-plugin-mathview (2.6.4-4ubuntu3) to 2.6.4-4ubuntu4
apport (0.117) to 0.119
apport-gtk (0.117) to 0.119
bluetooth (4.12-0ubuntu3) to 4.12-0ubuntu4
bluez (4.12-0ubuntu3) to 4.12-0ubuntu4
bluez-alsa (4.12-0ubuntu3) to 4.12-0ubuntu4
bluez-cups (4.12-0ubuntu3) to 4.12-0ubuntu4
bluez-gstreamer (4.12-0ubuntu3) to 4.12-0ubuntu4
clamav (0.94.dfsg.1~rc1-0ubuntu1) to 0.94.dfsg.1~rc1-0ubuntu2
clamav-base (0.94.dfsg.1~rc1-0ubuntu1) to 0.94.dfsg.1~rc1-0ubuntu2
clamav-freshclam (0.94.dfsg.1~rc1-0ubuntu1) to 0.94.dfsg.1~rc1-0ubuntu2
consolekit (0.2.10-1ubuntu8) to 0.2.10-1ubuntu9
fast-user-switch-applet (2.24.0-0ubuntu5) to 2.24.0-0ubuntu6
fglrx-modaliases (2:8.543-0ubuntu3) to 2:8.543-0ubuntu4
file-roller (2.24.1-0ubuntu1) to 2.24.1-0ubuntu2
gnome-menus (2.24.0-0ubuntu2) to 2.24.1-0ubuntu1
gnome-panel (1:2.24.0-0ubuntu9) to 1:2.24.1-0ubuntu1
gnome-panel-data (1:2.24.0-0ubuntu9) to 1:2.24.1-0ubuntu1
jockey-common (0.5~beta3-0ubuntu3) to 0.5~beta3-0ubuntu4
jockey-gtk (0.5~beta3-0ubuntu3) to 0.5~beta3-0ubuntu4
language-selector (0.3.15) to 0.3.16
language-selector-common (0.3.15) to 0.3.16
laptop-mode-tools (1.45-1ubuntu3) to 1.45-1ubuntu4
libbluetooth3 (4.12-0ubuntu3) to 4.12-0ubuntu4
libck-connector0 (0.2.10-1ubuntu8) to 0.2.10-1ubuntu9
libclamav5 (0.94.dfsg.1~rc1-0ubuntu1) to 0.94.dfsg.1~rc1-0ubuntu2
libdv4 (1.0.0-1ubuntu1) to 1.0.0-1ubuntu2
libglibmm-2.4-1c2a (2.18.0-1) to 2.18.1-1
libgnome-menu2 (2.24.0-0ubuntu2) to 2.24.1-0ubuntu1
libpam-ck-connector (0.2.10-1ubuntu8) to 0.2.10-1ubuntu9
libpanel-applet2-0 (1:2.24.0-0ubuntu9) to 1:2.24.1-0ubuntu1
libpurple-bin (1:2.5.1-0ubuntu3) to 1:2.5.2-0ubuntu1
libpurple0 (1:2.5.1-0ubuntu3) to 1:2.5.2-0ubuntu1
libvolume-id0 (124-6) to 124-7
libwnck-common (2.24.0-0ubuntu1) to 2.24.1-0ubuntu1
libwnck22 (2.24.0-0ubuntu1) to 2.24.1-0ubuntu1
linux-doc-2.6.27 (2.6.27-7.13) to 2.6.27-7.14
linux-headers-2.6.27-7 (2.6.27-7.13) to 2.6.27-7.14
linux-headers-2.6.27-7-generic (2.6.27-7.13) to 2.6.27-7.14
linux-image-2.6.27-7-generic (2.6.27-7.13) to 2.6.27-7.14
linux-libc-dev (2.6.27-7.13) to 2.6.27-7.14
pidgin (1:2.5.1-0ubuntu3) to 1:2.5.2-0ubuntu1
pidgin-data (1:2.5.1-0ubuntu3) to 1:2.5.2-0ubuntu1
python-apport (0.117) to 0.119
python-gdbm (2.5.2-1) to 2.5.2-1ubuntu1
python-gmenu (2.24.0-0ubuntu2) to 2.24.1-0ubuntu1
python-problem-report (0.117) to 0.119
python-tk (2.5.2-1) to 2.5.2-1ubuntu1
ubuntu-desktop (1.122) to 1.123
ubuntu-minimal (1.122) to 1.123
ubuntu-standard (1.122) to 1.123
udev (124-6) to 124-7
update-manager (1:0.93.29) to 1:0.93.30
update-manager-core (1:0.93.29) to 1:0.93.30
x11-common (1:7.4~5ubuntu2) to 1:7.4~5ubuntu3
xbase-clients (1:7.4~5ubuntu2) to 1:7.4~5ubuntu3
xorg (1:7.4~5ubuntu2) to 1:7.4~5ubuntu3
xscreensaver-data (5.07-0ubuntu2) to 5.07-0ubuntu3
xscreensaver-gl (5.07-0ubuntu2) to 5.07-0ubuntu3
xserver-common (2:1.5.2-2ubuntu1) to 2:1.5.2-2ubuntu3
xserver-xorg (1:7.4~5ubuntu2) to 1:7.4~5ubuntu3
xserver-xorg-core (2:1.5.2-2ubuntu1) to 2:1.5.2-2ubuntu3
yelp (2.24.0-0ubuntu1) to 2.24.0-0ubuntu2

Installed the following packages:
xserver-xorg-input-evdev (1:2.0.99+git20080912-0ubuntu5)
xbase-clients (1:7.4~5ubuntu2) to 1:7.4~5ubuntu3
xorg (1:7.4~5ubuntu2) to 1:7.4~5ubuntu3
xscreensaver-data (5.07-0ubuntu2) to 5.07-0ubuntu3
xscreensaver-gl (5.07-0ubuntu2) to 5.07-0ubuntu3
xserver-common (2:1.5.2-2ubuntu1) to 2:1.5.2-2ubuntu3
xserver-xorg (1:7.4~5ubuntu2) to 1:7.4~5ubuntu3
xserver-xorg-core (2:1.5.2-2ubuntu1) to 2:1.5.2-2ubuntu3
yelp (2.24.0-0ubuntu1) to 2.24.0-0ubuntu2

Installed the following packages:
xserver-xorg-input-evdev (1:2.0.99+git20080912-0ubuntu5)
================================================================

From past experience with this problem, I think the problem is related to the changes in Ubuntu xserver updates!

This 'Ubuntu Update' VM guest keyboard event error last occurred about 4th October 2008. Then the next Ubuntu updated fixed the VMware keyboard problem. Now (24th October) - it has reverted to the same problem.

For the inconvenience of this keyboard 'problem' I have gone back to using Windows XP - as native - with no VM and no Linux host.

90% of the programs I use and need are currently based on Windows OS = MYOB, Dreamweaver CS3, Flash CS3, Fireworks CS3, Adobe Acrobat Professional 8.2, etc.

I have 'retained' Linux Ubuntu as a secondary OS on a seperate boot manager option.

Peter Bowey

Peter Bowey Computer Solutions
69 Sutherland Ave, Victor Harbor
South Australia, Australia 5211

Website: http://www.pbcomp.com.au/
email: <email address hidden>

Revision history for this message
Hugh Eaves (hugh-hugheaves) wrote :

I am experiencing the same problem - VMWare Workstation 6.5 with Vista Guest.

Revision history for this message
paraiko (paraiko) wrote :

Same problem here (intrepid RC + VMware workstation 6.5) with a windows xp guest.

Revision history for this message
lowey71 (milo-loweys) wrote :

Agree, same problem as above since upgrading to Intrepid RC this morning

Revision history for this message
jkao (jmk17) wrote :

Although I, too, did not encounter this problem until going to the Intrepid RC, I was able to work around the issue by following the "Solution 2" instructions at: http://nthrbldyblg.blogspot.com/2008/06/vmware-and-fubar-keyboard-effect.html

Revision history for this message
lowey71 (milo-loweys) wrote :

Resolved for me with jkao's link.

Summary:

# cat >> ~/.vmware/config << EOF
xkeymap.keycode.108 = 0x138 # Alt_R
xkeymap.keycode.106 = 0x135 # KP_Divide
xkeymap.keycode.104 = 0x11c # KP_Enter
xkeymap.keycode.111 = 0x148 # Up
xkeymap.keycode.116 = 0x150 # Down
xkeymap.keycode.113 = 0x14b # Left
xkeymap.keycode.114 = 0x14d # Right
xkeymap.keycode.105 = 0x11d # Control_R
xkeymap.keycode.118 = 0x152 # Insert
xkeymap.keycode.119 = 0x153 # Delete
xkeymap.keycode.110 = 0x147 # Home
xkeymap.keycode.115 = 0x14f # End
xkeymap.keycode.112 = 0x149 # Prior
xkeymap.keycode.117 = 0x151 # Next
xkeymap.keycode.78 = 0x46 # Scroll_Lock
xkeymap.keycode.127 = 0x100 # Pause
xkeymap.keycode.133 = 0x15b # Meta_L
xkeymap.keycode.134 = 0x15c # Meta_R
xkeymap.keycode.135 = 0x15d # Menu
EOF

----
Restart VMware

Unsure if this would work with all keyboards though (currently using US)

Revision history for this message
mirhciulica (mirhciulica) wrote :

Problem resolved!

Thanks to jkao's link.

Revision history for this message
hesicong (hesicong2005-gmail) wrote :

I just encounter this problem after upgrade from 8.04 to 8.10. I do a refresh install of 8.10 so there should not be a problem of VMWare.
To solve this problem, there're two ways:
1.Add xkeymap.nokeycodeMap = true to config file.
2.Add these code.
xkeymap.keycode.108 = 0x138 # Alt_R
xkeymap.keycode.106 = 0x135 # KP_Divide
xkeymap.keycode.104 = 0x11c # KP_Enter
xkeymap.keycode.111 = 0x148 # Up
xkeymap.keycode.116 = 0x150 # Down
xkeymap.keycode.113 = 0x14b # Left
xkeymap.keycode.114 = 0x14d # Right
xkeymap.keycode.105 = 0x11d # Control_R
xkeymap.keycode.118 = 0x152 # Insert
xkeymap.keycode.119 = 0x153 # Delete
xkeymap.keycode.110 = 0x147 # Home
xkeymap.keycode.115 = 0x14f # End
xkeymap.keycode.112 = 0x149 # Prior
xkeymap.keycode.117 = 0x151 # Next
xkeymap.keycode.78 = 0x46 # Scroll_Lock
xkeymap.keycode.127 = 0x100 # Pause
xkeymap.keycode.133 = 0x15b # Meta_L
xkeymap.keycode.134 = 0x15c # Meta_R
xkeymap.keycode.135 = 0x15d # Menu

They are both work on my desktop.
But there still another problem. When using VNC (x11vncserver as server and xtightvncviewer as client) to connect from notebook to desktop. My notebook use 8.04 and desktop use 8.10. Before I upgrade, they are work perfect under any situation. But after I use 8.10RC on desktop, I can type any characters in remote Gnome environment, but I can't type these characters in VMware: < ( ).
'<' characters are mapped to "|" character, and '(' and ')' are mapped to another key.
If I do not use the above two ways, I can type any characters. But my desktop can't type arrow key
, just same as the above problem.
So if the key mapping still a BUG here? OR if my notebook should upgrade to 8.10?? I don't like install my computer. Any ideas?

Revision history for this message
Alex (loxal) wrote :

Same problem in the final version of Intrepid (my package revision status: one day before release) :(
    echo 'xkeymap.nokeycodeMap = true' > ~/.vmware/config
resp.
    echo 'xkeymap.nokeycodeMap = true' >> ~/.vmware/config

works fine as well.

Revision history for this message
kszys (ksocha) wrote :

Same here. I have a VMWare Server running on Hardy and VMWare Server Console installed on Windows box and on Intrepid. Keyboard mappings are incorrect when using the vmware console on Intrepid, while it is fine when using the windows box.

Revision history for this message
Carl Seabold (cseabold) wrote :

I also have run into this issue.

VMWare host: Server2003 running VMWare Server 2.0

Client machine: Formerly Hardy (keyboard mapping not an issue), now Intrepid running Vmware Console 2.5.0 build-116460

I use a the following command to open the remote session:
/home/<USER>/.<email address hidden>/plugins/vmware-vmrc -h "envy:8333" -M "48" -u "<USER>" -p "<PASSWORD>" -X

And, as I said, in Hardy this worked fine but in Intrepid it has screwed up the up, down, delete, home, pg up, pg dn, end, Start, and various other keys.

Adding the following line to the new file in /home/<USER>/.vmware/config solved the problem:
xkeymap.nokeycodeMap = true

I merely restarted the remote session and the mappings were correct.

So 1) THANK YOU for having the answer and 2) Hopefully this extra info will help someone else with a situation similar to mine.

Revision history for this message
Jörg Peter (a-launchpad-peter-wangs-ch) wrote :

I had the same problem but entity`s Post was the solution:

    echo 'xkeymap.nokeycodeMap = true' > ~/.vmware/config

Now it works fine. Thank you

Revision history for this message
Onaka (brollejunior) wrote :

I had the same problem but the solution was the same as Entity's:

echo 'xkeymap.nokeycodeMap = true' > ~/.vmware/config

Although since I installed intrepid, restoring a VMWare machine is extremely slow, loading my XP restore state takes about 10minutes.

Revision history for this message
Mario Zigliotto (marioz) wrote :

Onaka I've had that performance issue before Intrepid... even in windows it takes pretty long.

In addition i also used Entity's fix, thanks for posting that.

Revision history for this message
Minqiang (ptpt52) wrote :

Thanks for posting that. I solve my problem using the Entity's fix

Revision history for this message
BassKozz (basskozz+ubuntu) wrote :

VMware Workstation 6.5.0 build-118166
Host OS: Ubuntu 8.10 (64bit)
Guest OS: WinXP Sp3 (32bit)

Confirmed working thanks to entity's post...
The only thing is now every time I boot my VM I get the attached 'Hint', no biggie thou
Thanks entity :-D

Revision history for this message
GTpyro (dmitriyp13) wrote :

I think this is closely related to (if not the same bug as) #255008 (https://bugs.launchpad.net/ubuntu/intrepid/+source/xorg-server/+bug/255008)

Revision history for this message
Carroarmato0 (carroarmato0) wrote :

Because it seems like many people have this problem (including me), setting this bug to 'Confirmed'.

The manual fix worked for me too.

Revision history for this message
another_sam (anothersam) wrote :

same problem, same fix.

but I added the keycodes in /etc/vmware/config , as it is suggested in http://communities.vmware.com/thread/177133 .

Revision history for this message
cwrather (chris-wrather) wrote :

I'm having the same problem using Workstation 5.5. Using the config file workaround solved it for now.

Revision history for this message
orbitcowboy (orbitcowboy) wrote :

I had the same problem on Ubuntu 8.10 with vmware-player 2.5.0 build-118166 and WindowsXP as guest system. Thanks for your help. I followed the instructions by http://communities.vmware.com/thread/177133 and it worked.

Regards

Orbitcowboy

Revision history for this message
Andreas Heinlein (aheinlein) wrote :

I just wanted to add that this suggestion:

echo 'xkeymap.nokeycodeMap = true' > ~/.vmware/config

breaks unity mode, as also discussed here:
http://communities.vmware.com/message/1101765#1101765

As such, I would not regard this as a valid 'solution'.

Revision history for this message
craigeherring (craigeherring) wrote :

I've found this works better ... and makes unity work as well.

Add this to:
/etc/vmware/config

---------- snip ----------------------
xkeymap.keycode.108 = 0x138 # Alt_R
xkeymap.keycode.106 = 0x135 # KP_Divide
xkeymap.keycode.104 = 0x11c # KP_Enter
xkeymap.keycode.111 = 0x148 # Up
xkeymap.keycode.116 = 0x150 # Down
xkeymap.keycode.113 = 0x14b # Left
xkeymap.keycode.114 = 0x14d # Right
xkeymap.keycode.105 = 0x11d # Control_R
xkeymap.keycode.118 = 0x152 # Insert
xkeymap.keycode.119 = 0x153 # Delete
xkeymap.keycode.110 = 0x147 # Home
xkeymap.keycode.115 = 0x14f # End
xkeymap.keycode.112 = 0x149 # Prior
xkeymap.keycode.117 = 0x151 # Next
xkeymap.keycode.78 = 0x46 # Scroll_Lock
xkeymap.keycode.127 = 0x100 # Pause
xkeymap.keycode.133 = 0x15b # Meta_L
xkeymap.keycode.134 = 0x15c # Meta_R
xkeymap.keycode.135 = 0x15d # Menu
--------------snip ---------------------------

Revision history for this message
Jarl (jarl-dk) wrote :

I also have this problem, but the workaround: echo 'xkeymap.nokeycodeMap = true' > ~/.vmware/config worked for me.

Jarl

Revision history for this message
moojix (moojix) wrote :

thanks for posting this workaround:

echo 'xkeymap.nokeycodeMap = true' >> ~/.vmware/config

i got this one-time warning after vmware (6.5.1 build-126130, host: Ubuntu Intrepid, guest: Windows XP) restart:

A language-specific mapping from X keysyms to machine scancodes will be used, based on the detected keyboard type of "de101", because you are not using an XFree86 server running on the local machine.
However, this program's language-specific mapping may not be correct for your keyboard in all the details, because X keyboard mappings vary.
You can override specific key mappings in the virtual-machine configuration.
For more information, please see VMware Workstation documentation available on our Web site at "http://vmware.com/info?id=10".

but the workaround solved to use DELETE, INSERT etc. with vmware again.

- Moo

Revision history for this message
gapowerz (gapowerz) wrote :

I added this line to /etc/vmware/config:

xkeymap.nokeycodeMap = true

and it fixed the problem, without the warning message.

I'm running VMware Server Console 1.0.0 build-108231 on Ubuntu 8.10

Revision history for this message
gapowerz (gapowerz) wrote :

Then I noticed craigherring's post:

Add this to:
/etc/vmware/config

---------- snip ----------------------
xkeymap.keycode.108 = 0x138 # Alt_R
xkeymap.keycode.106 = 0x135 # KP_Divide
xkeymap.keycode.104 = 0x11c # KP_Enter
xkeymap.keycode.111 = 0x148 # Up
xkeymap.keycode.116 = 0x150 # Down
xkeymap.keycode.113 = 0x14b # Left
xkeymap.keycode.114 = 0x14d # Right
xkeymap.keycode.105 = 0x11d # Control_R
xkeymap.keycode.118 = 0x152 # Insert
xkeymap.keycode.119 = 0x153 # Delete
xkeymap.keycode.110 = 0x147 # Home
xkeymap.keycode.115 = 0x14f # End
xkeymap.keycode.112 = 0x149 # Prior
xkeymap.keycode.117 = 0x151 # Next
xkeymap.keycode.78 = 0x46 # Scroll_Lock
xkeymap.keycode.127 = 0x100 # Pause
xkeymap.keycode.133 = 0x15b # Meta_L
xkeymap.keycode.134 = 0x15c # Meta_R
xkeymap.keycode.135 = 0x15d # Menu
--------------snip ---------------------------

and used his advice. It also works for me.

Revision history for this message
moojix (moojix) wrote :

yep, i switched to set xkeymap.keycode as described above in ~/.vmware/config too.
it also works for me without getting vmware workstation startup warning.

thanks.

- Moo

Revision history for this message
Trenskow (trenskow) wrote :

I can confirm that the above solution worked out for me as well

/Trenskow

Revision history for this message
Jaguar_fr (toolinux-ubuntu) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage . I have classified this bug as a bug in VMWARE.
For future reference you might be interested to know that a lot of applications have bug reporting functionality built in to them. This can be accessed via the Report a Problem option in the Help menu for the application with which you are having an issue. You can learn more about this feature at https://wiki.ubuntu.com/ReportingBugs.

Revision history for this message
Diaa Sami (diaa.sami) wrote :

This is very frustrating, I've been hitting my head against the wall for a couple of days already...
It renders Windows guests on VMware useless because with every login I have to press Ctrl-Alt-Del which I can't.

It happens with VMWare Player as well.

Revision history for this message
pinzia (pinzia) wrote :

I fixed the problem with jkao's link
Thank's

Ubuntu Intrepid host, vmplayer 2.5.1, windows 2000 sp4 guest

Revision history for this message
Eric Polin (eric-polin) wrote :

jkao's fix worked for me as well, and looks more accurate than using

xkeymap.nokeycodeMap = true

With my US International (with dead keys) keyboard, the latter solved issues like arrow keys, but introduced new ones : many keys not working any more: dead keys, but also such keys as '\'. Some others got remapped.

Revision history for this message
mcsquare (mcativa) wrote :

If you need to create your custom KeyCodes / ScanCodes pairs use:

xmodmap -pk

to display your defined KeyCodes, and find the key with the problem.
Then use:

showkey --scancodes (with sudo if gives an error)

and press the corresponding key to see the ScanCode

Revision history for this message
Rune Rasmussen (rued) wrote :

For my Norwegian keyboard (105) I had to add som more keycodes:

xkeymap.keycode.20 = 0x0c # Plus +
xkeymap.keycode.21 = 0x0d # Backslash \
xkeymap.keycode.34 = 0x1a # å
xkeymap.keycode.35 = 0x1b # "^~
xkeymap.keycode.47 = 0x27 # ø
xkeymap.keycode.48 = 0x28 # æ
xkeymap.keycode.51 = 0x2b # Apostrophe '
xkeymap.keycode.61 = 0x35 # Minus -

Thanks everyone for geting me on the right track, hunting down this issue. :)

Revision history for this message
Tulasi (murtulasi) wrote :

Hi,

Created config file with the below key combination list . But i have problem in using altgr key in jaunty vmware image. i have finnish standard keyboard. Any tip to sovle ??

thanks,
tulasi.

--------------------------------
tester@tester:~$ cat .vmware/config
xkeymap.keycode.108 = 0x138 # Alt_R
xkeymap.keycode.106 = 0x135 # KP_Divide
xkeymap.keycode.104 = 0x11c # KP_Enter
xkeymap.keycode.111 = 0x148 # Up
xkeymap.keycode.116 = 0x150 # Down
xkeymap.keycode.113 = 0x14b # Left
xkeymap.keycode.114 = 0x14d # Right
xkeymap.keycode.105 = 0x11d # Control_R
xkeymap.keycode.118 = 0x152 # Insert
xkeymap.keycode.119 = 0x153 # Delete
xkeymap.keycode.110 = 0x147 # Home
xkeymap.keycode.115 = 0x14f # End
xkeymap.keycode.112 = 0x149 # Prior
xkeymap.keycode.117 = 0x151 # Next
xkeymap.keycode.78 = 0x46 # Scroll_Lock
xkeymap.keycode.127 = 0x100 # Pause
xkeymap.keycode.133 = 0x15b # Meta_L
xkeymap.keycode.134 = 0x15c # Meta_R
xkeymap.keycode.135 = 0x15d # Menu

Revision history for this message
Alex Valavanis (valavanisalex) wrote :

I'm closing this report for Intrepid as it reached end-of-life on 30 April 2010. Can anyone confirm the bug still exists in later versions of Ubuntu?

Changed in vmware-package (Ubuntu Intrepid):
status: Confirmed → Invalid
Changed in vmware-package (Ubuntu):
status: New → Incomplete
Revision history for this message
bastafidli (ubuntu-bastafidli) wrote :

Yes, this defect also exists in 10.04 Lucid.

Revision history for this message
bastafidli (ubuntu-bastafidli) wrote :
Changed in vmware-package (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Phillip Susi (psusi) wrote :

This package has been removed from Ubuntu. Closing all related bugs.

Changed in vmware-package (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.