Ubuntu Desktop Vmware Tools

0 views
Skip to first unread message

Sanna Pospicil

unread,
Aug 5, 2024, 3:13:39 AM8/5/24
to riyrdeniswer
Thisquestion does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.

I naively failed to install open-vm-tools-desktop. I say naively because I had no idea such a thing existed, nor do I understand why instructions to install open-vm-tools do not (or at least where I read them, do not) include mentions of this package.


If your VM already came with VMware Tools pre-installed, but this still isn't working for you--or if you install and still no luck--make sure you run Workstation or Player as Administrator. That fixed the issue for me.


Now to work with your vm 1. You open mremote2. You go to tools => external tools3. You click the startmyvms toolwhen you're done 1. You go to tools => external tools2. You click the stopmyvms external tool


Are you talking about drag and drop, when you say copy and paste?If yes, you can also use Rightclick on object on your main computer and click copy. And then you go into the Virtual Machine and Rightclick the position where you want the file to get copied to.


the mremote option offers more automation and almost replicates the vmware workstation graphical experience plus major benefits: NO DPI (guest resolution) hassle no copy pose hassleAutomation = starting vms and suspending them automaticallyplus more if you look deeper


A reboot of the guest does not solve the issue. A reboot of the Windows host machine does solve the issue, although it's only a temporary measure. The issue often comes back within 20-30 minutes after reboot.


Attempt to close VMWare Workstation. You will be prompted with some options on what to do with your running guests (if any are currently running): Suspend, Power Off, Run in Background, Cancel.


If running Windows on Windows, try using the VM over RDP. Should be more stable this way. I know this has no relevance to the original question, but some people may find it helpful, because this topic has poor coverage on the internet, with no good solution.


It looks like there are a number of possibilities to cause this copy/paste dropout failure between hosts, so I'll add my fix here. (And yeah, I am aware I'm using different VMWare, different host OS, and different guest OS compared to those specified in this question, but it really seems to be a vmware tools thing, so hopefully it will help some people who land on this page like I did.) Of course you have to have VMWare Tools installed -- update them first probably -- and the guest isolation options must allow copy/paste as others have mentioned.


This is working for me... for now. Of course your mileage may vary, and if you have comments on my answer please let me know. I know the "vmtoolsd.exe" used to be called something else in previous versions. Maybe its startup parameters are the same, maybe not.


The first thing you should do is determine which way is broken because they are controlled separately. If host-to-guest clipboard doesn't work but guest-to-host does then the restart vmware.exe trick in the other answers will work. However, if it happens continually then you likely have a problem in an app other than vmware.exe.


Many years ago I wrote a program to identify Windows hooks. One hook I used to find that often causes trouble with other applications is the WH_CBT hook. As it happens, today I was using VMware Workstation and the host-to-guest clipboard just wouldn't stay working more than a few seconds after run-in-background and restart. I used my program to scan the host desktop for hooks and killed all programs that used WH_CBT hooks. After that host-to-guest started working again. Through the process of elimination I've found a 100% reproducible disconnect on host-to-guest by opening Windows Firewall on the host (wf.msc which runs from mmc.exe). It sets a WH_CBT hook:


My program is called GetHooks. I never officially released a 64-bit version because I couldn't get it working with Windows 10 x64, but it can be built for 64-bit from source for older versions of Windows.


Unfortunately lots of programs set WH_CBT and not all of them do it properly, even Microsoft. The best advice I can give you for Windows 10 is if all of a sudden host-to-guest stops working repeatedly it may be some other program that you have open that set a hook that is actually the cause and NOT VMware. What you observe with VMware may actually be a symptom of more serious problem of a lazy hook in a different unrelated program.


I would say double check to see if VMWare tools are installed. If they are, maybe remove and re-install them. If that doesn't work, you can try updating the VMware workstation. VMWare 9.0 is now available!


Experienced it right now on Windows 7 64bit as Host and Guest, VMWare Workstation 9. The solution on my side: The service VMware Workstation Server was set to start manually on the host. After starting this service (and configuring it to start automatically) copy and paste worked normally again between host and guest.


In this configuration having the Remote Desktop window NOT fullscreen generally enables the clipboard to work. When it is fullscreen and I switch back and forth often that is when the clipboard will fail.


When utilizing VMware as the hypervisor, it is paramount to install VMware tools in the guest to boost virtual machine performances. Installing these tools will aid you in getting the most out of the system as it gives the machine more capabilities like automatic window resizing, shared clipboard with the host system, and drag and drop file transfer.


Another point to note is that using VMware tools helps a VMware (VM) virtual machine merge nicely with VMware hypervisor. If you install VMware tools on a virtual machine, it will directly report back to the VMware hypervisor its IP address and a lot more information like VPU usage, memory usage, disk usage, and more. This hypervisor can generate even more interesting statistical reports using the reported back data, which will, in turn, play a role in aiding you in monitoring your virtual machine easily.


These tools are split into two packages, open-vm-tools-desktop for desktop systems and open-vm-tools for headless(server) systems. It is also imperative to consider that the Open VM Tools package may, by default, be installed depending on how you provisioned the instance.


Upon running the above command, the apt-cache should be updated. However, you may find packages that need an upgrade at the end of the update command, like in our case 268, and to update the selected packages, run the following command:


In case you are an Ubuntu user using the server edition of the operating system, that is, without the graphical user interface on your virtual machine, then you can install Open VM Tools with the following command:


Installing VMware Tools on Ubuntu virtual machines is a pretty simple task as covered. VMware tools optimize the guest operating system for better and boosted performance and usabilities like drag-drop, copy-paste, and the ability to take numerous snapshots at a go. In this guide, we have covered the ideal method of installing VMware Tools. We hope it came in handy; Otherwise, keep following FOSSLinux for more guides and tips.




FOSS Linux is a leading resource for Linux enthusiasts and professionals alike. With a focus on providing the best Linux tutorials, open-source apps, news, and reviews written by team of expert authors. FOSS Linux is the go-to source for all things Linux.


These are the steps I took:

[ol]

[li]Install Ubuntu[/li]

[li]Update Ubuntu[/li]

[li]Install VMWare Tools(if required)[/li]

[li]Install OpenSSH (not required but useful)[/li]

[li]Install MySQL/PHP/PHPMyAdmin [/li]

[li]Install Java[/li]

[li]Install Ignition[/li][/ol]


Ubuntu should now boot up to the desktop. The first task is to update everything to the latest version, go to Dash Home which is the top left hand icon and search for update. Then select the Software Updater application.

1024768 400 KB


If you are running this in a virtual machine, you now want to install VMware tools.

Select Install VMWare tools from your VMWare Virtual Machine menu, this should mount the VMWare Tools cdrom.

We will do the rest from the terminal. To access the terminal goto Dash Home and type terminal then select the terminal icon.

1024768 432 KB


Next task - Install OpenSSH, this we will do from the terminal. To access the terminal goto Dash Home and type terminal then select the terminal icon.

Issue the following command to install openssh:


I think the build is going to fail as I see you are using VMWare Workstation (?) version 6.0.2.

For openSUSE 11.0 you will need the 6.0.4 version. This is because it has a very new kernel version. The same goes for Ubuntu 8.04.


@tcmchow: be careful with that (just building from source) as those actions can also make your system slow/unstable. Using RPM where you can is a better move as your system, in the long run, stays manageable (think installing, upgrading, removing).

As the RPM package manager states there would be a conflict (packages overlapping or interfering with each other) that needs to be resolved.


Just to give some more info: the vmware tools are a set of special drivers and settings for your virtual guest to make it respond quicker/better and to give extra functionality (like copy/paste between the host and the virtual guest) and automatically releasing the mouse when leaving the guest screen.


In XP check the services list to see if the vmwaretools service is set to automatically start at boot. If not set it so.

You could also try reinstalling (maybe uninstalling first) the vmware tools in the XP guest.


After powering up your VM, make sure to check out VMware vSphere to ease management and enhance your VMs capabilities. Next, tightly integrate local VM operating system integration with VMware Workstation PRO & Player!

3a8082e126
Reply all
Reply to author
Forward
0 new messages