00. 目录
文章目录
01. 问题描述
从Windows复制文件到虚拟机Ubuntu22.04时,出现无法粘贴,或者粘贴到文件夹中后立马闪退。
从Ubuntu22.04复制文件或者内容到Windows,出现无法粘贴。
When trying to drag and drop a file from Windows to Folder in File Explorer, the file icon will be stuck on the screen, and pulling another will show a dialog box with “Unsupported drag operation, an invalid type of drag and drop used”.
02. 问题分析
VMWare Tools的一个bug。
03. 问题解决
执行以下命令即可解决问题
sudoapt autoremove open-vm-tools
sudoaptinstall open-vm-tools-desktop -ysudoapt update
sudoapt upgrade
reboot
参考:
sudoapt-get autoremove open-vm-tools
Install VMware Tools by following the usual method (Virtual Machine --> Reinstall VMWare Tools)
Reboot the VM
sudoapt-getinstall open-vm-tools-desktop
Reboot the VM, after the reboot copy/paste and drag/drop will work!
04. 问题验证
复制粘贴
05. 问题讨论
物联网、嵌入式、C++、C方向等等兴趣爱好者可以添加WX一起交流。 点击主页私信,添加博主微信。
06. 附录
Drag and drop on Wayland Desktop
Copy/paste and drag&drop not working in VMware machine with Ubuntu
Ubuntu 22.04: copy-paste doesn’t work
版权归原作者 沧海一笑-dj 所有, 如有侵权,请联系我们删除。