Page 1 of 3

mouse stops responding on Ubuntu 64 Guest on Windows 10 Host

Posted: 18. Apr 2017, 18:28
by DoryZ
Hi,

VirtualBox works fine, once in a while the mouse (I guess mouse capture) stops working.
Meaning the mouse still works fine, the Guest Ubuntu works fine, but it ignore all mouse clicks and inputs in Ubuntu.
Outside of the ubutnu window everything works fine, just the ubuntu window is not responding to the mouse.

Restarting the Ubuntu machine ,seems to solve it but it's getting tedious as this is my work machine.
I'm not sure why this is happening, I've been googling but cannot find an answer.
I'm using VirtualBox 5.1.14 (now upgrading to 5.1.18).

Please make any suggestions how to fix this ? Debug this?

Re: mouse stops responding on Ubuntu 64 Guest on Windows 10 Host

Posted: 24. Apr 2017, 13:49
by DoryZ
bump

Re: mouse stops responding on Ubuntu 64 Guest on Windows 10 Host

Posted: 24. Apr 2017, 15:10
by mpack
If you want an answer then I'm not sure that the "Windows Hosts" forum is the best place to find Linux experts. Moving you to "Linux Guests".

Also, not a lot can be said if you don't provide minimum information, meaning a VM log file. With the VM fully shut down, right click and "Show Log" in the GUI, save "VBox.log" (no other file) to a zip, and attach the zip here.

Re: mouse stops responding on Ubuntu 64 Guest on Windows 10 Host

Posted: 27. Apr 2017, 03:20
by JustinH
I've seen this also. Win7 x64 host, Ubuntu 16.04 guest, VB 5.1.14 with GA installed.

This is how to reproduce:
- have bidirectional drag and drop on
- in Ubuntu, drag some files to the Windows OS - the operation works
- now put the mouse pointer back in Ubuntu - you can 't see the mouse pointer!
But it still works, as you can see a faint UI highlight or flicker where the pointer would be. The only way I know to recover is shutdown the VM and restart.

Also, shares to the host don't seem to work...Ubuntu complains with 'This location could not be displayed'. (I use the same account credentials on both OS-es, if it matters.)

Re: mouse stops responding on Ubuntu 64 Guest on Windows 10 Host

Posted: 4. May 2017, 09:38
by DoryZ
I'm not sure I have an exact reproduction, as it happens not when dragging so much.
I still see the mouse cursor, it just the linux window is not responding to mouse clicks anymore, until I restart.
Next time it happens I'll make a full dump and share it here.

Re: mouse stops responding on Ubuntu 64 Guest on Windows 10 Host

Posted: 24. May 2017, 09:58
by DoryZ
mpack wrote:Also, not a lot can be said if you don't provide minimum information, meaning a VM log file. With the VM fully shut down, right click and "Show Log" in the GUI, save "VBox.log" (no other file) to a zip, and attach the zip here.
Here is a log file, just after the mouse stopped responding.
I'd love any help? Is this file helpeful enough to find some information on what happened?

Re: mouse stops responding on Ubuntu 64 Guest on Windows 10 Host

Posted: 24. May 2017, 10:36
by mpack
00:00:05.953479 VUSB: Attached 'HidMouse' to port 1
If you are grabbed ownership of the mouse using a USB filter then stop doing it - that is not how a VM uses the host mouse (or keyboard). The mouse must be owned by the host, because VirtualBox is a host app, and how is a host app meant to use the host mouse if the host doesn't have a mouse?

Re: mouse stops responding on Ubuntu 64 Guest on Windows 10 Host

Posted: 25. May 2017, 11:54
by DoryZ
I dont think I have any mouse filter, when looking at the virtualbox usd filters, the list is empty.
The mouse is setup as a USB tablet option (middle option).

However I'm not sure if where I looked is correct?
Can you explain? I just setup the virtualbox and it works.
Not sure what is a USB filter, and how you grab ownership.
Can you direct me to understand what's going on and how I can stop this issue from happening?

Re: mouse stops responding on Ubuntu 64 Guest on Windows 10 Host

