Virtual machine, mouse cursor only works within the box
I am experimenting with virtual box. One of my problems is that the mouse cursor only works within the box. How can I make it work both with the actual OS too and the virtual box at the same time?
Install guest additions for transitions without manually releasing the keyboard/mouse.
right CTRL doesnt do anything. I really dont know why not. Is there a way to turn off the auto capture even before powering up the vbox?
For me, it doesn't auto-capture without guest additions. It only captures if I click in the box. Did you set a custom host key? It should be displayed in the bottom right of the window.
ty - I may have customized this some time ago. See https://www.virtualbox.org/manual/ch01.html#idp7689696 for more
To get your mouse cursor to work, you simply need to press the Ctrl key on the right side of the keyboard. If you don't want to keep pressing Ctrl to release the mouse cursor every time, simply install the VirtualBox Guest Additions by clicking on Devices > Install Guest Additions. When you do this, you may need to mount the virtual cd-rom drive by using the following command:
$ sudo mount /dev/scd0 /mnt/cdrom
Then run the shell script to install the Guest Additions.
This worked for me:
In the VirtualBox Manager menu at the top of your screen, go to File> Preferences> Input. Go to the Virtual Machine tab on the right. Look for Host Key Combination, then look next to it under Shortcut and delete "Right CTRL". It should now say "None."
I've experienced this on Ubuntu 18.04. I've found to make sure to not trap the mouse on VM boot up. Making sure to release it before mouse detection.
Also, I've set one of my VMs to Pointing Device: USB Multi-Touch Tablet and it makes my VM work with my USB mouse outside of the VM as long as I don't trap it on boot.