Package Details: vmware-workstation 17.6.1-2

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: jihem
Last Packager: jihem
Votes: 202
Popularity: 2.79
First Submitted: 2017-02-10 19:04 (UTC)
Last Updated: 2024-10-11 05:17 (UTC)

Sources (22)

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

Latest Comments

« First ‹ Previous 1 .. 30 31 32 33 34 35 36 37 38 39 40 .. 66 Next › Last »

aizomul commented on 2020-03-05 12:05 (UTC) (edited on 2020-03-05 12:07 (UTC) by aizomul)

@CaskAle13c

When I run vmplayer, it runs okay until the part where I have to select the try 15 day trial.

The moment I click next, it prompts me.


==== AUTHENTICATING FOR org.freedesktop.policykit.exec ====
Authentication is needed to run `/usr/lib/vmware/bin/vmware-setup-helper' as the super user

The permissions of the files are all set to 755.

I have to sudo vmplayer in order for it to run smoothly.

CaskAle13c commented on 2020-03-05 11:54 (UTC)

@fosskers I have never needed sudo to use vmplayer. I did nothing special to make this happen. So, what happens when you try to run without sudo? I am wondering if you do not have proper permission/ownership on your vm files?

aizomul commented on 2020-03-05 07:26 (UTC)

Have you any idea how to use vmplayer without sudo?

fosskers commented on 2020-03-03 21:48 (UTC) (edited on 2020-03-04 17:30 (UTC) by fosskers)

If I force the absolute paths for cp, it progresses a bit:

DKMS make.log for vmware-workstation-15.5.1_15018445 for kernel 5.5.7-arch1-1 (x86_64)
Tue Mar  3 13:47:29 PST 2020
/usr/bin/cp -r /usr/src/vmware-workstation-15.5.1_15018445/vmmon-only vmmon-only
/usr/bin/cp -r /usr/src/vmware-workstation-15.5.1_15018445/vmnet-only vmnet-only
make KVERSION=5.5.7-arch1-1 VM_KBUILD=yes -C vmnet-only
make: make: No such file or directory
make: *** [Makefile:13: vmnet.ko] Error 127
make: *** Waiting for unfinished jobs....

make can't find itself? Hahaha


If I do the same thing for make it gets further, but...

make[2]: Entering directory '/usr/lib/modules/5.5.7-arch1-1/build'
make[2]: Entering directory '/usr/lib/modules/5.5.7-arch1-1/build'
make[2]: uname: No such file or directory
make[2]: uname: No such file or directory
make[2]: gcc: No such file or directory
make[2]: gcc: No such file or directory
  CC [M]  /var/lib/dkms/vmware-workstation/15.5.1_15018445/build/vmmon-only/linux/driver.o
gcc: fatal error: cannot execute 'cc1': execvp: No such file or directory
compilation terminated.
...

Something seems not right with how the environment is set up. Perhaps the PATH var is somehow bad?


Yes PATH seems to be completely unset within the build environment.


This diff finally made it succeed:

diff --git a/Makefile b/Makefile
index 4b58992..edc4a0a 100644
--- a/Makefile
+++ b/Makefile
@@ -10,15 +10,15 @@ MODULES = \
 all: $(foreach m, $(MODULES), $m.ko)

 %.ko: %
-       $(MAKE) KVERSION=$(KVERSION) VM_KBUILD=yes -C $*-only
+       /usr/bin/env PATH=/bin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/usr/bin/core_perl /usr/bin/make KVERSION=$(KVERSION) VM_KBUILD=yes -C $*-only

 $(MODULES): %:
-       cp -r $(SRCDIR)/$*-only $*-only
+       /usr/bin/env PATH=/bin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/usr/bin/core_perl /usr/bin/cp -r $(SRCDIR)/$*-only $*-only

 vsock.ko: vmci.ko

 clean:
-       rm -rf $(MODULES)
-       rm -rf $(foreach m, $(MODULES), $m-only)
-       rm -f  $(foreach m, $(MODULES), $m.ko)
-       rm -f  $(foreach m, $(MODULES), $m.o)
+       /usr/bin/rm -rf $(MODULES)
+       /usr/bin/rm -rf $(foreach m, $(MODULES), $m-only)
+       /usr/bin/rm -f  $(foreach m, $(MODULES), $m.ko)
+       /usr/bin/rm -f  $(foreach m, $(MODULES), $m.o)

fosskers commented on 2020-03-01 16:10 (UTC)

@jihem: Thanks for getting back to me.

Ah, you're right, this is failing to find cp here, not cp failing to find the file. Notice the difference in error messages:

cp -r /usr/src/vmware-workstation-15.5.1_15018445/vmmon-only vmmon-only
make: cp: No such file or directory

vs

colin@yumi ~> cp FOO ~/code/
cp: cannot stat 'FOO': No such file or directory

But cp is a standard command... how could it not find it? And:

colin@yumi ~> which cp
/bin/cp

jihem commented on 2020-03-01 10:09 (UTC)

@fosskers: Sorry the the late answer, I'm currently very busy. Your problem seems to be not related to my package. dkms cannot find /usr/bin/cp binary, so something is broken in your installation. You can try to investigate by manually running dkms (command "dkms build vmware-workstation/15.5.1_15018445 -k 5.5.6-arch1-1"), checking if you can use cp command in your shell...

fosskers commented on 2020-02-26 21:49 (UTC) (edited on 2020-02-26 21:51 (UTC) by fosskers)

I'm getting this issue, which seems related to recent comments:

colin@yumi ~> sudo modprobe -a vmw_vmci vmmon
modprobe: WARNING: Module vmmon not found in directory /lib/modules/5.5.6-arch1-1

Note also that dkms has an error in the post-transaction hooks stage:

colin@yumi ~> cat /var/lib/dkms/vmware-workstation/15.5.1_15018445/build/make.log
DKMS make.log for vmware-workstation-15.5.1_15018445 for kernel 5.5.6-arch1-1 (x86_64)
Wed Feb 26 13:44:01 PST 2020
cp -r /usr/src/vmware-workstation-15.5.1_15018445/vmmon-only vmmon-only
make: cp: No such file or directory
make: *** [Makefile:16: vmmon] Error 127

I had linux-headers installed already before I attempted this build. Does this ring a bell?

jihem commented on 2020-02-10 17:36 (UTC)

@grunix: I added the step of installing headers package in the pinned comment.

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

grunix commented on 2020-02-09 18:41 (UTC)

@friday: what's about a warning if the headers of to the running kernel are not installed to the system? (Or at least a sticky comment here) This will save every new user >=10 minutes...