Hi,
Thought I would share my solution here due to Wayland. Host: Ubuntu 22.04, Guest: Windows 10 and Kali. Workstation Pro 16.2.4
If having issues trying to copy and paste (I mean using Ctrl + V, not Edit -> Paste) from host to guest, or guest to host, check if you are using Wayland on the Linux Host / Guest. This affects many distros using Wayland.
> echo $XDG_SESSION_TYPE
Wayland is causing all of the issues for copy / paste of text, files, and drag and drop issues. Files over a certain size (tested over 10MB) will cause Nautilus file manager to crash directly in Wayland. Changing to X11 resolves all of these issues.
Ensure you have open-vm-tools and open-vm-tools-desktop installed first.
Steps on Ubuntu 22.04:
- Log out from the user in the Linux Host / Guest.
- Click on your user, DO NOT LOG IN.
- Click on the gear icon at bottom right of the screen, change to "Ubuntu on Xorg".
- Log in.
- If is a Linux Host, open VMWare Workstation Pro, restart your VMs. If is a Linux guest, just restart that VM.
- Try copy paste text bi-directionally, drag and drop files into Nautilus file manager. It should work now. Files larger than 10MB should not crash Nautilus anymore.
Note that you cannot drag and drop files to the Ubuntu Desktop itself, has to be to Nautilus.
Other threads I have posted my solution to:
https://communities.vmware.com/t5/VMware-Workstation-Pro/cant-copy-paste-from-guest-to-host/td-p/364...
https://communities.vmware.com/t5/VMware-Workstation-Pro/Workstation-16-2-0-cannot-use-paste/td-p/28...