Virtual Machine - Mouse/Keyboard events on Virtual Machine integrate with main machine - virtual-machine

sorry for bad English. I have a virtual machine and there i installed a software that make some events.
But this events only happens on virtual machine.
Exist any possibility to this events works in my main machine? I mean, an integration between virtual machine and main machine, so when for example my software on virtual machine press "A" keyboard key, on MAIN machine also will happen a "A" press keyboard key?
Thanks

Depending on what you are using VMware, VirtualBox, etc , you will need to install the appropriate software on the guest, so you can enable features like, bi-directional copy paste etc.
Once you have this set up you can look up in internet the exact configuration for your hypervisor.
For example here is a working solution for VirtualBox.
VMWare have notoriously bad documentation, also I couldn't find similar feature for the VMPlayer or the workstation. Here is a link to get you started
Hope the links are helpful .

Related

How to run a discontinued videogame on a Windows XP virtual machine?

My friend and I have downloaded some discountinued videogames from Old Games Download - Retrogaming and Abandonware (which I warmly recommend to any CD-ROM aficionado!). We managed to run two of them after downloading them, mounting their .ISO file and installing them on a Windows 10 machine. The process was fairly smooth.
We are struggling to run the other two. They’re only compatible with Windows XP, so we created a virtual box with XP as the OS, but still no luck. We can’t get the virtual box to connect to Wi-Fi in any way, even after following several tutorials found online. We have tried mounting the games’s ISOs in the following ways:
Using Virtual Clone Drive
Using WinCDEmu
Using Win XP Virtual CD Control Panel
And we think we have managed to actually mount the ISO and install the programme on the virtual machine, but the game won’t start anyway. When we try to run it, this window opens:
Monsters & Co CDROM initial window, with title, play button, exit button
But when we click ‘play’ nothing happens. We have checked the “Insert Guest Addition CD Image” setting that triggers Autoplay and it seems to be up and running. What can we try next?
VirtualBox access internet by connecting to your real machine (the host machine) as if it was a router of some kind. There is no need to make the virtual machine (guest machine) use your wifi adapter directly to get internet connection, just add a virtual network adapter to your guest machine and VirtualBox takes care of everything else (but make sure you have checked the appropriated options during installation process so drivers are installed in your host machine).
Now, the game not launching is hard to say, as we don't have any message or other info about what is causing the falling. Yet, this is a 3D game and VirtualBox is not good enough to hand this kind of computation.

Running single application on a virtual environment

I don't know whether this is possible but would like to give it a go and see if someone knows something about it.
I work with applications that fix phones and sometime it happens that driver of one application can conflict with another.
I was wondering if is possible to create multiple virtual machines (lightweight) that can host a single software and just drivers related to it so I can isolate the environment from other software.
Let's say I want to create one virtual machine that when I turn on, it will only open a samsung app,it will have it's own drivers, dedicated small space and device connection ability.
I want to do this with multiple software.
I heard of virtual machines like virtual box but thought they are too heavy for running a single app.
How about docker or something similar? can they work for this purpose?
NOTE: I want to run software that run on win 7 only.
Thanks
Docker runs only on Linux; you will need sort of "full virtualization" software to run it on Windows!
I know of several VM software for Windows, but all of them are rather heavy for running a single app. Also, I think you need separate Windows license for each "guest" ("child") Windows installation.
http://www.zdnet.com/article/the-best-and-cheapest-ways-to-get-windows-and-linux-for-virtual-machines/

How vmware copies data from guest to host?

Because of VMware tools I can copy a string from guest OS to host OS and vice a versa. I want to know how this functionality works ? what VMware performs so that clipboard is shared between two different OS.
Yesterday, I learnt about VARIANT struct in Microsoft COM. VARIANT is like a middle ware on which some engine will run and allow data of one type accessible in other format of some other language.[please correct me if this is wrong or I am not talking right]
So just want to ask, is something like this works in virtual machines ? Because this functionality is so so helpful that I want understand this concept.
I have not tried in virtual box yet but if it supports same functionality then how do they work ? I would like to read about it if any links found.
Since your virtual machine still runs on the true hardware of your host machine it although uses its peripheral devices and hardware.
So vmware or virtual machines in general has to "root" this device to your virtual OS.
So what Vmware (especially VMWARE Tools) does is when you have copied something into your clipboard, to synchronize this data with the second clipboard. So it provides interfaces between your host data like clipboard or date an time and sets it in your virtual OS.
Have a look here:
http://smallbusiness.chron.com/sharing-clipboard-vmware-35825.html
http://www.vmware.com/support/ws55/doc/new_guest_tools_ws.html.
This does not exactly answers your question, but should give some ideas on further research.

How to automatically replicate a running VM on ESXi to a computer running locally VMWare Player or VMWare Fusion?

The specific use case I'm dealing in our company is the following:
On a ESXi server, a dedicated VM is running to host a demo environment of a software solution. This demo environment is maintained updated by the development and maintenance team.
At specific points in time, people form sales need to take with them a copy of the latest demo environment (the VM) on their laptop to make customer's demos/presentations.
I wonder if there is a tool to automate this kind of operation silently.
Yes there is.
VMware themself make a product called vCenter Converter which is available here http://www.vmware.com/uk/products/converter/
When using the standalone client choose to convert..
Source : VMware Infrastructure virtual machine
Destination : VMware Workstation or Other VMWare Virtual Machine
You should then be able to open in in Player or Fusion.
*This will require the VMs to be off, if you don't want to turn them off you could clone them first (only available if you aren't using the free ESXi Hypervisor - thus the paid one)
Hope this helps :)

One click virtual machine demo?

I want to give a demo for my customers use virtual machine, but I don't want the customer to install the virtual machine software, can I make a demo which bundle the virtual machine software and my virtual machine, then just a click to run the virtual machine. It will be cool. is there any tool can do that?
I'm not aware of a virtual machine that doesn't need to be installed. If using Windows, the Microsoft Virtual PC is a relatively compact, free, quick-to-install option for a VM.
One other option would be to install an OS and your demo onto a USB flash drive. As long as the computer used can boot from USB (which is pretty common in newer computers), then you can have complete control over the OS in this fashion.
EDIT: Sun VirtualBox is free VM software. You do have to install it, but I've found that it works well, plus it's free.
You could try using Portable VirtualBox as per this forum thread. I have not tried it myself but it seems like some people have had luck with it.