[Spice-devel] Drag and Drop from Guest to Host

haibin wang haibinwang at outlook.com
Wed Sep 27 13:16:02 UTC 2023


Hi,

I am using spice on my Linux Mint machine, and would like to ask a question about how drag and drop is supposed to work.

Basically, I use qemu with spice agent installed on the guest.  Dynamic resolution changing works.  Copy and paste between the guest and the host works, both ways.  File transfer through drag and drop works from host to guest, though not from guest to host.

Ubuntu (https://manpages.ubuntu.com/manpages/xenial/man1/spice-vdagent.1.html), Debian (https://manpages.debian.org/testing/spice-vdagent/spice-vdagent.1.en.html), and Arch Linux (https://man.archlinux.org/man/spice-vdagent.1.en#:~:text=The%20spice%20guest%20agent%20for%20Linux%20consists%20of,desktop%20environments%20which%20honor%20%2Fetc%2Fxdg%2Fautostart%2C%20and%20under%20gdm.) all say that spice agent supports 'transferring files from the client to the agent', not mentioning the other way around.

What I wanted to know was, if this one directional drag and drop works by design, or there is something I missed or misconfigured as it should work both ways, i.e., from host to guest as well as from guest to host.  Thank you.

Best Regards,
Haibin

P.S.
host: Linux Mint 21.2 Cinnamon 5.8.4
Virtual Machine Manager 4.0.0
qemu 6.2
virt-viewer 7.0-2build2
guest: Devuan Daedalus Linux 5
vdagent: 0.22.1-3+b2

[https://s-install.avcdn.net/ipm/preview/icons/icon-envelope-tick-green-avg-v1.png]<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>     无病毒。www.avg.com<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20230927/aa3c8005/attachment.htm>


More information about the Spice-devel mailing list