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
Drag-and-drop NOT working. #169
Comments
Stephen, The first para. is talking about CentOS 7 on WS Pro 12. That is working as expected, correct? On Fusion, what version of CentOS 7 have you installed and what version of open-vm-tools packages are in use? |
The behavior in WS Pro 12 on Windows 10 (as host) as with VMware Fusion on the Macintosh as the host - DnD from guest to host works consistently, DnD from host to guest stops after a couple of iterations (I got two files to drag in, the third failed). Copy and paste either direction works. CentOS 7.3 - kernel 3.10.0-514.21.1.el7.x86_64, built 25 May 2017. open-vm-tools 10.0.5-4-el7_3. Best, |
I was able to reproduce the issue in CentOS 7.3. The vmblock fuse file system isn't mounted with the open-vm-tools package that comes with CentOS 7.3. To work around the issue, create the file
Then do:
and reboot, or
Let me know if this works for you. |
I found another thing - the setuid bit for vmware-user-suid-wrapper isn't set. So you also need to do:
|
Oliver, after doing that, and restarting the guest, I see this: [root@localhost auser]# systemctl status -l run-vmblock\x2dfuse.mount Jun 14 02:08:23 localhost.localdomain systemd[1]: run-vmblock\x2dfuse.mount's Where= setting doesn't match unit name. Refusing. Why the "\x2d" in all of this; why not just a dash character, as in the "Where" line of the file that was created in step 1 of this response? Best, |
I made a mistake - replace the "where" line with The \2xd is needed otherwise the dash would be replaced with a slash, but we want the dash in "vmblock-fuse". |
Success! Thank you, Oliver. |
Well, partial success. When I bring the VM over to the Macintosh, the "run-vmblock\x2dfuse.mount" service isn't running: Jun 14 08:26:02 localhost.localdomain mount[463]: fuse: device not found, try 'modprobe fuse' first Running "modprobe fuse" and then "systemctl restart run-vmblock\x2dfuse.mount" results in a happier report: Jun 14 15:37:31 localhost.localdomain systemd[1]: Mounting VMware vmblock fuse mount... but dragging INTO the guest from the host consistently fails. Dragging from guest to host works, as does copy and paste, both directions. Rebooting does not help - I'm back to the run-vmblock\x2dfuse.mount service not running. OTOH, it appeared to be working consistently on the Windows 10 box. Best, |
Just to make sure, did you set the setuid bit for /usr/bin/vmware-user-suid-wrapper ? I understand you are using two different hosts, so is the setup otherwise the same in the two VMs? It shouldn't depend on the host system. |
You can also attach the log files from /var/log/vmware-* to this issue. Maybe we can find something useful. |
Yes, the setuid bit is set: -rwsr-sr-x. 1 root root 11416 Mar 2 19:00 /usr/bin/vmware-user-suid-wrapper I've attached the log. |
There should be a file
And then send that log file when the issue is reproduced. |
There was not a file by that name, nor was there "/etc/vmware-tools/tools.conf." I created that file and restarted the guest. I've attached "vmware-vmusr.log" (renamed "vmware-vmusr.txt") - in it, "test.txt" was successfully dragged from (Macintosh) host to guest, and "test copy 2.txt" was not successfully dragged. Thank you! |
Thank you. I asked some other developers for help, so I hope you will hear back from us. |
any update? |
@stephennspencer is this still an issue with later versions of CentOS? @sukeyisme do you have the same issue? What is the environment (open-vm-tools version, OS and version, which version of Fusion or WS, which host (Mac or Windows))? Can you provide logs? |
Sorry, haven't pursued this functionality for our purposes lately. So, no
update.
Best,
Stephen
…On Thu, Apr 26, 2018 at 11:19 AM Oliver Kurth ***@***.***> wrote:
@stephennspencer <https://github.com/stephennspencer> is this still an
issue with later versions of CentOS?
@sukeyisme <https://github.com/sukeyisme> do you have the same issue?
What is the environment (open-vm-tools version, OS and version, which
version of Fusion or WS, which host (Mac or Windows))? Can you provide logs?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#169 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AVJt_36wHwLSyq67KN9VaQAzKcE40wZ-ks5tsg_KgaJpZM4N3vk0>
.
--
Stephen Spencer
e-mail: stephenspencer@gmail.com
|
yes. |
I can reproduce this on a fully-patched installation of CentOS 7.5.1804 running as a guest VM on a Mac OS X High Sierra host running VMWare Fusion Professional 7.1.3. I have not tried any of the workarounds to see if they fix it yet, but it's definitely a problem that's evident with the default installation. As in the screenshot for the original issue, the path shown in my error dialog also begins with two leading slashes. |
@oliverkurth I have performed the workaround suggested in this thread, but drag-and-drop continues to fail consistently. As stated above, I am running CentOS 7.5.1804 as a guest and Mac OS X High Sierra as a host with VMWare Fusion Professional 7.1.3. Here's an excerpt from the Since I do not have a workaround for this bug, I'm very interested in helping to diagnose and test a fix for this. Please let me know what else you need from me. |
@tomwheeler which version of open-vm-tools do you have installed? Find out with |
@oliverkurth It's version 10.1.10.63510 (build-6082533). |
FYI: Another workaround for this bug is to click the Retry button when the error dialog pops up. It seems that it's only the first attempt that fails (although that fails 100% of the time). |
4.14.71-1-MANJARO XFCE same issue. I am just using copy/paste for files. Not a big deal for me anyway. |
Drag 'n' Drop doesn't work on host Xubuntu 18.04 (XFCE) and guest Kubuntu 18.04 (KDE), both 64-bits, using Workstation 15 and open-vm-tools 10.3.0.5530 (build-8931395). Suggestions? |
The described problem (drag'n'drop does not work or is happily only after the second attempt with clicking Retry button) is completely solved on Fedora 30 (last version open-vm-tools from official repo), if we apply the method proposed in this thread by the respected @oliverkurth. Great solution! :-) I hope this solution will be added to the repository as part of the default open-vm-tools package installation script /?/. (Sorry, if I use inaccurate terminology - I recently began to actively use Linux.) |
In case it helps anyone, I got exactly this error message ...
when a subfolder of "myDir" was open in visual studio 2019. Close visual studio and all is well HTH |
@oliverkurth 's method work for me on Arch Linux latest version with open-vm-tools installed. Thank you! |
it's working!!! Nice. |
tl;dr: Drag and drop is inconsistent, Macintosh host, CentOS7 guest.
I'm building a VM for our users. Using VMware Workstation Pro 12.0 on a Windows 10 box to build the guest VM, and using CentOS 7 as the guest OS. I've installed "open-vm-tools" and "open-vm-tools-devel" and "open-vm-tools-desktop" in the guest OS.
When I bring up the VM in VMware Fusion 8.5.7 on the Macintosh, the drag and drop functionality is inconsistent. The first file dragged from host to guest works, but the second fails, with "Error getting information for file..." message. (See attached screencap.)
Dragging files from guest to host consistently works.
Copy and paste works, in both directions, consistently.
/usr/lib/systemd/system/vmtoolsd.service has "PrivateTmp=true" in it.
I've tried copying that "vmtoolsd.service" file to /etc/systemd/system/vmtoolsd.service and (a) changing it to "PrivateTmp=false" and (b) commenting out that line, and restarting the guest and/or reloading the daemon (so that "systemctl status -l vmtoolsd" shows that this other configuration file is in play) - no change in the behavior.
Is there logfile information somewhere on the guest that might help me determine what's failing, and why?
Why does the behavior not change when I have PrivateTmp set to "true" or "false"?
Any assistance is greatly appreciated.
Thank you.
Best,
Stephen
The text was updated successfully, but these errors were encountered: