Tuesday

How To Save Your KVM Switch From Automatically Switching When Using Virtual Machines


I ran into this problem with VMware Player, but I'm sure other people have run into it, with other virtualization applications, or this one. What happens is, when you put your mouse into/out of the virtual machine, it 'kicks' your KVM (Keyboard Video Mouse) switch (esp. if it is USB) out to the other computer/connection! Annoying! This post is how to stop that from happening.


What is going on is, the virtualmachine is registering the mouse ('capturing' it) and the numlock state may change (as though you hit the button), and when you move the mouse outside of the VM again, it is releasing the mouse and the numlock state may change (as though you hit the button again) and these two 'numlock hits' together can trigger your KVM switch (especially if it is USB).

One solution is to disable the Numlock option to toggle the KVM connections (if you can). Another option (and if you can't disable anything) is to make sure that the Numlock state matches for both the host system and the virtual machine guest system.

To do this, hit numlock (ignore the triggering your KVM switch if it goes off) until it stays in the state you want it to be (either off or on) outside of the VM. Then, inside the guest VM, hit numlock to match the state that you set it outside of the VM (in the host, either off or on).

That's it!

Now, when you move your mouse in an out of the VM, the Numlock state will be the same for each and it won't toggle your KVM switch.


If you liked this post, buy me a cup of coffee :) (You can even use your credit card to donate a dollar with PayPal and it does not give out your information to the person you are sending it to). Thanks and check back in once in a while to see more tutorials on How To Save Things!


No comments:

Post a Comment