Author Topic: <Fixed>VB: Mouse Capature Problem  (Read 1678 times)

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1529
<Fixed>VB: Mouse Capature Problem
« on: April 07, 2012, 09:03:31 PM »
I updated the non OSE Virtualbox today using the script. I can no longer get mouse capture after the guest OS (MiniPclos virtual livecd) loads. I understand using the right ctrl button but clicking OK does nothing. The guest OS loads then the mouse in the OS freezes or disappears, changes back and forth from one install to the next exactly what happens. I always though have an active mouse outside of the  guest OS. I have rebooted multiple times and installed VB twice.

I get two errors when I start the guest OS.
Quote
... that the guest OS does not support mouse pointer integration in the current video mode.
and
Quote
The virtual machine window is optimized to work in 32 bit color mode but the virtual display is currently set to 16 bit.
I don't ever remember seeing those errors before.
« Last Edit: April 09, 2012, 10:04:07 AM by Ray2047 »
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: VB: Mouse Capature Problem
« Reply #1 on: April 08, 2012, 12:41:41 AM »
First question: Did you reboot the host after updating VirtualBox?
Second question: In the System section, Motherboard tab of your VM setup, do you have Enable absolute pointing device checked? It should be unchecked.


Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1529
Re: VB: Mouse Capature Problem
« Reply #2 on: April 08, 2012, 11:51:46 AM »
Quote
Did you reboot the host after updating VirtualBox?
Yes, rebooted host OS multiple times.
Quote
do you have Enable absolute pointing device checked? It should be unchecked.
It was though I had never checked it so I unchecked it. Tried loading the guest OS again. Mouse froze about 30 seconds or less after fully loading. Could not shut down VB. Dropped to host command line and rebooted host.
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Offline AS

  • Hero Member
  • *****
  • Posts: 4098
  • Have a nice ... night!
Re: VB: Mouse Capature Problem
« Reply #3 on: April 08, 2012, 12:20:30 PM »
You may need to reinstall the guest-additions in the guest OS ...

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1529
Re: VB: Mouse Capature Problem
« Reply #4 on: April 08, 2012, 01:18:07 PM »
You may need to reinstall the guest-additions in the guest OS ...
But isn't that done with the guest OS booted and I don't have a mouse when the guest OS is booted so how would I do that?
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Offline AS

  • Hero Member
  • *****
  • Posts: 4098
  • Have a nice ... night!
Re: VB: Mouse Capature Problem
« Reply #5 on: April 08, 2012, 01:42:11 PM »
You may need to reinstall the guest-additions in the guest OS ...
But isn't that done with the guest OS booted and I don't have a mouse when the guest OS is booted so how would I do that?

... using the keyboard:

boot at runlevel 3, i.e. when you will boot the guest, press F3 (options) and ENTER, add a 3 at the end of parameters line, hit ENTER to boot the guest. You will get a black screen with a login prompt: log in as root.

On the main menu of VirtualBox guest-window select Device -> Install Guest Additions

after logging in, mount the virtual CD to /mnt:
Code: [Select]
mount /dev/sr0 /mntyou will get a message like:
Quote
mount: block device /dev/sr0 is write-protected, mounting read-only

run the guest addition installation:
Code: [Select]
cd /mnt
./VBoxLinuxAdditions.run

when finished type reboot

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1529
Re: VB: Mouse Capature Problem
« Reply #6 on: April 08, 2012, 04:33:16 PM »
Quote
i.e. when you will boot the guest, press F3 (options) and ENTER, add a 3 at the end of parameters line, hit ENTER to boot the guest
I must have taken a dumb pill today because what you are saying sounds simple but I can't understand what to do. I tried hitting F3 and nothing happened. If I hit enter the system boots, no black screen. If I press F3 and enter at the same time it just boots, no black screen.
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Offline AS

  • Hero Member
  • *****
  • Posts: 4098
  • Have a nice ... night!
