VMware Fusion / Workstation Clipboard
Â
Sometimes the clipboard stops sync’ing between guest ↔︎ host and the other way around.
Restart vmtoolsd (Linux guest)
Check guest utilities.
/etc/init.d/open-vm-tools status
Re-init the gust tools:
processString=$(ps -ef | grep '[0-9][0-9]:[0-9][0-9]:[0-9][0-9] /usr/bin/vmtoolsd -n vmusr') # get process info for vmtoolsd
tokens=( $processString ) # tokenize
kill "${tokens[1]}" # grab pid and kill it
/usr/bin/vmtoolsd -n vmusr & > /dev/null 2>&1 # restart vmtoolsd
or
/usr/bin/vmware-user-suid-wrapper
Restart vmtoolsd (Windows guest)
net.exe stop vmtools
taskkill /F /IM vmtoolsd.exe
net.exe start vmtools
start "" "C:\Program Files\VMware\VMware Tools\vmtoolsd.exe" "-n" "vmusr"