Thank you jihem.
Search Criteria
Package Details: vmware-workstation 17.6.2-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/vmware-workstation.git (read-only, click to copy) |
---|---|
Package Base: | vmware-workstation |
Description: | The industry standard for running multiple operating systems as virtual machines on a single Linux PC. |
Upstream URL: | https://www.vmware.com/products/workstation-for-linux.html |
Keywords: | dkms ovftool player vmplayer vmware workstation |
Licenses: | custom |
Conflicts: | vmware-modules-dkms, vmware-ovftool, vmware-patch, vmware-systemd-services |
Provides: | vmware-ovftool |
Submitter: | synthead |
Maintainer: | JulianXhokaxhiu |
Last Packager: | jihem |
Votes: | 207 |
Popularity: | 3.54 |
First Submitted: | 2017-02-10 19:04 (UTC) |
Last Updated: | 2024-12-20 10:44 (UTC) |
Dependencies (13)
- dkms (dkms-gitAUR)
- fuse2
- gcr
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- gtkmm3
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libaio (libaio-gitAUR)
- libcanberra
- libxcrypt-compat
- pcsclite (pcsclite-gitAUR)
- vmware-keymapsAUR
- sqlite (sqlite-fossilAUR) (make)
- linux-headers (optional) – build modules against Arch kernel
Required by (6)
Sources (22)
- config
- configure-initscript.sh
- dkms.conf.in
- https://softwareupdate.vmware.com/cds/vmw-desktop/ws/17.5.2/23775571/linux/packages/vmware-tools-linux-12.4.0-23259341.x86_64.component.tar
- https://softwareupdate.vmware.com/cds/vmw-desktop/ws/17.5.2/23775571/linux/packages/vmware-tools-linuxPreGlibc25-12.4.0-23259341.x86_64.component.tar
- https://softwareupdate.vmware.com/cds/vmw-desktop/ws/17.5.2/23775571/linux/packages/vmware-tools-netware-12.4.0-23259341.x86_64.component.tar
- https://softwareupdate.vmware.com/cds/vmw-desktop/ws/17.5.2/23775571/linux/packages/vmware-tools-solaris-12.4.0-23259341.x86_64.component.tar
- https://softwareupdate.vmware.com/cds/vmw-desktop/ws/17.5.2/23775571/linux/packages/vmware-tools-winPre2k-12.4.0-23259341.x86_64.component.tar
- https://softwareupdate.vmware.com/cds/vmw-desktop/ws/17.5.2/23775571/linux/packages/vmware-tools-winPreVista-12.4.0-23259341.x86_64.component.tar
- https://softwareupdate.vmware.com/cds/vmw-desktop/ws/17.6.2/24409262/linux/core/VMware-Workstation-17.6.2-24409262.x86_64.bundle.tar
- Makefile
- vmmon.patch
- vmnet.patch
- vmware-bootstrap
- vmware-environment.sh
- vmware-networks-configuration.service
- vmware-networks.path
- vmware-networks.service
- vmware-tools-windows-12.4.5-23787635-17.6.2.x86_64.component.tar
- vmware-usbarbitrator.path
- vmware-usbarbitrator.service
- vmware-vix-bootstrap
Latest Comments
« First ‹ Previous 1 .. 21 22 23 24 25 26 27 28 29 30 31 .. 67 Next › Last »
arcman commented on 2021-06-20 09:38 (UTC)
jihem commented on 2021-06-20 04:51 (UTC) (edited on 2021-06-20 04:51 (UTC) by jihem)
You simply need to do systemctl disable --now vmware-networks.service && systemctl enable --now vmware-networks.path
. After that the service will be launched only when a VM is started. Unfortunately it is not a perfect solution because the service won't be stopped when the VM is shutdown.
arcman commented on 2021-06-20 00:30 (UTC) (edited on 2021-06-20 00:31 (UTC) by arcman)
would someone care to explain how do i implement this new .path units solution?
when i first installed vmware,i ran systemctl enable vmware-networks.service
and now i can see i have vmnet processes running even though Vmware is closed.
so how can i have them start only when a vm is launched?
jihem commented on 2021-06-19 13:27 (UTC) (edited on 2021-06-19 13:27 (UTC) by jihem)
@idanyadgar I've tested with the official VMware installer on Fedora 34, same problem (with similar logs). Probably a new library version that break something. I won't investigate more time because it's not a packaging problem, but if you find a workaround I can try to implement it.
jihem commented on 2021-06-19 13:20 (UTC)
@class101 Thanks, it's implemented, juste a little bit differently.
I still let the possibility to launch services at boot time (and of course, to keep them completely disabled, because I totally agree with crdx).
Det commented on 2021-06-15 12:27 (UTC)
@class101, Great response.
idanyadgar commented on 2021-06-12 21:03 (UTC) (edited on 2021-06-12 21:28 (UTC) by idanyadgar)
Power management endpoints in the REST API don't work.
vmrest -d
curl 'http://127.0.0.1:8697/api/vms/C3Q6N31L9CCLTL82I1VJ0DAL9PVL89L6/power' -X GET --header 'Accept: application/vnd.vmware.vmw.rest-v1+json' --header 'Authorization: Basic ENTER_TOKEN_HERE'
And I get: { "power_state": "poweredOff" }
(And the machine is powered on)
Changing the VM power state (to on or suspended) also does not work (I believe it is because the VM is considered off although it isn't).
This API works under other distros.
Thread in VMWare's forums: https://communities.vmware.com/t5/VMware-Workstation-Pro/REST-API-power-management-machines-are-always-off/m-p/2852406
class101 commented on 2021-06-10 12:48 (UTC) (edited on 2021-06-10 12:54 (UTC) by class101)
@crdx
Not every changes in my patch are to consider, I guess you mean about the changes I have added into the .install file, they are much for me here because I prefer to have the thing setup the way I want without much tinkering needed after installing the package, when installing a package from Arch Linux, I exxpect the package to do all the necessary things for the package to work properly, if the package tell me, do X to enable X, do Y to enable Y, I don't think it is either the Arch Way.
The improvment proposal is much about replacing the procedure that is to ask the user to enable .service
, you could instead ask the user to enable .path
files, that way, the service will only start on-demand when they are needed, instead of providing the only solution which is actually to startup the service permanently and forget about it.
crdx commented on 2021-06-09 20:43 (UTC) (edited on 2021-06-09 20:50 (UTC) by crdx)
Isn't it the arch way never to start services automatically on install, and leave it up to the user to decide if they want to start them or not?
class101 commented on 2021-06-09 09:56 (UTC) (edited on 2021-06-09 10:38 (UTC) by class101)
Security vulnerability ? Doubt it, systemd is a robust core component of Linux and services are root started, not user started.
As you see here[1] there are 11 type of unit files and each can be used to implement on-demand starting of services, as well as parallelized starting of services.[2]
I think the correct type of unit
for vmware workstation is .path
[3], socket is not suitable in here because the application must be aware of the socket to connect to to trigger the on-demand load.
It does a few days I'm testing this and it works flawlessy, I made a patch so you can experiment the complete suite quickly, basically after applying the patch and rebuilding the package, the vmware-networks
and vmware-usbarbitrator
services will only start after hitting play
on a virtual machine.
https://gist.github.com/class101/8ecb2c6dc8ebb7428a01eb56b2c5f9c5
I don't think it is necessary to implement the stop, it seems outside the scope of the unit files, maybe there is something possible to do with the PathChanged=
statement as it seem to trigger on file closed, well I've not tested this yet, I'm just doing a bash alias as the following one in /etc/bash.bashrc
, but if someone find a proper way to implement the stop, feel free to share :)
alias vmware-stop='systemctl stop vmware-usbarbitrator.service vmware-networks.service'
Let me know if you have any more questions, you are welcome :)
[1] https://www.freedesktop.org/software/systemd/man/systemd.html
[2] https://www.freedesktop.org/software/systemd/man/systemd.socket.html
[3] https://www.freedesktop.org/software/systemd/man/systemd.path.html
Pinned Comments
jihem commented on 2020-02-10 17:29 (UTC) (edited on 2021-06-19 13:19 (UTC) by jihem)
After the first installation, please:
1) install the appropriate headers package(s) for your installed kernel(s): linux-headers for default kernel, linux-lts-headers for LTS kernel...
2) reboot or load vmw_vmci and vmmon kernel modules (modprobe -a vmw_vmci vmmon)
3) Enable the services you need (using .service units to activate them during boot or .path units to activate them when a VM is started) :
vmware-networks: to have network access inside VMs
vmware-usbarbitrator: to connect USB devices inside VMs