VMware Communities
emerick-biron
Contributor
Contributor

Worstation 16 cannot copy/past

Cannot copy/paste vmware workstatio, pro 16

Hello

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

 

Reply
0 Kudos
1 Reply
Tomyummmm
Contributor
Contributor

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:

  1. Log out from the user in the Linux Host / Guest.
  2. Click on your user, DO NOT LOG IN.
  3. Click on the gear icon at bottom right of the screen, change to "Ubuntu on Xorg".
  4. Log in.
  5. If is a Linux Host, open VMWare Workstation Pro, restart your VMs. If is a Linux guest, just restart that VM.
  6. 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...

 

Reply
0 Kudos