VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (6 pts)
1 2 Previous Next 27 Replies Last post: Jul 23, 2009 5:29 AM by GreggaryPecca…   Go to original post

Re: VMware Causing Keyboard Issues in Ubuntu

15. Jun 24, 2008 3:15 AM in response to: BassKozz
Click to view lp20122's profile Lurker 1 posts since
May 19, 2008

I tried the trick, and works for me ... thanks!!


Ubuntu hardy + VMWware 6.5 beta

Re: VMware Causing Keyboard Issues in Ubuntu

16. Jun 24, 2008 4:10 AM in response to: lp20122
Click to view jra_vm's profile Novice 6 posts since
Oct 1, 2007
$ cat ~/.vmware/config
xkeymap.keycode.62 = 0x36 # Shift_R
xkeymap.keycode.50 = 0x2a # Shift_L
xkeymap.keycode.66 = 0x3a # Caps_Lock
xkeymap.keycode.37 = 0x1d # Control_L
xkeymap.keycode.64 = 0x38 # Alt_L
xkeymap.keycode.113 = 0x138 # Alt_R
xkeymap.keycode.109 = 0x11d # Control_R

On my Thinkpad T42... the behavior is still the same :/
(I tried to restart the vmware process, the vmware service, the virtual machine, but no changes).

I grabbed the keycodes using xev.

Re: VMware Causing Keyboard Issues in Ubuntu

17. Jul 10, 2008 8:47 PM in response to: BassKozz
Click to view bambooyip's profile Novice 4 posts since
Aug 28, 2007

Hello, I'm one of those frustrating folks. Here is my 'solution': System -> Preferences -> Keyboard -> Layout (tab) -> Keyboard model I chose IBM Thnikpad 560Z/600/600E/A22E Intl -- I'm using Thinkpad R60 Initially, it seems solving the problem. After awhile, cap lock had problem. Then System -> Preferences -> Keyboard -> Layout (tab) -> Layout options -> CAPSLOCK key behavior -> CapsLock just lock the shift modifier

So far, the problem did not come back (having run my VM for 1 hour with switching to full screen of my vm many many times).

Hopefully, my 'solution' helps to release some frustration.;\

Bamboo

Re: VMware Causing Keyboard Issues in Ubuntu

18. Jul 11, 2008 11:59 AM in response to: BassKozz
Click to view msamuels's profile Lurker 1 posts since
May 22, 2006
I've also been having this problem for quite some time and would like to see it fixed. Running setxkbmap resolves the issue temporarily but this still renders vmware fairly unusable.

Re: VMware Causing Keyboard Issues in Ubuntu

19. Jul 11, 2008 6:23 PM in response to: msamuels
Click to view mbeierl's profile Enthusiast 47 posts since
Nov 27, 2007
Interesting... I've had this problem with vmware since... forever. I just got used to it. In fact now I have a cron job that runs every minute (ya, overkill, I know) that does the following:


#!/bin/bash
export DISPLAY=:0.0
xmodmap - << EOF
clear shift
add shift = Shift_L Shift_R
clear lock
add lock = Caps_Lock
clear control
add control = Control_L Control_R
clear mod1
add mod1 = Alt_L Alt_R
clear mod2
add mod2 = Num_Lock
clear mod3
clear mod4
add mod4 = Super_L Super_R
clear mod5
add mod5 = Scroll_Lock
EOF
xset r on
xset m 3.5 4
xset b off
xset s off

This effectively resets the keyboard when it goes awry. YMMV.

Re: VMware Causing Keyboard Issues in Ubuntu

20. Jul 30, 2008 3:25 AM in response to: mbeierl
Click to view jfk's profile Lurker 2 posts since
Mar 11, 2005
Thanks for that script - at least I have a workaround now. Nothing else worked to date apart from restarting X.

Re: VMware Causing Keyboard Issues in Ubuntu

21. Oct 21, 2008 1:30 PM in response to: jfk
Click to view unclecameron's profile Novice 12 posts since
Jun 6, 2008
Intrepid Xorg 7.4 WS 6.5 running XP guest. Keyboard worked fine before the upgrade to intrepid/ws6.5, ctrl, arrow keys, del key map to strange things in all guests, Win, Linux, Solaris, etc. Since Esc won't work, I can't reload OS'es for the software testing I need. Looking at temp hacks to get my keys back, just thought I'd report it doesn't work on Intrepid, though it worked fine in Hardy/WS6.0.x.

edit: the hack here http://nthrbldyblg.blogspot.com/2008/06/vmware-and-fubar-keyboard-effect.html (Solution 2) works, you have to create ~/.vmware/config and put the contents listed in it, then logout of X and log back in. If your keys are still mapped strangely, edit that file and change the wacked key after you find out its code by running xev.

HP Pavilion DV9000 AMD64 duo-core 2GHz 3G RAM laptop


Cameron
Selma, OR

Re: VMware Causing Keyboard Issues in Ubuntu

22. Feb 5, 2009 2:09 AM in response to: unclecameron
Click to view VMbuseck's profile Novice 33 posts since
Jun 14, 2007

Is there any reasonable solution about that issue ??? My distro (Dapper LTS) worked fine before I upgraded to Hardy LTS.

___________

DELL D510 with kubuntu hardy LTS * 2 FSC Multitainer 800 MHz with debian etch * all system with VMware server 1.0.6/1.0.8

Re: VMware Causing Keyboard Issues in Ubuntu

23. Feb 5, 2009 2:56 PM in response to: VMbuseck
Click to view Bjorsell's profile Lurker 1 posts since
Feb 5, 2009

Old thread but...

Everyone talks about trouble with Ubuntu (or other dists) but i have the same problem in my Vista host and my VMWare 6.5 with XP guest.

Easy solution in windows for me, although annoying, is to quickchange language in my Vista host: Left ALT + Shift to some other language (in my case english) and Left ALT + Shift back to my standard language swedish. It takes 1 sek but it is still a stupid bug.

You can easy change key combination if you want to. I think it can be done in the same way in Ubuntu if you dont want to make some workaround script i have seen around.

Click to view akstunt600's profile Lurker 1 posts since
Feb 17, 2007
I have this same problem under fc9 and fc10 key mappings change. I set my my mod4 to windows key, in my keymap and under vmware now my down arrow key is my windows key, WTF.

Re: VMware Causing Keyboard Issues in Ubuntu

25. Jun 14, 2009 3:33 PM in response to: BassKozz
Click to view mpg187's profile Enthusiast 40 posts since
Aug 14, 2008

how do i stop this annoying crap from happening

this is worse than a virus

Re: VMware Causing Keyboard Issues in Ubuntu

26. Jul 22, 2009 3:25 AM in response to: bambooyip
Click to view JohnBaxendale's profile Lurker 2 posts since
Oct 13, 2005

I'm also seeing this issue with a Windows XP host on the following;

X.Org X Server 1.6.1.901 (1.6.2 RC 1)
Release Date: 2009-5-8
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.18-128.1.6.el5 i686
Current Operating System: Linux johnbaxendale.zenpriam.net 2.6.29.5-191.fc11.i586 #1 SMP Tue Jun 16 23:11:39 EDT 2009 i686
Kernel command line: ro root=/dev/mapper/vg_johnbaxendale-lv_root rhgb quiet
Build Date: 18 May 2009 02:47:59PM
Build ID: xorg-x11-server 1.6.1.901-1.fc11

Easiest fix seems to be to as others have mentioned - swap keyboards in System -> Preferences -> Keyboard to something else and then back again.

Highly irritating - can't see the exact cause, but it's happened twice today already and so it's something fairly common. Only seems to happen after having switched to VMWare and back out again, I'm not using full-screen mode so I don't think it's related to full-screen mode in my case.

Re: VMware Causing Keyboard Issues in Ubuntu

27. Jul 23, 2009 5:29 AM in response to: JohnBaxendale
Click to view GreggaryPeccary's profile Lurker 1 posts since
Jul 23, 2009

Same happening on me for quite long time with ubuntu since hm 6 (dapper?)

And I always could fix it by changing the keyboard mapping in KDE 3.5 by a few clicks:

  • in control panel enable keyboard layouts (I use IT and USA) and the indicator in the tray

  • when the bug comes out (firefox crash or wrong chars trying to write a command in KDE with Alt+F2) I simply click the tray icon to change the layout, wait a few seconds then revert back to the usual layout

hth

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities