How to install VMWARE-Player under Linpus?

Discussion in 'Acer Aspire One' started by gerhardh, Aug 27, 2008.

  1. gerhardh

    gerhardh

    Joined:
    Aug 27, 2008
    Messages:
    8
    Likes Received:
    0
    Hi Folks!

    I have tried to install the newest VMWARE-Player but without luck. I have installed all the required packages like make and gcc but when I run the vmware-config.pl script I keep getting this error:

    [user@localhost ~]$ vmware-config.pl
    Please re-run this program as the super user.

    Execution aborted.

    [user@localhost ~]$ sudo vmware-config.pl
    Making sure services for VMware Player are stopped.

    Stopping VMware services:
    Virtual machine monitor [ OK ]

    Configuring fallback GTK+ 2.4 libraries.

    In which directory do you want to install the theme icons?
    [/usr/share/icons]

    What directory contains your desktop menu entry files? These files have a
    .desktop file extension. [/usr/share/applications]

    In which directory do you want to install the application's icon?
    [/usr/share/pixmaps]

    Trying to find a suitable vmmon module for your running kernel.

    None of the pre-built vmmon modules for VMware Player is suitable for your
    running kernel. Do you want this program to try to build the vmmon module for
    your system (you need to have a C compiler installed on your system)? [yes]

    Using compiler "/usr/bin/gcc". Use environment variable CC to override.

    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include] /usr/src/kernels/2.6.25.14-69.fc8-i686/include

    The directory of kernel headers (version 2.6.25.14-69.fc8) does not match your
    running kernel (version 2.6.23.9lw). Even if the module were to compile
    successfully, it would not load into the running kernel.

    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]


    So I am lost at this point. I just can not figure out what is going on. Could anyone please take care about this problem? I am sure I am not the only one wanting to have VMWARE running but I did not find anything helpful out there yet.

    Chers
    Gerhard
     
    gerhardh, Aug 27, 2008
    #1
  2. gerhardh

    sideways

    Joined:
    Aug 21, 2008
    Messages:
    172
    Likes Received:
    0
    Follow step 2,3 and 4 in this thread viewtopic.php?f=39&t=1993

    Then, when the VMware config asks for the location of the C header files matching your kernel, type this:

    /usr/src/linux-2.6.23-9lw/include

    (If there are still errors you may need the vmware-any-any script, post back if you still have issues)
     
    sideways, Aug 27, 2008
    #2
  3. gerhardh

    N6546R

    Joined:
    Aug 27, 2008
    Messages:
    126
    Likes Received:
    0
    Sounds like you don't have the header files for your linux kernel.

    sudo apt-get install linux-header-$(uname -r)

    Then try the VMWare build again.

    Perry
     
    N6546R, Aug 27, 2008
    #3
  4. gerhardh

    gerhardh

    Joined:
    Aug 27, 2008
    Messages:
    8
    Likes Received:
    0
    Hi again !
    @sideways: Did what you recommended and the outcome was this:

    [user@localhost ~]$ sudo vmware-config.pl
    Making sure services for VMware Player are stopped.

    Stopping VMware services:
    Virtual machine monitor [ OK ]

    Configuring fallback GTK+ 2.4 libraries.

    In which directory do you want to install the theme icons?
    [/usr/share/icons]

    What directory contains your desktop menu entry files? These files have a
    .desktop file extension. [/usr/share/applications]

    In which directory do you want to install the application's icon?
    [/usr/share/pixmaps]

    Trying to find a suitable vmmon module for your running kernel.

    None of the pre-built vmmon modules for VMware Player is suitable for your
    running kernel. Do you want this program to try to build the vmmon module for
    your system (you need to have a C compiler installed on your system)? [yes]

    Using compiler "/usr/bin/gcc". Use environment variable CC to override.

    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include] /usr/src/linux-2.6.23.9lw/include

    The path "/usr/src/linux-2.6.23.9lw/include" is a kernel header file directory,
    but it does not contain the file "linux/version.h" as expected. This can
    happen if the kernel has never been built, or if you have invoked the "make
    mrproper" command in your kernel directory. In any case, you may want to
    rebuild your kernel.

    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]

    So it seems I am a bit closer to the solution but still it refuses to work. What is my Linux going to tell me ???
    I am sorry to bother you again but maybe you could help again?

    Cheers

    Gerhard
     
    gerhardh, Aug 27, 2008
    #4
  5. gerhardh

    gerhardh

    Joined:
    Aug 27, 2008
    Messages:
    8
    Likes Received:
    0
    Hi!

    Also tried the hint from N6546R:

    [user@localhost ~]$ sudo apt-get install linux-header-$(uname -r)
    sudo: apt-get: command not found
    [user@localhost ~]$

    I am not sure but is "apt" included into Linpus by default?

    Cheers

    Gerhard
     
    gerhardh, Aug 27, 2008
    #5
  6. gerhardh

    sideways

    Joined:
    Aug 21, 2008
    Messages:
    172
    Likes Received:
    0
    ok, looks like you have to run the actual kernel compile, it only takes ~ 10 minutes. Do step 5 in the kernel customisation instructions to copy the config file and then just type:
    Code:
    sudo make
    Don't bother with any other steps.

    Then try the vmware config again
     
    sideways, Aug 28, 2008
    #6
  7. gerhardh

    gerhardh

    Joined:
    Aug 27, 2008
    Messages:
    8
    Likes Received:
    0
    Hi again!

    Did what sideways recommended and basically it was a success. Well, basically, because every time after restarting the box, Vmware-player is complaining about vmmon and I have to run the vmware-config.pl again to make the player working. Seems that something isn`t stored to disk ???? Well, anyways, I can live with that. Thanks a lot for your help.

    I just ran into another problem with the WLAN: I configured an automatic connection to my WLAN-Router but every time after reboot, the connection managers opens (automatically) and demands the passphrase in order to have access. Should not the passphrase be stored and used for connection automatically?

    Cheers

    Gerhard
     
    gerhardh, Aug 29, 2008
    #7
  8. gerhardh

    gerhardh

    Joined:
    Aug 27, 2008
    Messages:
    8
    Likes Received:
    0
    Error of Vmware-Player after each restart in detail:

    Could not open /dev/vmmon: No such file or directory.
    Please make sure that the kernel module `vmmon' is loaded.

    After running vmware-config.pl it works perfectly.

    Greetings

    Gerhard
     
    gerhardh, Aug 29, 2008
    #8
  9. gerhardh

    sideways

    Joined:
    Aug 21, 2008
    Messages:
    172
    Likes Received:
    0
    instead of rerunning vmware-config.pl try typing 'sudo modprobe vmmon'

    If that works, then add 'modprobe vmmon' to the end of /etc/rc.local and it will be loaded automatically on each boot.
     
    sideways, Aug 29, 2008
    #9
  10. gerhardh

    sideways

    Joined:
    Aug 21, 2008
    Messages:
    172
    Likes Received:
    0
    edit the file /etc/rc.d/slim/nowait.sh and change the line '/usr/bin/nm-applet &' to
    Code:
    sudo /usr/bin/nm-applet &
    Reboot and enter the passphrase again, after this it should be remembered.
     
    sideways, Aug 29, 2008
    #10
  11. gerhardh

    Ferpunt

    Joined:
    Aug 22, 2008
    Messages:
    1
    Likes Received:
    0
    Hey there,

    I've been browsing the forum since I purchased my brand new AAO. Great tips!

    I'm stuck trying to install VMWare Player on it. Followed the instructions on this post, no errors compiling or configuring, but when I try to run /usr/bin/vmplayer at the end of vmware-config.pl, it keeps telling me that the product has not been properly configured and that I should run (again) vmware-config.pl.

    Any ideas will be greatly appreciated.

    Cheers.
     
    Ferpunt, Aug 30, 2008
    #11
  12. gerhardh

    gerhardh

    Joined:
    Aug 27, 2008
    Messages:
    8
    Likes Received:
    0
    Hello !

    Many thanks to all of you, especially to sideways. Everything works perfectly now. Vmware starts flawlessly and also the passphrase is remembered. I was considering to change to Ubuntu, (which I run on my desktop and which is more easily to configure) but meanwhile I think I will keep Linpus. It is unbeatable regarding the boot time. Thanks a lot for your quick and uncomplicated help.

    Cheers

    Gerhard
     
    gerhardh, Aug 30, 2008
    #12
  13. gerhardh

    sombrero

    Joined:
    Aug 6, 2008
    Messages:
    35
    Likes Received:
    0
    I followed all the instructions and installed VMware-Player successfully with bridged networking and NAT.
    But unfortunately after next reboot vmnet0 and vmnet8 in /dev are deleted and I have to run vmware-config.pl again to reinstall them.
    Any ideas how to prevent this?
     
    sombrero, Sep 9, 2008
    #13
  14. gerhardh

    sombrero

    Joined:
    Aug 6, 2008
    Messages:
    35
    Likes Received:
    0
    SOLVED!
    Instead of adding "modprobe vmmon" I added "/etc/rc.d/init.d/vmware restart" to /etc/rc.local.
    This starts the init-script for vmware after booting and loads vmmon, vmnet0, vmnet1 and vmnet8 to /dev.
    There is one drawback though: some 5 seconds are added to boot time ;-)
     
    sombrero, Sep 10, 2008
    #14
  15. gerhardh

    jonglee25

    Joined:
    Sep 12, 2008
    Messages:
    10
    Likes Received:
    0
    I installed windows xp on the vmplayer in aa1. It works pretty darn well. Anyone else tried it?

    j.
     
    jonglee25, Sep 12, 2008
    #15
  16. gerhardh

    gerhardh

    Joined:
    Aug 27, 2008
    Messages:
    8
    Likes Received:
    0
    Hi !

    Yes, I´m also running XP under Vmware because I need some special software (Siemens/Alcatel clients to manage transmission equipment) in my job and this software is only available under Windoof. Compared to my IBM notebook (M41 or similar) which I got from my company, Vmware even starts quicker on the AA1 and is working without any problems. At least it´s working the same way if not better.

    Thanks and

    Cheers

    Gerhard
     
    gerhardh, Sep 15, 2008
    #16
  17. gerhardh

    funmonkee

    Joined:
    Sep 18, 2008
    Messages:
    3
    Likes Received:
    0
    Hi there,

    I'm trying to follow the instructions in this thread, but I get stuck at the following. Any idea what I can do to solve this please?

    ......
    Code:
    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include] /usr/src/linux-2.6.23.91w/include      
    
    The directory of kernel headers (version 2.6.23.9) does not match your running 
    kernel (version 2.6.23.9lw).  Even if the module were to compile successfully, 
    it would not load into the running kernel.
    
    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include] 
    .....

    Thanks
     
    funmonkee, Sep 28, 2008
    #17
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.