open-vm-tools icon indicating copy to clipboard operation
open-vm-tools copied to clipboard

Copying text to the host from (pure) Wayland clients doesn't work on Fedora 32

Open eleses opened this issue 5 years ago • 11 comments

Since Fedora 31, Qt Wayland is on by default, meaning that Qt apps on Fedora 31+ don't use xcb anymore by default. Alas open-vm-tools seems to only work on xcb clients when it come to copying text of them.

On Fedora 32, if I start a Qt app (e.g. qjackctl) with the default settings, then I cannot copy out text of it to the VMware host (copying inside the VM from one app to another works fine still), but if I start the app with QT_QPA_PLATFORM=xcb which forces Xwayland fallback in Qt, then it does work to copy out from the (Qt X11) app to the VM host.

I also see that

$ xlsclients 
localhost.localdomain  ibus-x11
localhost.localdomain  vmware-user
localhost.localdomain  gsd-xsettings
localhost.localdomain  gnome-shell

which suggest that the vmware tools only run under Xwayland.

A bit more googling suggests that this is a known issue; https://kb.vmware.com/s/article/74671

Note that Drag-and-Drop and Copy-and-Paste is currently not working with Wayland. Log in with an X11 session instead.

eleses avatar Jun 26 '20 07:06 eleses

Yes, this is a known issue. Wayland support is currently under development.

dsouders avatar Jun 29 '20 14:06 dsouders

Is there any status update on this issue? :)

cmprmsd avatar Dec 17 '21 21:12 cmprmsd

This Issue is older than 2 yaears now! any news?

BenjaminQuandt avatar Oct 26 '22 13:10 BenjaminQuandt

Text works on my Kubuntu machine with Wayland, but images do not.

Nantris avatar Nov 02 '22 20:11 Nantris

I run it with my Manjaro. For now i found a workaround to be able to work. sadly without wayland. Manjaro has the option to switch on x11 on the bootscreen. Here I still have problems. But if i boot in my Manjaro with x11 and execute vmware-user i can use full c&p mounts and so on till i restart. The downside is i have to run the vmware-user on every restart and i cant put it in ausostart. Also i had to enable a service that was disabled by default. It looks like there are stange gtk calls in the background that let u run the stuff.

Anyways i still wait fur a functional wayland integration. But i don't have high hopes for that. I guess a lot of stuff has to be written new for that. Some Informations from the devs would be helpfull here. even if it is a "it will take at least..." or a "we will not support it".

BenjaminQuandt avatar Nov 02 '22 20:11 BenjaminQuandt

I use copyQ which kind of works. You have to move the mouse to the GUI of VMware first and then move it to Wayland native windows. That works on Sway at least. If you move the mouse to fast, X has no time to sync the clipboard, which causes the sync to the Wayland clipboard to fail.

VMware should just allow for a Wayland native GUI. That would work wonders.

cmprmsd avatar Nov 02 '22 20:11 cmprmsd

The downside is i have to run the vmware-user on every restart and i cant put it in ausostart.

Same here with Kubuntu 22.04 and above. See #568.

Nantris avatar Nov 02 '22 20:11 Nantris

2023-5 archlinux still have this problem

heheda123123 avatar May 06 '23 14:05 heheda123123

now. 2024-11 archlinux still have this problem

nzlov avatar Nov 07 '24 05:11 nzlov

virtualbox has now fixed this problem and supports copying in wayland

heheda123123 avatar Nov 07 '24 06:11 heheda123123

Sadly commercial licenses for Virtualbox extensions come in 100+ packs. Thank you Oracle for not providing single seat licenses. 😢

cmprmsd avatar Nov 07 '24 06:11 cmprmsd