[SOLVED] VMware player installation failed on proteus 3.0

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: VMware player installation failed on proteus kiosk 3.0

Post#16 by fanthom » 13 May 2014, 14:22

moving thread out of the kiosk section of the forum as it belongs to desktop edition.
Please add [Solved] to your thread title if the solution was found.

apost
White ninja
White ninja
Posts: 10
Joined: 11 May 2014, 20:47
Distribution: Porteus-v3.0 Xfce
Location: Athens, Greece

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

Post#17 by apost » 13 May 2014, 20:04

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.

apost
White ninja
White ninja
Posts: 10
Joined: 11 May 2014, 20:47
Distribution: Porteus-v3.0 Xfce
Location: Athens, Greece

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

Post#18 by apost » 13 May 2014, 21:23

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

Post Reply