Re: VB: Mouse Capature Problem
« Reply #7 on: April 08, 2012, 04:45:30 PM »
Quote
i.e. when you will boot the guest, press F3 (options) and ENTER, add a 3 at the end of parameters line, hit ENTER to boot the guest
I must have taken a dumb pill today because what you are saying sounds simple but I can't understand what to do. I tried hitting F3 and nothing happened. If I hit enter the system boots, no black screen. If I press F3 and enter at the same time it just boots, no black screen.


after pressing F3 you should see a menu like this:


You press ENTER to select default ... and you should see a parameter line ...


if you don't see anything like that, it means the guest OS isn't grabbing the keyboard input ... usually pressing a key while the windows if focused should grab the keyboard input ...

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: VB: Mouse Capature Problem
« Reply #8 on: April 08, 2012, 04:50:14 PM »
I was about to post the same screenshots. You're too quick!  ;D
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline AS

  • Hero Member
  • *****
  • Posts: 4098
  • Have a nice ... night!
Re: VB: Mouse Capature Problem
« Reply #9 on: April 08, 2012, 04:51:30 PM »
I was about to post the same screenshots. You're too quick!  ;D


nope ... I have vbox running all the time ...  :D

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1529
Re: VB: Mouse Capature Problem
« Reply #10 on: April 08, 2012, 07:39:59 PM »
No this is what I get:


If I choose "Text" nothing happens.
« Last Edit: April 08, 2012, 07:43:05 PM by Ray2047 »
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: VB: Mouse Capature Problem
« Reply #11 on: April 09, 2012, 12:08:53 AM »
Ray2047,

Press whichever function key is associated with Kernel Option. I can't quite make it out, but I believe it's F6 in your case. You will then get the screen AS was showing. Then proceed with the rest of the instructions.

You might as well go ahead and login as user root. You'll need to be root to create a mount point for the CD, mount the CD, then run the guest additions reinstallation. After logging in, when you click on Devices > Install Guest Additions in the VirtualBox window, the CD will be available to the virtual machine, but it won't automount. So, to mount the CD manually and reinstall the guest additions, run as root:

mkdir /mnt/vbox
mount /dev/sr0 /mnt/vbox
cd /mnt/vbox
sh VBoxLinuxAdditions.run


First line is mkdir [space] /mnt/vbox.
Second line is mount [space] /dev/sr0 (that's sr-zero) [space] /mnt/vbox.

After reinstallation has finished, issue either reboot or halt command.

« Last Edit: April 09, 2012, 12:13:15 AM by djohnston »
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline AS

  • Hero Member
  • *****
  • Posts: 4098
  • Have a nice ... night!
Re: VB: Mouse Capature Problem
« Reply #12 on: April 09, 2012, 03:40:56 AM »
No this is what I get:


If I choose "Text" nothing happens.


That is because you are running a LiveCD, while my instructions are related to an 'installed' guest.
djohnston is correct, from LiveCD the options are selected by pressing F6, but there is no point to install the guest-additions on a Live system, because you need a reboot and the changes will be lost.

Therefore you will need to perform an installation of the Live System, by launching draklive-install

AS


Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15515
  • ┌∩┐(◕_◕)┌∩┐
Re: VB: Mouse Capature Problem
« Reply #13 on: April 09, 2012, 03:46:17 AM »
Once the VM is working as required, mebbe try taking a snaphot of the system which should then reload back to that status (LiveCD / iso will still need to be present of course)
PCLinuxOS 32bit KDE 4.10.4; kernel-3.4.11-pclos1.bfs & 64bit 3.4.38bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline AS

  • Hero Member
  • *****
  • Posts: 4098
  • Have a nice ... night!
Re: VB: Mouse Capature Problem
« Reply #14 on: April 09, 2012, 06:03:43 AM »
Ray2047,

one question: exactly which LiveCD are you running ? because I can't replicate your issue here ... mouse in virtualbox is just "emulated hardware" and should "just work" for you like it is working for me ...

AS