Drag and Drop Host to Guest works, but not Guest to Host

Discussions about using Linux guests in VirtualBox.
Post Reply
Niobium62
Posts: 2
Joined: 27. Jan 2023, 08:33

Drag and Drop Host to Guest works, but not Guest to Host

Post by Niobium62 »

VirtualBox 7.0.6
Guest: Linux Mint 21.1 XFCE 64 bit
Host: Windows 11

I just did a fresh install of Linux Mint, but I am having some issues with the drag and drop.
I set the option to bidirectional. Dragging from host to guest works, but dragging from guest to host does not. Whenever I attempt to do the latter, one of two possible logs pops up.

Log 1:

Code: Select all

Drag and drop operation from guest to host failed.

DnD: Error: Requesting pending data from guest failed (VERR_IPE_UNINITIALIZED_STATUS).

Result Code:VBOX_E_DND_ERROR (0X80BB0011)
Component:GuestDnDSourceWrap
Interface:IGuestDnDSource {dedfb5d9-4c1b-edf7-fdf3-c1be6827dc28}
Callee:IDnDSource {d23a9ca3-42da-c94b-8aec-21968e08355d}
Log 2:

Code: Select all

Drag and drop operation from guest to host failed.

DnD: Error: Requesting pending data from guest failed (VERR_TIMEOUT).

Result Code:VBOX_E_DND_ERROR (0X80BB0011)
Component:GuestDnDSourceWrap
Interface:IGuestDnDSource {dedfb5d9-4c1b-edf7-fdf3-c1be6827dc28}
Callee:IDnDSource {d23a9ca3-42da-c94b-8aec-21968e08355d}
Any help would be appreciated.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Drag and Drop Host to Guest works, but not Guest to Host

Post by scottgus1 »

The only thing I can suggest is to use X in your Linux VM OS, not Wayland.

Posting full logs might get you better help:

Start the VM from full normal shutdown, not save-state. Run until you see the problem happen, 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 Upload Attachment tab. (Configure your host OS to show all extensions so you can find the "vbox.log", not "vbox.log.1", etc.)
Niobium62
Posts: 2
Joined: 27. Jan 2023, 08:33

Re: Drag and Drop Host to Guest works, but not Guest to Host

Post by Niobium62 »

I hope this helps
Attachments
VBox.zip
(35.71 KiB) Downloaded 3998 times
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Drag and Drop Host to Guest works, but not Guest to Host

Post by fth0 »

The logging and error reporting for DnD errors has been enhanced in VirtualBox 7.0.6, so we can assume that at least one VirtualBox developer likes to get feedback. ;)

Please create a ticket in the Bugtracker.
sergiomb
Posts: 21
Joined: 1. Dec 2011, 03:11
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: windows Fedora rawhide

Re: Drag and Drop Host to Guest works, but not Guest to Host

Post by sergiomb »

I thin we have a similar problem in Fedora and Centos Stream 9

https://bugzilla.redhat.com/show_bug.cgi?id=2168661
roadSurfer
Posts: 75
Joined: 10. Jan 2009, 19:04

Re: Drag and Drop Host to Guest works, but not Guest to Host

Post by roadSurfer »

Also affecting KDE Neon with a Windows 10 host running VBox 7.0.6:

Code: Select all

DnD: Error: Dragging from guest to host not supported by guest -- make sure that the Guest Additions are properly installed and running.

Result Code: VBOX_E_DND_ERROR (0X80BB0011)
Component: GuestDnDSourceWrap
Interface: IGuestDnDSource {dedfb5d9-4c1b-edf7-fdf3-c1be6827dc28}
Callee: IDnDSource {d23a9ca3-42da-c94b-8aec-21968e08355d}
Checking is I am using Wayland or X:

Code: Select all

user@neon:~$ loginctl
SESSION  UID USER  SEAT  TTY
      1 1000 user   seat0 
1 sessions listed.
user@neon:~$ loginctl show-session 1 -p Type
Type=x11
I am getting this error on X with the latest guest additions installed, to stop the annoying pop-up with accidental DNDs I have simply diabled the feature and will rely on a shared folder instead.

Looks like there is a good guide on how to investigate/report and it appears like there are now multiple bugs logged:
Post Reply