Leaving VM window failed
Leaving VM window failed
I had exactly the same error. I do have the Guest Additions installed.
My VirtualBox version is 7.0.8 r156879 and my Guest Additions has the same version. From Machine -> Session Information -> Runtime Information:
```
Guest Additions 7.0.8 r156879
```
My guest system is Ubuntu 22.04. When I try to drop a txt file to the guest system I got error:
```
Drag and drop operation from host to guest failed.
DnD: Error: Leaving VM window failed (VERR_TIMEOUT).
Result Code:VBOX_E_DND_ERROR (0X80BB0011)
Component:GuestDnDTargetWrap
Interface:IGuestDnDTarget {50ce4b51-0ff7-46b7-a138-3c6e5ac946b4}
Callee:IDnDTarget {ff5befc3-4ba3-7903-2aa4-43988ba11554}
```
I tried to google this the entire afternoon but I couldn't figure out any solutions. Please help with this.
Thanks.
My VirtualBox version is 7.0.8 r156879 and my Guest Additions has the same version. From Machine -> Session Information -> Runtime Information:
```
Guest Additions 7.0.8 r156879
```
My guest system is Ubuntu 22.04. When I try to drop a txt file to the guest system I got error:
```
Drag and drop operation from host to guest failed.
DnD: Error: Leaving VM window failed (VERR_TIMEOUT).
Result Code:VBOX_E_DND_ERROR (0X80BB0011)
Component:GuestDnDTargetWrap
Interface:IGuestDnDTarget {50ce4b51-0ff7-46b7-a138-3c6e5ac946b4}
Callee:IDnDTarget {ff5befc3-4ba3-7903-2aa4-43988ba11554}
```
I tried to google this the entire afternoon but I couldn't figure out any solutions. Please help with this.
Thanks.
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: Leaving VM window failed
Do not hijack other threads, create your own.
Start the VM from full normal shutdown, not save-state. Try a drag-n-drop, then shut down the VM from within the VM's OS if possible. If not possible, close the Virtualbox window for the VM with the Power Off option set.
Right-click the VM in the main Virtualbox window's VM list, choose Show in Explorer/Finder/File Manager. In the "Logs" subfolder, zip the VM's "vbox.log", and post the zip file, using the forum's Attachments tab. (Configure your host OS to show all extensions so you can find the "vbox.log", not "vbox.log.1", etc.)
Start the VM from full normal shutdown, not save-state. Try a drag-n-drop, then shut down the VM from within the VM's OS if possible. If not possible, close the Virtualbox window for the VM with the Power Off option set.
Right-click the VM in the main Virtualbox window's VM list, choose Show in Explorer/Finder/File Manager. In the "Logs" subfolder, zip the VM's "vbox.log", and post the zip file, using the forum's Attachments tab. (Configure your host OS to show all extensions so you can find the "vbox.log", not "vbox.log.1", etc.)
Re: Leaving VM window failed
Hi scottgus1,
Thanks for your reply and sorry for the late response. Please see the log attached.
Thanks.
Thanks for your reply and sorry for the late response. Please see the log attached.
Thanks.
- Attachments
-
- VBox.log.zip
- (47.46 KiB) Downloaded 393 times
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: Leaving VM window failed
Thanks for the log. All I know about troubleshooting drag-n-drop is whether the DnD service is enabled in the VM's settings and whether the Guest Additions are installed and running in the VM OS.
The service is enabled, and the GAs are installed.
One thing I've seen in some logs is a listing of the various sub-services of the GAs, like shared clipboard and drag-n-drop. Your log does not show the sub-services starting. This could be a difference between Windows and Linux VMs logging styles, or it could be something in the GAs did not start. FWIW your VM shows full graphics screen-sizing, so that part of GAs is running.
We'll need a forum guru to weigh in here when they get a chance.
The service is enabled, and the GAs are installed.
One thing I've seen in some logs is a listing of the various sub-services of the GAs, like shared clipboard and drag-n-drop. Your log does not show the sub-services starting. This could be a difference between Windows and Linux VMs logging styles, or it could be something in the GAs did not start. FWIW your VM shows full graphics screen-sizing, so that part of GAs is running.
We'll need a forum guru to weigh in here when they get a chance.
-
- Volunteer
- Posts: 5690
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Leaving VM window failed
It's the former. In Windows guests, the VBoxTray.exe application triggers the corresponding log messages. In Linux guests, the VBoxClient application is silent.scottgus1 wrote: ↑1. Jul 2023, 14:12 One thing I've seen in some logs is a listing of the various sub-services of the GAs, like shared clipboard and drag-n-drop. Your log does not show the sub-services starting. This could be a difference between Windows and Linux VMs logging styles, or it could be something in the GAs did not start.
Regarding the DnD problem, I cannot really help troubleshooting.
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: Leaving VM window failed
Thanks for the confirmation, fth0! I'd thought there was a pattern to the presence of the log messages.
Do you think an enhancement request to add these messages to Linux's VBoxClient?
-
- Volunteer
- Posts: 5690
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Leaving VM window failed
I was slightly wrong:
In Linux guests, the VBoxClient application also creates log messages, but they're only written to the guest-side and host-side logging if explicitly enabled. An enhancement request might make sense.
In Linux guests, the VBoxClient application also creates log messages, but they're only written to the guest-side and host-side logging if explicitly enabled. An enhancement request might make sense.
Re: Leaving VM window failed
Hi scottgus1 and fth0, thanks for your reply! I can confirm that the GAs are installed and started (at least partially started) since the shared clipboard and shared folders work without any issues. The only thing that doesn't work is DnD. Is there any way to tell if the DnD service is started while the guesting system is running?
-
- Volunteer
- Posts: 5690
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Leaving VM window failed
In your Linux guest, open a terminal and use ps -elfH | grep VBoxClient to see all VBoxClient processes with their command lines. There will be two processes for each feature. I don't expect any surprise, though, since you're not the first user reporting DnD issues.
Re: Leaving VM window failed
Got you. Here is the output:
The DnD service is indeed started.
Code: Select all
1 S snflow 1571 1001 0 80 0 - 7178 do_wai 15:54 ? 00:00:00 /usr/bin/VBoxClient --clipboard
1 S snflow 1572 1571 0 80 0 - 56725 futex_ 15:54 ? 00:00:00 /usr/bin/VBoxClient --clipboard
1 S snflow 1842 1001 0 80 0 - 7178 do_wai 15:54 ? 00:00:00 /usr/bin/VBoxClient --seamless
1 S snflow 1843 1842 0 80 0 - 56750 futex_ 15:54 ? 00:00:00 /usr/bin/VBoxClient --seamless
1 S snflow 1850 1001 0 80 0 - 7178 do_wai 15:54 ? 00:00:00 /usr/bin/VBoxClient --draganddrop
1 S snflow 1851 1850 0 80 0 - 56879 futex_ 15:54 ? 00:00:00 /usr/bin/VBoxClient --draganddrop
1 S snflow 1858 1001 0 80 0 - 7178 do_wai 15:54 ? 00:00:00 /usr/bin/VBoxClient --vmsvga-session
1 S snflow 1860 1858 0 80 0 - 40204 futex_ 15:54 ? 00:00:00 /usr/bin/VBoxClient --vmsvga-session
0 S snflow 2032 1967 0 80 0 - 4466 pipe_r 15:55 pts/0 00:00:00 grep --color=auto VBoxClient
Re: Leaving VM window failed
Hi,
are there any updates concerning that problem, because I run into the same.
Kind regards,
Jonas
are there any updates concerning that problem, because I run into the same.
Kind regards,
Jonas