I have vmware worstation pro installed in my host system ubuntun 22
I created a debian vm and insatll vmware tools but i can only paste from guest to host.
How to do for do it from host to guest
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:
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: