New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guests on Linux (19.3) hosts no longer have drag 'n drop or cut & paste support for files after upgrade to 15.5.5 or later, even with open-vm-tools 11.1 (or 11.0.6 for MS-Windows) #435
Comments
|
Are you using Wayland? Unfortunately drag and drop does not work with Wayland. You shouldn't use VMware Tools (the old tar installer, 10.3.20+) on Mint 19.3. It is recommended to use the open-vm-tools package that comes with the OS (currently 11.0.5). Mint is based on Ubuntu 18.04, and drag and drop is supported and works for Ubuntu 18.04. Note that you need to install both We have a kb article that may help you if everything is set up correctly: https://kb.vmware.com/s/article/74671 . |
Yes, as noted, I uninstalled VMware Tools and installed open-vm-tools from the distro. That also failed, as did 11.0.5 in an MS-Windows 10 guest. Only 11.0.6 in an MS-Windows guest is working, since I upgraded VMware Workstation from 15.5.2 to 15.5.5.
The running /usr/lib/xorg/Xorg process would imply not, I assume. I read the knowledge base article. After running: sudo systemctl status run-vmblock\x2dfuse.mount I get the expected output, but it is /lib/systemd/ instead of /usr/lib/systemd/. And still no C&P or D&D with the host. What diagnostics would you like for me to run, and provide results? |
|
Hi there, May be related to #437 I am having the same issue since the update: VM Player: 15.5.5 build-16285975 (I did the whole install, purge of the vm tools, reboots etc. alas... no luck fixing the issue)
Thank you. |
|
I just tried to reproduce it - I installed a fresh Ubuntu 20.04, which comes with open-vm-tools 11.0.5-4. Drag/drop works both ways, unless I switch to Wayland where it works from host to the guest but not from the guest to the host (known issue), which is exactly what you describe. What is the output of these command: To make sure you are not running Wayland, please also try these commands:
|
|
Hi, Here are the commands output: Thank you for helping me! |
|
This should be the output you want. I did a clean reboot first, verified that I can drag TO but not FROM the guest, and captured the info. `$ ps auxwww | grep vmtoolsd $ mount | grep vmblock $ ls -l /run/vmblock-fuse/ $ loginctl $ loginctl show-session c1 -p Type $ vmtoolsd --version $ uname -r |
|
I am still seeing this issue. In fact, I am seeing it with MS-Windows 10 using VMware Tools for Windows 11.0.6. The host is Linux 19.3 with VMware Wotrkstation Pro 15.5.6. The error message is the same. The host reports "Error while copying", and the detail is that it can't get information for file "/jDp5Rb/" followed by the filename. The host vmware.log file shows: 020-07-17T10:23:45.617-04:00| vcpu-1| I005: HGFileCopyCreateSessionCB: Successfully created the session. |
|
@oliverkurth , when you ran your test, was the host MS-Windows or Linux? I am suspecting that the problem is on the host side. |
Personally neither, I use Fusion. This should have been tested for other hosts though. I will file an internal bug to the Workstation team. |
|
@oliverkurth , no worries. FWIW, I just tested it on a LM 20 host with the same results. I'll try the same guest on an MS-Windows host as soon as I can. |
|
FYI I discovered the bug occurs for vmhgfs-fuse I/O sizes >= 64K. You can work around the issue by adding a max_write=61440 to the mount options in fstab (64K - 4K). For example: .host:/ /mnt/hgfs fuse.vmhgfs-fuse noauto,allow_other,max_write=61440 0 0 More details here: #437 (comment) |
Any news? @oliverkurth , actually I may be able to tell what is wrong. Consider that the error on the host says: Error when getting information for file “/fdHklT/MyTestDoc.docx”: No such file or directory It occurred to me that this might be literal, and someone made a code change so that it fails to prepend the path to include /tmp/VMwareDnD/. And it appears that may be exactly what someone has done, because when I check /tmp/VMwareDND, look what I see: :/tmp/VMwareDnD$ ls -ltr :/tmp/VMwareDnD$ cd fdHklT/ :/tmp/VMwareDnD/fdHklT$ ls -ltr |
|
@oliverkurth, this is still broken with VMware Workstation 16, even with an MS-Windows guest using VMware Tools 11.1.5. Same exact thing I noted in the previous post. The host dialog reports looking at /session/filename, when it should be looking at /tmp/VMwareDnD/session/filename. |
|
Another problem is that ~/.cache/vmware($HOME/.cache/vmware) is filling up the disk, and linux overload will not help eliminate temporary files. |
|
@denji , that's almost certainly connected, since they fail to move the file out of the cache into the target location. I've looked over the code for open-vm-tools, but unfortunately, it appears that the relevant code is in vmware-vmx, which is not in source form anywhere that I can see, and @oliverkurth and VMware have gone silent. |
|
Thanks for your patience. I have notified the concerned developers. I hope someone will get back on this issue soon. |
|
I ran into the same problem on Fedora. The details of the problem are exactly the same as what you said above, I hope VMware will solve it as soon as possible. |
|
I have faced the same error on Ubuntu 20.04 (5.6.0-1034) and both VMWare Workstation Pro 16 and 16.1. The guest is Windows 8 64. Everything can be copied from Ubuntu to Windows guest machine, but from Windows to Ubuntu only small size files can be copied. I have tried different solutions, including modifying /home/[username]/.cache/vmware/drag_and_drop permission, guest isolation, and updating vmtools. |
|
Same as above. |
|
I can confirm that I am also facing this issue |
|
Have this issue on Ubuntu 20.04, was it fixed somehow, anyone have more information, this has been opened for some time now. |
|
Same problem here. Guest is Ubuntu (20.4), host is Ubuntu (20.4). Can copy from host to guest, but not from guest to host. |
|
Same issue, Guest is RHEL 8, Host is Windows. |
|
I can reproduce this issue if I try to copy a file with a filename like test##.docx from a host (Win 10) to a guest (Ubuntu 20.04). The file does make it onto the guest, but the copy operation fails because everything after test (the ##.docx part) is not translated into the path. |
|
I copy file from host(Manjaro) to guest, Same exact thing I noted in the previous post. The host dialog reports looking at /session/filename.vmware version is 16.2.3 |
|
Many people can, naturally, reproduce the problem, which has not been fixed since Workstation 15.5.5. As I am given to understand, VMware laid off many of the developers who worked on the desktop products, and are in the process of being bought by Broadcom, who has already announced plans to make VMware products subscription based. It seems that there is little attention given to Workstation. I've used VMware since '98 or '99, was a beta tester, and an active participant in the community, to the point where they sent me one of their polo shirts. The current situation, with lack of support or even interest on their part is extremely sad. I would love for a live VMware staffer to correct misgivings, and let us know the status of this two year old outstanding defect, which should not have taken even an hour of programming time to fix. |
FYI, the issue is fixed in 15.5.7 for me and others. Reference: |
It appears that you are confusing that issue related to HGFS with this issue related to drag 'n drop between Guest and Host. See #435 (comment) for the underlying issue (the filepath is wrong). HGFS works. That's not the point of this issue. |
|
It's the middle of 2023, using VMware 17.0.0 and a fully updated Windows 11 host with a Manjaro (KDE Plasma/Wayland) guest VM and drag & drop still doesn't work. What. a. mess. For shame. |
|
Ping! I'm even one of those customers who is paying for supporting, this defect still has not been fixed. |
|
same problem here BUT on same host (debian 11), i have some VM accepting C/P to VM and others not. |
|
May be related to #587 |
probably not, here it's not related to filename (containing "#") to copy/paste. |
The title pretty much makes the point.
I am working around the problem by using shared folders, which do work between the guest and host.
When doing a d&d or c&p, the Error while copying dialog detail says 'Error when getting information for file "/Zsv1YQ/": No such file or directory'.
It appears to be one-way. I can move TO the guest, but not TO the host.
This is reproducible. I've restarted the systems, I've restarted (/etc/init.d/vmware restart) on the host, and restarted vmware-tools on the guest. Nothing has resolved the problem.
All of this was working fine prior to the upgrade (from 15.5.2).
vmtoolsd -v reports 10.3.21.249 (build-14772444), however I did uninstall that and installed the latest from the distro, which was 11.0.5, which failed, too, so I also build 11.1 from source, and that fails, too. So there does not appear to be any version for linux that works, not even the latest from source control.
VMware Tools for MS-Windows 11.0.5 failed with the same results., but upgrading MS-Windows to 11.0.6 fixed the problem there. [Update: It is failing for me now with MS-Windows as well, as documented in a further comment, below.]
Please advise. I'm available to test.
The text was updated successfully, but these errors were encountered: