Page 2 of 2

Re: VMware player installation failed on proteus kiosk 3.0

Posted: 13 May 2014, 14:22
by fanthom
moving thread out of the kiosk section of the forum as it belongs to desktop edition.

Re: [SOLVED] VMware player installation failed on proteus 3.

Posted: 13 May 2014, 20:04
by apost
well, I coded the command to application autostart but nothing happened. Still the first time after reboot virtual machine could not be loaded with the message that /dev/vmmon module was not found. But after giving the command from the terminal all was OK. Contents of autostart for VMware are as shown below:

guest@porteus:~/.config/autostart$ ls -la
total 13
drwxr-xr-x 2 guest guest 4096 May 13 22:58 ./
drwxr-xr-x 16 guest guest 4096 May 13 22:25 ../
-rw-r--r-- 1 guest guest 255 May 13 22:58 VMware.desktop
-rw-r--r-- 1 guest guest 273 Jun 26 2012 hide\ unwanted\ desktop\ icons.desktop
-rw-r--r-- 1 guest guest 201 Nov 12 2012 volumeicon.desktop
guest@porteus:~/.config/autostart$ pwd
/home/guest/.config/autostart
guest@porteus:~/.config/autostart$ cat VMware.desktop
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=VMware
Comment=VMware
Exec=sudo vmware-modconfig --console --install-all --appname="VMware Player" --icon="vmware-player"
OnlyShowIn=XFCE;
StartupNotify=false
Terminal=false
Hidden=false

guest@porteus:~/.config/autostart$

As for copy2ram, although the system is fast (very fast) when loading vm gets slower and slower so I deleted this parameter from boot. Anyway, vmware works one way or another so it is no need to pursue this further. Just for the sake of completeness I would like to have it working without giving any command at all after a restart.

Re: [SOLVED] VMware player installation failed on proteus 3.

Posted: 13 May 2014, 21:23
by apost
UPDATE

A bypass was to add the command to /usr/bin/vmplayer script that is used to start vmplayer:

#if "$BINDIR"/vmware-modconfig --appname="VMware Player" --icon="vmware-player" && <-- original line
if "$BINDIR"/vmware-modconfig --console --install-all --appname="VMware Player" --icon="vmware-player" && <--addition

Now vmplayer starts and builds the modules each time.

...but it has to be executed using the shell script /usr/bin/./vmplayer