Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Enabling Drag-and-Drop and Copy-and-Paste functionality on Fusion or Workstation hosted Linux VMs for open-vm-tools (74671)

Last Updated: 9/11/2019Categories: InformationalTotal Views: 17617Language:
Chinese (Simplified)JapaneseEnglish

10 like this article

Subscribe to get an email
newsletter with new updates

10 people found this helpful Please provide article feedback:

Details

This article provides information on enabling Drag-and-Drop and Copy-and-Paste functionality on Fusion or Workstation hosted Linux VMs for open-vm-tools.

Solution

Prerequisites

The OS supports fuse

The OS supports systemd >= 128 (this excludes for example SLE < 12sp2)

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

For Drag-and-Drop and Copy-and-Paste functionality, open-vm-tools needs to mount a special filesystem (vmblock-fuse). Check if this is already enabled. On OSes other than SuSE Enterprise Linux or OpenSuSE:

sudo systemctl status run-vmblock\\x2dfuse.mount

On SuSE Enterprise Linux or OpenSuSE:

sudo systemctl status vmblock-fuse.service

If the output looks similar to this:

Unit run-vmblock\x2dfuse.mount could not be found.

Then the functionality is not implemented by the OS vendor package. Make sure you have the latest version that is available installed. Otherwise ,you need to add it yourself. See the instructions below:

If this looks similar to:

run-vmblock\x2dfuse.mount - VMware vmblock fuse mount
Loaded: loaded (/usr/lib/systemd/system/run-vmblock\x2dfuse.mount; enabled; vendor preset: disabled)
Active: active (mounted) since Tue 2019-08-13 08:40:31 PDT; 2 days ago
Where: /run/vmblock-fuse
What: vmware-vmblock
Docs: https://github.com/vmware/open-vm-tools/blob/master/open-vm-tools/vmblock-fuse/design.txt
Tasks: 3 (limit: 11366)
Memory: 1.1M
CGroup: /system.slice/run-vmblock\x2dfuse.mount
└─777 vmware-vmblock-fuse /run/vmblock-fuse -o rw,subtype=vmware-vmblock,default_permissions,allow_other,dev,suid

If the location of the systemd file is in /usr/lib, then functionality has been implemented by the vendor. If it is not enabled, enable it with this command:

sudo systemctl enable run-vmblock\\x2dfuse.mount

and start with

sudo systemctl start run-vmblock\\x2dfuse.mount

Replace "run-vmblock\\x2dfuse.mount" with "vmblock-fuse.service" for SuSE Enterprise Linux or OpenSuSE.

If already logged into a GUI session, log out and then in again or reboot. Drag-and-Drop and Copy-and-Paste should be working.

If the functionality is not implemented by the OS vendor package:

Create the file /etc/systemd/system/run-vmblock\x2dfuse.mount with this content.

[Unit]
Description=VMware vmblock fuse mount
Documentation=https://github.com/vmware/open-vm-tools/blob/master/open-vm-tools/vmblock-fuse/design.txt
DefaultDependencies=no
Before=umount.target vmtoolsd.service
ConditionVirtualization=vmware
After=sys-fs-fuse-connections.mount
Wants=vmtoolsd.service

[Mount]
What=vmware-vmblock-fuse
Where=/run/vmblock-fuse
Type=fuse
Options=subtype=vmware-vmblock,default_permissions,allow_other

[Install]
WantedBy=multi-user.target

Note: be careful with that the filename is correct, because escaping of the backslash can be confusing. Use single quotes if in doubt, for example:

vi '/etc/systemd/system/run-vmblock\x2dfuse.mount'

Create the file /etc/modules-load.d/open-vm-tools-local.conf with this content:

fuse

If the file already exists, add that line to the file.

Make sure vmware-user-suid-wrapper has the suid bit set by running this command:

sudo chmod u+s /usr/bin/vmware-user-suid-wrapper

Enable the systemd service with this command:

sudo systemctl enable run-vmblock\\x2dfuse.mount

This ensures the vmblock directory will be mounted after a reboot.

Make sure the 'fuse' module is loaded with this command:

sudo modprobe -v fuse

Start the service with this command:

sudo systemctl start run-vmblock\\x2dfuse.mount

If you are already logged into a GUI session, log out and then in again, or reboot. Drag-and-Drop and Copy-and-Paste should be working.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

Result 1 of 1

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware Workstation

VMware Fusion

Related Versions:

Take Our Survey

Support Assistant