Virtualbox: Maximize Window does not resize Guest Screen - windows

Virtualbox 6.1.36 r152435, Host Win7, Guest Win7, Guest Addons installed, Guest graphics controller set to recommended VBoxSVGA. Host has two screens, each set to 1920x1200. Resizing the VM window does resize the guest screen, maximizing the VM window does not. It worked fine in Virtualbox 5. Tried to switch to VBoxVGA, did not help. What's wrong?
Update: Guest Resolution selection ends at 1400x1050. That explains why it can't switch to 1920x1200, but why the limit?

Reinstalled guest addons, switched to single VM monitor, resizing works after serveral reboots. Switching to two VM monitors breaks it again. Increasing VM graphics memory from 64 MB (indicated green in the settings screen!) to 128 MB finally resolved the issue.

Related

Unable to Launch Xamarin Android Player

I am getting the following error when I try to launch Xamarin Android Player.
I have tried reducing the allocated memory in Virtual Box, as suggested in some other forums but no results.
I am using Virtual Box V5.0.4.
Kindly guide on resolving the issue.
The Android is working in Virtual Box when I change
Settings>Network>Adapter1>Attached to
to NAT by going into the in virtual box but as I launch the Xamarin Android Player or GenyMotion. it resets it to Host-Only Adapter and the emulator stops working.
Check if you have Virtualization Enabled in your BIOS settings.
Another workaround:
Uninstall previous versions of XAP.
Open up VirtualBox and remove all of the XAP devices, choose to delete files.
Open the VirtualBox Virtual Media Manager and ensure there are no data.vdi, system.vdi or sdcard.vdi files remaining. If there are,
release and remove them.
Delete C:\ProgramData\AndroidPlayer
Source: https://bugzilla.xamarin.com/show_bug.cgi?id=24817
I would update virtual box to 5.0.20 from here try it again.
If that doesn't work then try reinstalling Xamarin Android Player.
If that doesn't work then I would recommend trying GenyMotion
Check this forum post too
They say this:
I solved this issue by reducing the RAM Value in Virtual Box.
Go to Virtual Box
Select Your Device
Go to settings -> System -> Motherboard.
Reduce Base Memory.
Or this might help:
Try starting the emulator in VirtualBox. It will give you a specific error, which you can then google for more info.
In my case, the issue was VERR_INTNET_FLT_IF_NOT_FOUND, and the solution was here
solution https://www.virtualbox.org/ticket/14604#comment:1

Virtual Machine display in Mac

I'm using ORACLE Virtualbox in my Mac, I get two problems when running a VM
The Display is shrunk, it doesn't occupy the complete screen even at Full Screen Mode.
When mouse is captured in the VM I'm unable to move it out of VM, when I'm not in Full Screen Mode.
I'm not sure why this happens

VirtualBox: Share a folder between Mac Host and Windows8 Guest

I have a Mac with Virtual Box, on which I'm running Windows 8.
I have set up a Shared Folder in the Virtual Box settings. When I boot up Windows8 through Virtual Box, I can see the Mac as one of the options - screenshot: http://i.imgur.com/mzMbDh3.png (WINDOWSMAC is the name of the VM. MACINTOSH I'm guessing would then be the host).
I am thinking I need to access MACINTOSH to get to the shared folder. The problem is - when I click on MACINTOSH I am presented with a popup to enter my username and password: http://i.imgur.com/u3HwLYm.png
Is this a username password to my Mac Host or to the Windows Guest? It seems neither will work.
Am I missing some step in creating/accessing the shared folder? Any help will be greatly appreciated
You have to install the VM guest additions. Mount your guest and click the menu item Devices > Insert Guest Additions CD image. Now you can install it on your guest. Possibly you have to reboot your guest.
Afterwards your shared folder should live under \\vboxsrv.
you share files or folder between host and guest system in a simple way:from the devices menu, chose drag and droop ,the default selection is disabled, other option available are either drag and drop in on direction host-> guest or vice versa or in both direction

Test Automation: How to simulate power failure/machine crash?

I have a delphi application that relies on SQLite3, a DB engine that's advertised as crash-proof.
So far I was able to make my whole application crash-proof, but now I need to simulate brutal machine reboot / power failure.
Obviously it would crazy/unpractical to brutally reboot my machine 100 times / per day just to conduct this test, so...
I wonder if there's a way to simulate power failure using VirtualBox (or something similar) programmatically / in an automated fashion?
Any other method/thought would be more than welcome, my goal is to make sure my users' data is never corrupted.
PS. This question is for Windows XP or later
Running this on the virtual box host should do the trick
VBoxManage controlvm (vmname) reset/poweroff
VBoxManage controlvm (vmname) reset has the same effect on a virtual
machine as pressing the "Reset" button on a real computer: a cold
reboot of the virtual machine, which will restart and boot the guest
operating system again immediately. The state of the VM is not saved
beforehand, and data may be lost. (This is equivalent to selecting the
"Reset" item in the "Machine" menu of the GUI.)
VBoxManage controlvm (vmname) poweroff has the same effect on a virtual
machine as pulling the power cable on a real computer. Again, the
state of the VM is not saved beforehand, and data may be lost. (This
is equivalent to selecting the "Close" item in the "Machine" menu of
the GUI or pressing the window's close button, and then selecting
"Power off the machine" in the dialog.)

Cloudera VM Windows mouse only partially works

I am getting started with Cloudera Hadoop and downloaded the VMWare image from here. While the image itself works fine, my mouse does not.
I am running on a new MacBookAir, using VMWare for the Mac. I created the image using the uncompressed image file, but was unsure which OS to select in VMWare. I tried both Mac OS (which didn't even boot in the VM) and then Windows OS (which did boot).
The mouse behaves as follows in the VM. Right click works fine, i.e. context-menu appears. Left click does nothing. I have tried to use the 'mouse' system setting to fix this, but that doesn't change anything.
Suggestions?
I got it working - a couple of things. First I needed to re-create the VM using the correct OS (it is Linux - CentOS 5.8, and in my case 64-bit).
Next I needed to mount a CD drive (had to force shutdown and then re-start) via the Settings. After that I had to install the VMWare Tools via the newly mounted CD (from the original source media).
After that I had to do a cold restart one more time, then voila - mouse is working ok.

Resources