Fix CentOS VM clipboard problem on VMware


I had an issue in which I couldn’t copy/paste from the host to my Centos VM but the other way around worked. To fix this issue you can try one of the following methods:

  • Reinstall VMtools:

Mount the cd drom

mount /dev/cdrom /mnt/cdrom/
cd /mnt/cdrom/

Copy the installation archive to a location you desire

cp VMwareTools-9.6.0-1294478.tar.gz /home/dpopescu/

Extract the archieve content

gunzip VMwareTools-9.6.0-1294478.tar.gz

tar xvf VMwareTools-9.6.0-1294478.tar

Execute the vmware-install.pl script:

cd vmware-tools-distrib/

./vmware-install.pl

 

  • Disable/Enable clipboard from VMware Workstation menu

First disable the host clipboard by navigating to VM / Settings / Options / Guest Isolation

Uncheck the two options available: Enable drag and drop, Enable copy and paste and click OK

Power off the virtual machine

Now enable the clipboard by checking the Enable drag and drop and Enable copy and paste options from VM / Settings / Options / Guest Isolation menu

Power on the virtual machine

By applying these methods the clipboard should start working again.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s