Open atorrescogollo opened 4 years ago
Without the blockFd, I doubt the DND still works though...
It is working for me although the file keeps visually blocked (icon on top of the screen). The difference I have noticed is that the file is not blocking the file descriptor for future drag and drop motions. Anyway, I think this issue is more related with cancelling the drop action. I mean: drag the file from the host, move it over guest file manager and drop it on the host instead of on the guest.
I have the same exact problem in Ubuntu 20.04 running VMWare Player 15.5.6 build 16341506. Annoying.
Thanks for reporting this issue. I have filed an internal bug to track this issue.
Could you please provide the details of open-vm-tools version (vmtoolsd -v) along with the hypervisor product version details? It helps isolate issues that have been fixed already vs a new issue.
Hope someone will get back if more details are required.
open-vm-tools version:
$ vmtoolsd -v
VMware Tools daemon, version 10.3.10.10540 (build-12406962)
VMware version:
Product: VMware® Workstation 16 Pro
Version: 16.0.0 build-16894299
open-vm-tools version:
$ vmtoolsd -v VMware Tools daemon, version 10.3.10.10540 (build-12406962)
VMware version:
Product: VMware® Workstation 16 Pro Version: 16.0.0 build-16894299
It seems there was some extra issues with my machine. It is working in a new installation so those versions do not break DnD.
However, the icon still appears in the top-left corner when drop is cancelled
I'm experiencing the same problem. Any news on that?
Behaviour
I've installed and enabled open-vm-tools-desktop package in Debian. And, something fails very often when dragging and cancelling drop. This failure causes blockFd flag to lock file descriptor for other drag/drop actions.
The following processes are running at the beginning:
Note that vmtoolsd is executed with
--blockFd 3
parameter.When I drag but don't drop, something weird happens: the file appears to be locked and its icon moves to the top right of the screen as shown in the picture.
The locked icon does not dissapear until the process with the blockFd flag is killed. In my case:
kill -9 702
Now, drag and drop is locked in the file manager and
systemctl restart open-vm-tools.service
doesn't do anything useful: it only relaunchs the process with pid=476 (/usr/bin/vmtoolsd
).Also, executing
vmware-user-suid-wrapper
relaunchs the killed process (/usr/bin/vmtoolsd -n vmusr --blockFd 3
), but the problem persists.Workaround ( Not clean at all )
/usr/bin/vmtoolsd -n vmusr --blockFd 3
andvmware-vmblock-fuse
:vmware-user-suid-wrapper
without vmblock process (Note "could not open" message):root@debian:~# ps aux | grep vm root 178 0.0 0.0 0 0 ? S 00:00 0:00 [irq/16-vmwgfx] root 1545 0.1 0.5 48652 11860 ? Ss 00:33 0:01 /usr/bin/vmtoolsd root 2041 2.4 1.8 331348 36664 pts/1 Sl 00:56 0:00 /usr/bin/vmtoolsd -n vmusr root 2050 0.0 0.0 6076 884 pts/1 S+ 00:56 0:00 grep vm
root@debian:~# systemctl list-unit-files | fgrep vmblock run-vmblock\x2dfuse.mount enabled
root@debian:~# systemctl restart 'run-vmblock\x2dfuse.mount'
root@debian:~# ps aux | grep vm root 178 0.0 0.0 0 0 ? S 00:00 0:00 [irq/16-vmwgfx] root 1545 0.1 0.5 48652 11860 ? Ss 00:33 0:02 /usr/bin/vmtoolsd root 2041 0.2 1.8 331348 36664 pts/1 Sl 00:56 0:01 /usr/bin/vmtoolsd -n vmusr root 2226 0.0 0.0 195100 572 ? Ssl 01:03 0:00 vmware-vmblock-fuse /run/vmblock-fuse -o rw,subtype=vmware-vmblock,default_permissions,allow_other,dev,suid root 2234 0.0 0.0 6076 888 pts/2 R+ 01:03 0:00 grep vm