Il giorno mer 27 set 2023 alle ore 14:36 haibin wang <haibinw...@outlook.com> ha scritto:
> 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 > Hi Haibin, yes, currently drag&drop works one way only, from host to guest. Regards, Frediano