mouse stops responding on Ubuntu 64 Guest on Windows 10 Host

Discussions about using Linux guests in VirtualBox.

mouse stops responding on Ubuntu 64 Guest on Windows 10 Host

Postby DoryZ » 18. Apr 2017, 18:28

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?
DoryZ
 
Posts: 11
Joined: 18. Apr 2017, 18:24

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

Postby DoryZ » 24. Apr 2017, 13:49

bump
DoryZ
 
Posts: 11
Joined: 18. Apr 2017, 18:24

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

Postby mpack » 24. Apr 2017, 15:10

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.
mpack
Site Moderator
 
Posts: 25470
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

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

Postby JustinH » 27. Apr 2017, 03:20

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.)
JustinH
 
Posts: 16
Joined: 6. Aug 2015, 05:09

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

Postby DoryZ » 4. May 2017, 09:38

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.
DoryZ
 
Posts: 11
Joined: 18. Apr 2017, 18:24

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

Postby DoryZ » 24. May 2017, 09:58

mpack wrote: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.



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?
Attachments
UbuntuLogFileWhenMouseStoppedToRespond.zip
(31.18 KiB) Downloaded 3 times
DoryZ
 
Posts: 11
Joined: 18. Apr 2017, 18:24

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

Postby mpack » 24. May 2017, 10:36

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?
mpack
Site Moderator
 
Posts: 25470
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

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

Postby DoryZ » 25. May 2017, 11:54

mpack wrote:
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?


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?
DoryZ
 
Posts: 11
Joined: 18. Apr 2017, 18:24

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

Postby socratis » 25. May 2017, 15:32

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.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 12649
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

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

Postby DoryZ » 25. May 2017, 15:59

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?
Last edited by socratis on 25. May 2017, 16:10, edited 1 time in total.
Reason: Fixed formatting.
DoryZ
 
Posts: 11
Joined: 18. Apr 2017, 18:24

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

Postby socratis » 25. May 2017, 16:13

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...
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 12649
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

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

Postby DoryZ » 3. Jul 2017, 17:13

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?
DoryZ
 
Posts: 11
Joined: 18. Apr 2017, 18:24

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

Postby DoryZ » 5. Jul 2017, 11:49

bump..

This is still happening, I'd appreciate any help from anyone :(
Don't know what can I try?
DoryZ
 
Posts: 11
Joined: 18. Apr 2017, 18:24

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

Postby michael » 5. Jul 2017, 12:25

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.
michael
Oracle Corporation
 
Posts: 568
Joined: 10. May 2007, 09:46

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

Postby DoryZ » 26. Jul 2017, 15:14

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?
DoryZ
 
Posts: 11
Joined: 18. Apr 2017, 18:24

Next

Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 14 guests