1

I explore Linux by installing and configuring it from scratch (i.e. no gui, bare terminal). I installed only xorg, i3, gnome-terminal and few other utilities. Besides, I've installed open-vm-tools to enable VMware host-guest copy/paste feature. Unfortunately, it did not work. Then I installed gnome and it suddenly started to work! What magic does gnome and other DEs use to enable host-guest copy/paste? I want that feature without installing whole desktop environment.

2 Answers 2

1

If you're using a Debian-related distribution, installing Gnome probably brought in the libraries the open-vm-tools-desktop package depends on... and since open-vm-tools suggests open-vm-tools-desktop, it probably got installed alongside Gnome as soon as its dependencies were satisfied.

You could have told the package manager to install just open-vm-tools-desktop (plus its dependencies of course) to get a truly minimal set of packages, instead of the whole gnome metapackage.

open-vm-tools-desktop contains the libdndcp.so plug-in to open-vm-tools, and that plug-in handles the host-guest copy/paste operations.

3
  • Not so easy. I've installed open-vm-tools-desktop and clipit. I'm able to copy lines from i3 default terminal to primary buffer and see the content via clipit -p. But there is no communication with host buffer. Finally, gdk3 and gnome-session together are about 500Mb - the payment for Host-to-guest communication Commented Dec 28, 2019 at 23:10
  • And you're right, I'm using debian 10 CLI package Commented Dec 28, 2019 at 23:12
  • For Debian11, I had to install open-vm-tools-desktop and clipit plus its depencies too (another 100MB of packages). Commented Jan 13, 2022 at 12:09
1

Quite accidentally, I've bumped into this post. And after executing vmware-user-suid-wrapper host-guest copy&paste started to work! So, It looks like all is ok, but this feature is not turned on automatically. Really strange, isn't it?

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.