Solved

keyboard / mouse for each virtual machine

Posted on 2013-12-02
5
1,409 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

708 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

17 Experts available now in Live!

Get 1:1 Help Now