Solved

keyboard / mouse for each virtual machine

Posted on 2013-12-02
5
1,460 Views
Last Modified: 2013-12-04
I would like to find a way for several virtual machines(VMware workstation 9) running off the same host to have their own dedicated mouse / keyboard.

If the mouse and keyboard are usb is there a way to have the virtual machine take over the device so that the host does not respond to it ?
(Like when you plug in a jump drive and the virtual machine can take control of it and the host no longer recognizes it)

Host is windows 7 pro running VMware workstation 9
Virtual OS's ( Ubuntu Desktop 12.04, Ubuntu Desktop 13, Windows 7, Windows 8)

Please provide examples of how this could be accomplished.
0
Comment
Question by:GTTech2010
  • 3
5 Comments
 
LVL 12

Assisted Solution

by:mlongoh
mlongoh earned 250 total points
ID: 39690356
0
 
LVL 6

Accepted Solution

by:
jasons73 earned 250 total points
ID: 39690358
You would have to modify each virtual machines vmx file, then I'd assume you could use a USB hub if you required additional ports to attach devices.


Mice and keyboards belong to a special class of USB devices known as Human Interface Devices (HID). By default, you cannot connect these devices to the virtual machine due to the risk of removing all human interface from the host computer. However, you can instruct the VMware product to allow these devices by modifying the virtual machine settings.

Caution: Before performing these steps, ensure that you have access to a second keyboard and/or mouse. Do not perform these steps if you only have one mouse and/or keyboard, as you will not be able to use the device(s) with your host computer while the virtual machine is running.

To connect an external keyboard and/or mouse directly to your virtual machine:

    Shut down the virtual machine that needs the mouse/keyboard.
    Plug the second mouse/keyboard into your host.
    Edit your virtual machine's .vmx file to include these lines:

    usb.generic.allowHID = "TRUE"
    usb.generic.allowLastHID = "TRUE"

    Power on your virtual machine.
    Go to VM > Removable Devices.
    Find and select your keyboard/mouse.
    Click Connect (Disconnect from host).


http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1033435
0
 

Author Comment

by:GTTech2010
ID: 39690496
Thanks,

I will give that a try.
0
 

Author Comment

by:GTTech2010
ID: 39697456
This worked.

Thanks
0
 

Author Closing Comment

by:GTTech2010
ID: 39697458
I split the difference because each suggestion was to the same article.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now