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

Copy & Paste from/to SUSE Tumblweed does not work for files - no problem with text

Open LowLevelMahn opened this issue 2 years ago • 5 comments
trafficstars

Describe the bug

using recent Up-to-date SUSE Tumbleweed + VMware Player 17(17.0.2 build-21581411) on a Win10, 32GB RAM, 8-Core Host

drag&drop of file from/to host just does nothing - nothing happens at all (Ubunut,Fedora are working more or less stable - also crashing or not working sometimes but at least enough to use it)

is there anything i can do (activate logging or something) to understand why it does not work?

my system information:

cat /etc/os-release

NAME="openSUSE Tumbleweed"
# VERSION="20231012"
ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20231012"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20231012"
BUG_REPORT_URL="https://bugzilla.opensuse.org"
SUPPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed"
LOGO="distributor-logo-Tumbleweed"

zypper install open-vm-tools open-vm-tools-desktop

output of zypper info open-vm-tools*

Loading repository data...
Reading installed packages...


Information for package open-vm-tools:
--------------------------------------
Repository     : Main Repository (OSS)
Name           : open-vm-tools
Version        : 12.3.0-3.2
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 1.8 MiB
Installed      : Yes (automatically)
Status         : up-to-date
Source package : open-vm-tools-12.3.0-3.2.src
Upstream URL   : https://github.com/vmware/open-vm-tools
Summary        : Open Virtual Machine Tools
Description    : 
    Open Virtual Machine Tools (open-vm-tools) are the open source
    implementation of VMware Tools. They are a set of guest operating
    system virtualization components that enhance performance and user
    experience of virtual machines. As virtualization technology rapidly
    becomes mainstream, each virtualization solution provider implements
    their own set of tools and utilities to supplement the guest virtual
    machine. However, most of the implementations are proprietary and are
    tied to a specific virtualization platform.

    With the Open Virtual Machine Tools project, we are hoping to solve
    this and other related problems. The tools are currently composed of
    kernel modules for Linux and user-space programs for all VMware
    supported Unix-like guest operating systems. They provide several
    useful functions like:

    * File transfer between a host and guest

    * Improved memory management and network performance under
       virtualization

    * General mechanisms and protocols for communication between host and
    guests and from guest to guest


Information for package open-vm-tools-containerinfo:
----------------------------------------------------
Repository     : Main Repository (OSS)
Name           : open-vm-tools-containerinfo
Version        : 12.3.0-3.2
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 570.1 KiB
Installed      : No
Status         : not installed
Source package : open-vm-tools-12.3.0-3.2.src
Upstream URL   : https://github.com/vmware/open-vm-tools
Summary        : Container Info Plugin
Description    : 
    This package interfaces with the container runtime to retrieve a list of containers running on a Linux guest


Information for package open-vm-tools-desktop:
----------------------------------------------
Repository     : Main Repository (OSS)
Name           : open-vm-tools-desktop
Version        : 12.3.0-3.2
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 442.9 KiB
Installed      : Yes (automatically)
Status         : up-to-date
Source package : open-vm-tools-12.3.0-3.2.src
Upstream URL   : https://github.com/vmware/open-vm-tools
Summary        : User experience components for Open Virtual Machine Tools
Description    : 
    This package contains only the user-space programs and libraries of
    open-vm-tools that are essential for improved user experience of VMware virtual
    machines.


Information for package open-vm-tools-salt-minion:
--------------------------------------------------
Repository     : Main Repository (OSS)
Name           : open-vm-tools-salt-minion
Version        : 12.3.0-3.2
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 80.9 KiB
Installed      : No
Status         : not installed
Source package : open-vm-tools-12.3.0-3.2.src
Upstream URL   : https://github.com/vmware/open-vm-tools
Summary        : Script file to install/uninstall salt-minion
Description    : 
    This package contains a script to setup Salt Minion on VMware virtual machines.


Information for package open-vm-tools-sdmp:
-------------------------------------------
Repository     : Main Repository (OSS)
Name           : open-vm-tools-sdmp
Version        : 12.3.0-3.2
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 40.7 KiB
Installed      : No
Status         : not installed
Source package : open-vm-tools-12.3.0-3.2.src
Upstream URL   : https://github.com/vmware/open-vm-tools
Summary        : Service Discovery Plugin
Description    : 
    Service Discovery Plugin

Reproduction steps

  1. install SUSE Tumbleweed on VMWare Player 17
  2. update with 'zypper dup'
  3. install open-vm-tools with zypper install open-vm-tools open-vm-tools-desktop
  4. try copy&paste files

Expected behavior

anything but nothing should happen - at least a warning or error message would help

Additional context

No response

LowLevelMahn avatar Oct 17 '23 06:10 LowLevelMahn

Please follow the following KB to enable debug log: https://kb.vmware.com/s/article/1007873 And this KB to collect the logs: https://kb.vmware.com/s/article/2032614

Please also check if the open-vm-tools service is up and running

pengzhencao avatar Oct 18 '23 09:10 pengzhencao

Please also check if the open-vm-tools service is up and running

seems so - as i wrote copy & paste of text works

ps ax | grep vmtoolsd
  1748 ?        Sl     2:48 /usr/bin/vmtoolsd -n vmusr --blockFd 3 --uinputFd 4
  4806 ?        Sl     1:41 /usr/bin/vmtoolsd

now im trying to find something in the logs

LowLevelMahn avatar Oct 18 '23 10:10 LowLevelMahn

checked it more deeply - it also "sometimes" work with file copy&paste and also text copy&paste sometimes not work

it seems to be just more unstable as under Ubuntu/Fedora (as i expirience for a long time with open vm tools) - i can instantly reproduce this behavior with freshly installed versions of Ubuntu/Fedora/Tumbleweed - i am the only one using copy&paste from a Win10 host? (that itself is more a less a fresh and clean Windows installation)

i've freshly started the Tumblweed VM and tried one-time to copy&paste a file my_test.zip.zip ca. 40,6 MB from Windows Host into Nautilus (default filemanager under Tumbleweed) ~/Downloads - nothing happend but some of the vmware log file contains the filename

vmusr.linux.log

but i can't see a warning/error or something

another question regarding tests:

is there some sort of unit/integration test available which i can run to "check" the behavior between my vm-linux and my win-host? some sort of gui-automation that copy&paste drag&drop text,files between the systems and validate the results?

LowLevelMahn avatar Oct 20 '23 07:10 LowLevelMahn

unfortunately we do not have automated suite to test for GUI copy/paste between host/guest. I'll try to reproduce this issue at my side and open bug in our engineering team side if necessary.

pengzhencao avatar Oct 23 '23 00:10 pengzhencao

I'll try to reproduce this issue at my side and open bug in our engineering team side if necessary.

anything i can help with that - clear installation description, more clear system specs of my host?

LowLevelMahn avatar Oct 23 '23 05:10 LowLevelMahn