Situation:
On a fresh VBox install (version 5.6.1 installed on Win7 host) and a fresh Debian Jessie Installation inside VBox (upgraded later to sid) , mouse was working perfectly both inside and ouside of the VBox without the need to use right click for mouse capture.
After installing guest addition tools in Debian (either by VB cd rom or via apt-get), mouse stopped working inside Debian, even with VB settings enabled for "mouse integration" (virtual machine top bar menu - input - click/check mouse integration).
The solution to make my win mouse to work again in and out of vbox without using right click, was to go in mouse and settings options of XFCE.
I found in mouse options that first choice was "VirtualBox Mouse Integration" and this choice was selected (enable this device)
The drop down list provided also an option "VirtualBox USB Tablet".
I uncheck the tick on "enable this device" in VB mouse integration of XFCE Mouse Settings, and then i selected "virtualbox usb tablet" (actually this was selected automatically in my case , i assume due to the fact that was the next available input device).
After this, my normal win mouse started to work again as before, in and out of the VBox, without the need to use right click.
Obviously the trick here is that Debian inside VB is accepting inputs by a usb touch toublet, which in my case this is the win mouse.
I mean that for Debian this situation is similar to "no regular mouse at all".
Surprisingly, in this usb tablet mode, left / right clicks of my windows mouse within debian was perfectly understood by Debian.
The only bug is that this solution does not work during boot /logon screen. For log on screen i have to disable mouse integration from VBOX settings, and i hace to press right click again .
VBox version 5.8.1
In this version (Oct 2016) i had the opposite behavior for mouse. Mouse integration was by default not active and screen resolution was 1024x768 without further options available in a second virtual machine using Debian 64bit Stretch,
I had to install guest additions tools, and i did so with this steps:
* Open VMachine
* Top menu - Devices - insert guest additions cd image.
* Debi will catch that and will open /media/cdrom0
* Close this, open a root terminal and go for #mount /dev/cdrom /mnt - ignore the read only error message.
* #cd /mnt
* #apt install make gcc gksudo perl
* #apt install linux-headers-$(uname -r)
* #./autorun.sh
autorun fails if gcc,make, perl and linux headers are not present in your system.
VBox Installation of 64bit image
In the first run, VBox was giving me options to install only 32 bit guest OS.
In order to be able to use Debian 64bit, i had to go in my real bios and enable the options about Virtualization Technology.
If these options are enabled but still VBox is not offering you 64bit installations , then you might need to look at "turn windows features on and off " section of your Win installation and disable the Hyper-V options (if present and if enabled).
Source for this trick: http://www.fixedbyvonnie.com/2014/11/virtualbox-showing-32-bit-guest-versions-64-bit-host-os/#.WCGD7i2LTDc
Google Chrome Display Problems on VBox
https://forums.virtualbox.org/viewtopic.php?t=6369
Chrome and Chromium when installed within Debian 8 64bit on VBox , could not display correctly.
Chrome was installed without any errors , but upon launch, a black window came up with some blinking texts and areas. It was unusable like this.
The solution is to uncheck 3D accelleration from VBox options for this machine (Settings - Display - Screen)
Also, in case that makes any difference, on Settings - System - Acceleration - Paravirtualization Interface - i selected Hyper-V instead of the previous value ("default").
Can not install Virtual Box Additions CD
At first, i was not capable to inject the CD from the Virtual Box in my Debian.
This was because an old copy of the same image has been floating around my XFCE Desktop.
I mount the old copy, i then unmount it and it gone. Then new additions CD was injected succesfully.
At second step, i tried to run the autorun.sh
I was getting a permission denied error, though loged in as root.
The solution as advised here: https://forums.virtualbox.org/viewtopic.php?f=3&t=58799
Open the file /etc/fstab
and change line
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
To
/dev/sr0 /media/cdrom0 udf,iso9660 user,exec 0 0
Then reboot and you are ok.
PS: Remember that you need to have installed perl, make, gcc and kernel headers otherwise installer will fail: apt-get install linux-headers-$(uname -r) make gcc perl
On a fresh VBox install (version 5.6.1 installed on Win7 host) and a fresh Debian Jessie Installation inside VBox (upgraded later to sid) , mouse was working perfectly both inside and ouside of the VBox without the need to use right click for mouse capture.
After installing guest addition tools in Debian (either by VB cd rom or via apt-get), mouse stopped working inside Debian, even with VB settings enabled for "mouse integration" (virtual machine top bar menu - input - click/check mouse integration).
The solution to make my win mouse to work again in and out of vbox without using right click, was to go in mouse and settings options of XFCE.
I found in mouse options that first choice was "VirtualBox Mouse Integration" and this choice was selected (enable this device)
The drop down list provided also an option "VirtualBox USB Tablet".
I uncheck the tick on "enable this device" in VB mouse integration of XFCE Mouse Settings, and then i selected "virtualbox usb tablet" (actually this was selected automatically in my case , i assume due to the fact that was the next available input device).
After this, my normal win mouse started to work again as before, in and out of the VBox, without the need to use right click.
Obviously the trick here is that Debian inside VB is accepting inputs by a usb touch toublet, which in my case this is the win mouse.
I mean that for Debian this situation is similar to "no regular mouse at all".
Surprisingly, in this usb tablet mode, left / right clicks of my windows mouse within debian was perfectly understood by Debian.
The only bug is that this solution does not work during boot /logon screen. For log on screen i have to disable mouse integration from VBOX settings, and i hace to press right click again .
VBox version 5.8.1
In this version (Oct 2016) i had the opposite behavior for mouse. Mouse integration was by default not active and screen resolution was 1024x768 without further options available in a second virtual machine using Debian 64bit Stretch,
I had to install guest additions tools, and i did so with this steps:
* Open VMachine
* Top menu - Devices - insert guest additions cd image.
* Debi will catch that and will open /media/cdrom0
* Close this, open a root terminal and go for #mount /dev/cdrom /mnt - ignore the read only error message.
* #cd /mnt
* #apt install make gcc gksudo perl
* #apt install linux-headers-$(uname -r)
* #./autorun.sh
autorun fails if gcc,make, perl and linux headers are not present in your system.
VBox Installation of 64bit image
In the first run, VBox was giving me options to install only 32 bit guest OS.
In order to be able to use Debian 64bit, i had to go in my real bios and enable the options about Virtualization Technology.
If these options are enabled but still VBox is not offering you 64bit installations , then you might need to look at "turn windows features on and off " section of your Win installation and disable the Hyper-V options (if present and if enabled).
Source for this trick: http://www.fixedbyvonnie.com/2014/11/virtualbox-showing-32-bit-guest-versions-64-bit-host-os/#.WCGD7i2LTDc
Google Chrome Display Problems on VBox
https://forums.virtualbox.org/viewtopic.php?t=6369
Chrome and Chromium when installed within Debian 8 64bit on VBox , could not display correctly.
Chrome was installed without any errors , but upon launch, a black window came up with some blinking texts and areas. It was unusable like this.
The solution is to uncheck 3D accelleration from VBox options for this machine (Settings - Display - Screen)
Also, in case that makes any difference, on Settings - System - Acceleration - Paravirtualization Interface - i selected Hyper-V instead of the previous value ("default").
Can not install Virtual Box Additions CD
At first, i was not capable to inject the CD from the Virtual Box in my Debian.
This was because an old copy of the same image has been floating around my XFCE Desktop.
I mount the old copy, i then unmount it and it gone. Then new additions CD was injected succesfully.
At second step, i tried to run the autorun.sh
I was getting a permission denied error, though loged in as root.
The solution as advised here: https://forums.virtualbox.org/viewtopic.php?f=3&t=58799
Open the file /etc/fstab
and change line
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
To
/dev/sr0 /media/cdrom0 udf,iso9660 user,exec 0 0
Then reboot and you are ok.
PS: Remember that you need to have installed perl, make, gcc and kernel headers otherwise installer will fail: apt-get install linux-headers-$(uname -r) make gcc perl
0 σχόλια:
Δημοσίευση σχολίου