Posted: 25. May 2017, 15:32
by socratis
00:00:05.016019   VBoxInternal2/SharedFoldersEnableSymlinksCreate/JumpStart="1"
Could you explain that please? If you don't know what that means for, where did you get the VM from?
00:00:05.603617 NAT: Set redirect TCP 127.0.0.1:4000 -> 0.0.0.0:4000
00:00:05.603702 NAT: Set redirect TCP 127.0.0.1:5858 -> 0.0.0.0:5858
00:00:05.603775 NAT: Set redirect TCP 0.0.0.0:5001 -> 0.0.0.0:5001
00:00:05.603838 NAT: Set redirect TCP 0.0.0.0:5000 -> 0.0.0.0:5000
00:00:05.603896 NAT: Failed to redirect TCP 127.0.0.1:27017 -> 0.0.0.0:27017 (Unknown error)
00:00:05.603984 NAT: Set redirect TCP 0.0.0.0:3000 -> 0.0.0.0:3000
Could you explain that please? If you don't know what that means for, where did you get the VM from?
VirtualBox VM 5.1.18 r114002 win.amd64 (Mar 15 2017 16:16:14) release log
00:00:15.962939 VMMDev: Guest Additions information report: Version 5.0.18 r106667 '5.0.18_Ubuntu'
00:00:17.388537 VMMDev: Guest Log: 00:00:00.013663 main     5.0.24_Ubuntu r108355 started. Verbose level = 0
Your Guest Additions (GAs) are quite old. On top of that, they're the ones provided by Ubuntu, a forked version of the official ones (5.0.18_Ubuntu). And finally, it seems that there is a mix of two (2) different GAs installed in the guest! I can't say that I've seen that one before. You need to uninstall/delete/purge the GAs in your guest and install the ones that come bundled with VirtualBox. See: 4.2.2. Guest Additions for Linux.
00:00:04.989150 Shared OpenGL service loaded -- 3D enabled
Try to disable 3D acceleration. That is if everything that I noted so far doesn't manage to get your mouse back again.

Re: mouse stops responding on Ubuntu 64 Guest on Windows 10 Host

Posted: 25. May 2017, 15:59
by DoryZ
socratis wrote:
00:00:05.016019   VBoxInternal2/SharedFoldersEnableSymlinksCreate/JumpStart="1"
Could you explain that please? If you don't know what that means for, where did you get the VM from?
Sure I'm sharing a folder with the windows guest. I created this VM and this folder.
socratis wrote:
00:00:05.603984 NAT: Set redirect TCP 0.0.0.0:3000 -> 0.0.0.0:3000
Could you explain that please? If you don't know what that means for, where did you get the VM from?
I'm running services that I'd like to access from the host machine, my VM again :)
socratis wrote:You need to uninstall/delete/purge the GAs in your guest and install the ones that come bundled with VirtualBox.
I'll try this. How can I purge both Guest Additions and ensure they are clear?
What steps should I take?

Re: mouse stops responding on Ubuntu 64 Guest on Windows 10 Host

Posted: 25. May 2017, 16:13
by socratis
DoryZ wrote:How can I purge both Guest Additions and ensure they are clear?
I personally use Synaptic. But there are other ways as well, check the Ubuntu documentation and/or forums.


PS. Instead of pressing the "QUOTE" button and replying in the gaps, press "POST REPLY" and then select chunks of text and press the "Quote" button. Your message looked like a huge quotation of the previous one. I delete these messages, you were "lucky" I noticed your answer hidden in there... ;) Anyway, I cleared it up a little bit to make more sense...

Re: mouse stops responding on Ubuntu 64 Guest on Windows 10 Host

Posted: 3. Jul 2017, 17:13
by DoryZ
Ok I have purged the guest additions and installed it all over.
I'm still getting the mouse stopping to respond many many times, and I don't know what to do.
Should I attach the log file again?
Any other suggestions what to do?

Re: mouse stops responding on Ubuntu 64 Guest on Windows 10 Host

Posted: 5. Jul 2017, 11:49
by DoryZ
bump..

This is still happening, I'd appreciate any help from anyone :(
Don't know what can I try?

Re: mouse stops responding on Ubuntu 64 Guest on Windows 10 Host

Posted: 5. Jul 2017, 12:25
by michael
I'm afraid that this sort of thing is very hard to analyse unless we (I) can reproduce it. Could you help me with that by finding a precise recipe? And as a general hint, the forums are good for users solving problems together without needing developer time. The flip side though is that not all developers look at the forum. So if you do try hard and still fail to get anywhere, it is always worth pinging the developers to have a look. Due to the low number of developers and the high number of issues we may well still not respond, but the chances are higher than if you don't.

Re: mouse stops responding on Ubuntu 64 Guest on Windows 10 Host

Posted: 26. Jul 2017, 15:14
by DoryZ
Thanks Michael, How can I find the recipe ? how can I find direct developers?
I love virtualbox but this is a huge pain, I need to restart my virtualbox sometimes 2-3 times a day :(
I'm a developer so I'm glad to work with you guys I just need a little guidance on what you need from my end?