PDA

View Full Version : HowTo: Windows (XP) on Ubuntu with VMWare Server


Pages : 1 2 3 [4] 5 6

rhino_harley
January 16th, 2007, 05:39 PM
Working at last. I hava a SATA drive, but for some reason windows sees it as an IDE drive, whereas linux sees it is a SATA drive. To fix this I had to manually edit my .vmdk file to:

ddb.adapterType = "ide"

and my .vmx file to sche all instances of scsi0 to ide0. Voila, windows is running. Only problem I have now is that I can't fullscreen windows at my full resolution (1920x1440), but I can live with that.

Alceal
January 17th, 2007, 08:47 AM
I've got this problem:

Extracting the sources of the vmnet module.

Building the vmnet module.

Using 2.6.x kernel build system.
make: se ingresa al directorio `/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.17-10-386/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: se ingresa al directorio `/usr/src/linux-headers-2.6.17-10-386'
CC [M] /tmp/vmware-config0/vmnet-only/driver.o
CC [M] /tmp/vmware-config0/vmnet-only/hub.o
CC [M] /tmp/vmware-config0/vmnet-only/userif.o
CC [M] /tmp/vmware-config0/vmnet-only/netif.o
CC [M] /tmp/vmware-config0/vmnet-only/bridge.o
CC [M] /tmp/vmware-config0/vmnet-only/procfs.o
CC [M] /tmp/vmware-config0/vmnet-only/smac_compat.o
SHIPPED /tmp/vmware-config0/vmnet-only/smac_linux.x386.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.o
Building modules, stage 2.
MODPOST
WARNING: could not find /tmp/vmware-config0/vmnet-only/.smac_linux.x386.o.cmd for /tmp/vmware-config0/vmnet-only/smac_linux.x386.o
CC /tmp/vmware-config0/vmnet-only/vmnet.mod.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: se sale del directorio `/usr/src/linux-headers-2.6.17-10-386'
cp -f vmnet.ko ./../vmnet.o
make: se sale del directorio `/tmp/vmware-config0/vmnet-only'
Unable to make a vmnet module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config0/vmnet.o': -1 File exists
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel. You may want to
rebuild a kernel based on that directory, or specify another directory.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

icehammer
January 17th, 2007, 10:58 AM
I did everything as shown in the guide above.. windows installed, and sound and all is working fine.. but i can't see my other drives!!! how am i supposed to install my software?? it only shows C:, D: [cd] ... what did i do wrong?? what to do now?

icehammer
January 17th, 2007, 11:57 AM
i did sudo -i to make myself a root, then added a physical drive to the virtual drive.. it added, but when i power on (even as root), it says i don't have permissions.. why??

Thinh
January 18th, 2007, 12:33 PM
Everyting seems to be working but the only thing is it runs really slow, it has been taking over 1 hours to install windows is this right and what is the good size for memory. I increased it to the maximum recommend and it seems to run slower now than the 256 which it was defaulted too.

i choose ntfs when i format the format does that have anything to do why it i so slow for me?
does this image act as a folder so if i want something to show up in windows just go in the folder and add a new folder?

techstop
January 18th, 2007, 05:49 PM
Everyting seems to be working but the only thing is it runs really slow, it has been taking over 1 hours to install windows is this right and what is the good size for memory. I increased it to the maximum recommend and it seems to run slower now than the 256 which it was defaulted too.

i choose ntfs when i format the format does that have anything to do why it i so slow for me?
does this image act as a folder so if i want something to show up in windows just go in the folder and add a new folder?

How much memory does your host OS have? You need to have enough to run both your host (Linux) and the guest (Windows). I have 1GB RAM and I've allocated 512MB to Windows guest OS. It's still a little sluggish. If you have anything less than 1GB I'd imagine that it would be very slow indeed. If you have allocated more than 512MB and you have 1GB of Linux memory, then there would be a lot of hard drive thrashing as virtual memory gets used. Is your hard drive activity light constantly on?

gvoima
January 19th, 2007, 05:50 AM
Well I've got some problems too with it being slow, but if you're using a laptop or have frequency scaling there is slowdowns with that. It's a known problem and you should disable it.
But even that didn't help with me, on my home computer it runs beautifully, I have 1280megs of memory and allocate 512 to the VM. The same that I have on my home machine.

Thinh
January 19th, 2007, 09:56 AM
I have 2g of ddr2 on my laptop I have a Dell precision M70. Windows seems to work fine but the maximazing and minimazing is very sluggish for some reason. Which is a better approach use the 2g divided partion or use the whole predetermine hd set. Also is there any performance gain if you can work it with sata instead of ata. I have sata on my machine but when i try to install it under sata windows doest recognize it even thought it does recognize it on a stand alone installation of windows. to be honest the only software my work required to use windows is ms access other than that i would have trash windows long time ago
i am trying to get away from dual booting.

depele
January 19th, 2007, 11:42 AM
when I :
depele@Kubuntu:~$ vmware
I get
X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device


I have been looking around but didn't find a lot

thanks.

Enverex
January 19th, 2007, 11:54 AM
Just incase anyone is still following this I have to recommend VirtualBox above VMWare, the performance is much better (really was supprised, I was expecting VB to be a bit slower).

Hanzerik
January 19th, 2007, 11:59 AM
Don't know if it has been mentioned yet, but you can just use VMWare Player and qemu to install Windows on the same machine, without having to install and configure the VMWare Server package.

Doug11
January 20th, 2007, 12:22 PM
I keep getting this error when I try to do the config after a kernel upgrade,,


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

None of the pre-built vmmon modules for VMware Server 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? [/lib/modules/2.6.19.1/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config9/vmmon-only'
make -C /lib/modules/2.6.19.1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.19'
CC [M] /tmp/vmware-config9/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config9/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config9/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config9/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config9/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config9/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config9/vmmon-only/common/task.o
CC [M] /tmp/vmware-config9/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config9/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-config9/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-config9/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config9/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-2.6.19'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config9/vmmon-only'
The module loads perfectly in the running kernel.

This program previously created the file /dev/vmmon, and was about to remove
it. Somebody else apparently did it already.

You have already setup networking.

Would you like to skip networking setup and keep your old settings as they are?
(yes/no) [yes]

Extracting the sources of the vmnet module.

Building the vmnet module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config9/vmnet-only'
make -C /lib/modules/2.6.19.1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.19'
CC [M] /tmp/vmware-config9/vmnet-only/driver.o
CC [M] /tmp/vmware-config9/vmnet-only/hub.o
CC [M] /tmp/vmware-config9/vmnet-only/userif.o
/tmp/vmware-config9/vmnet-only/userif.c: In function ‘VNetCopyDatagramToUser’:
/tmp/vmware-config9/vmnet-only/userif.c:629: error: ‘CHECKSUM_HW’ undeclared (first use in this function)
/tmp/vmware-config9/vmnet-only/userif.c:629: error: (Each undeclared identifier is reported only once
/tmp/vmware-config9/vmnet-only/userif.c:629: error: for each function it appears in.)
make[2]: *** [/tmp/vmware-config9/vmnet-only/userif.o] Error 1
make[1]: *** [_module_/tmp/vmware-config9/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.19'
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/vmware-config9/vmnet-only'
Unable to build the vmnet module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.



Anyone know how I can get past this?

Doug11
January 20th, 2007, 02:18 PM
Tokes-

Not sure why it would ignore CC. Only other suggestion is to link /usr/bin/gcc to /usr/bin/gcc-4.0

ln -s /usr/bin/gcc-4.0 /usr/bin/gcc

Make sure to remember where gcc points to first so you can reset it afterward

ls -als /usr/bin/gcc*


I found this reply to someone that was having a smiliar prob,,,I dont understand how to link these in the way they are talking about though. Can someone shed a little light/

YaseenKriel
January 21st, 2007, 08:24 AM
http://searchopensource.techtarget.com/tip/0,289483,sid39_gci1238129,00.html

found this interesting article on how to publish windows apps in linux. got most of the software install but when i use the command to publish I get the windows desktop and not the app.

Doug11
January 21st, 2007, 09:28 AM
None of the pre-built vmmon modules for VMware Server 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-4.1". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.19.1/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config5/vmmon-only'
make -C /lib/modules/2.6.19.1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.19'
CC [M] /tmp/vmware-config5/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config5/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config5/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config5/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config5/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config5/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config5/vmmon-only/common/task.o
CC [M] /tmp/vmware-config5/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config5/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-config5/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-config5/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config5/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-2.6.19'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config5/vmmon-only'
The module loads perfectly in the running kernel.

You have already setup networking.

Would you like to skip networking setup and keep your old settings as they are?
(yes/no) [yes]

Extracting the sources of the vmnet module.

Building the vmnet module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config5/vmnet-only'
make -C /lib/modules/2.6.19.1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.19'
CC [M] /tmp/vmware-config5/vmnet-only/driver.o
CC [M] /tmp/vmware-config5/vmnet-only/hub.o
CC [M] /tmp/vmware-config5/vmnet-only/userif.o
/tmp/vmware-config5/vmnet-only/userif.c: In function ‘VNetCopyDatagramToUser’:
/tmp/vmware-config5/vmnet-only/userif.c:629: error: ‘CHECKSUM_HW’ undeclared (first use in this function)
/tmp/vmware-config5/vmnet-only/userif.c:629: error: (Each undeclared identifier is reported only once
/tmp/vmware-config5/vmnet-only/userif.c:629: error: for each function it appears in.)
make[2]: *** [/tmp/vmware-config5/vmnet-only/userif.o] Error 1
make[1]: *** [_module_/tmp/vmware-config5/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.19'
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/vmware-config5/vmnet-only'
Unable to build the vmnet module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.




OK,,alot of people say to use gcc-4,,,and this problem would be solved. Well, as you can see in the very first line that it is using gcc 4.1,,which is the one that compiled the kernel, and it's still giving me the same error. Even if I try to install vmware-player. Its the smae thing. I'm at a loss of what else to try. Any suggestions?

PartisanEntity
January 23rd, 2007, 08:37 AM
I just tried following the instructions to install vmware, however I had tried installing it through automatix2 some time ago (which didnt work) and now when I try to launch the install script

sudo ./vmware-install.pl

I get this error:

A previous installation of VMware software has been detected.

The previous installation was made by the tar installer (version 3).

Keeping the tar3 installer database format.

Error: Unable to execute "/usr/bin/vmware-uninstall.pl.

Failure

Execution aborted.

What files and folders do I need to delete to remove any instances of the previous installation attempt through automatix2?

Thanks in advance!

p.s. I did read through the forum that one should remove (uninstall) any old installation, I did deinstall the older vmware installation through automatix2 at the time, but it seems that certain parts of that installation still reside somewhere in the filesystem?

Bossieman
January 23rd, 2007, 03:43 PM
I get this error message as so many before me in this thread.

/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)

Suggestions to solve this? CPU goes up to 100% and nothing more happens.

yabbadabbadont
January 23rd, 2007, 04:46 PM
I just tried following the instructions to install vmware, however I had tried installing it through automatix2 some time ago (which didnt work) and now when I try to launch the install script

sudo ./vmware-install.pl

I get this error:

A previous installation of VMware software has been detected.

The previous installation was made by the tar installer (version 3).

Keeping the tar3 installer database format.

Error: Unable to execute "/usr/bin/vmware-uninstall.pl.

Failure

Execution aborted.

What files and folders do I need to delete to remove any instances of the previous installation attempt through automatix2?

Thanks in advance!

p.s. I did read through the forum that one should remove (uninstall) any old installation, I did deinstall the older vmware installation through automatix2 at the time, but it seems that certain parts of that installation still reside somewhere in the filesystem?

You probably need to remove the /etc/vmware directory. It usually gets left behind for some reason.

DX 00
January 23rd, 2007, 05:51 PM
Thanks for the great How-To BTW!

I got the VMWare server installed in Ubuntu 6.10 and the first time I run it it worked great. I was able to install WinXP with no problem. I then installed VMware Player through Automatix2 and it worked flawlessly. Then I restarted my machine :(.

After I restarted, the server wouldn't start anymore. When I run (all under root) vmware this is what I get.

root@APANB102:/tmp/vmware-server-distrib# vmware
vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware-config.pl.


Then when I run vmware-config.pl I get:

root@APANB102:/tmp/vmware-server-distrib# vmware-config.pl
Making sure services for VMware Server are stopped.

Stopping VMware services:
Virtual machine monitor done
Bridged networking on /dev/vmnet0 done
DHCP server on /dev/vmnet1 done
Host-only networking on /dev/vmnet1 done
DHCP server on /dev/vmnet8 done
NAT service on /dev/vmnet8 done
Host-only networking on /dev/vmnet8 done
Virtual ethernet failed
Unable to stop services for VMware Server

Execution aborted.


I've tried killing the process but it will still be there:
root@APANB102:/tmp/vmware-server-distrib# ps
PID TTY TIME CMD
13203 pts/0 00:00:00 su
13204 pts/0 00:00:00 bash
13868 pts/0 00:00:01 vmware-serverd
14838 pts/0 00:00:00 du
16676 pts/0 00:00:00 ps
root@APANB102:/tmp/vmware-server-distrib# kill 13868
root@APANB102:/tmp/vmware-server-distrib# kill 13868
root@APANB102:/tmp/vmware-server-distrib# kill 13868
root@APANB102:/tmp/vmware-server-distrib# ps
PID TTY TIME CMD
13203 pts/0 00:00:00 su
13204 pts/0 00:00:00 bash
13868 pts/0 00:00:01 vmware-serverd
14838 pts/0 00:00:00 du
16686 pts/0 00:00:00 ps


I even tried stopping the service like this:
root@APANB102:/tmp/vmware-server-distrib# /etc/init.d/vmware stop
Stopping VMware services:
Virtual machine monitor done
Bridged networking on /dev/vmnet0 done
DHCP server on /dev/vmnet1 done
Host-only networking on /dev/vmnet1 done
DHCP server on /dev/vmnet8 done
NAT service on /dev/vmnet8 done
Host-only networking on /dev/vmnet8 done
Virtual ethernet failed

I've also tried running vmware-uninstall.pl and then reinstalling the server but I still get the same error. Anybody have an idea of how I can fix this or stop the server?

Thanks in advanced.

DX 00
January 23rd, 2007, 06:10 PM
Hi there,

Everytime I reboot, Vmware stops working.
It gives me the following error :


vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware-config.pl.


Then...when I run that command stated above in the error, I get the following :


Making sure services for VMware Server are stopped.

Stopping VMware services:
Virtual machine monitor done
Bridged networking on /dev/vmnet0 done
DHCP server on /dev/vmnet1 done
Host-only networking on /dev/vmnet1 done
DHCP server on /dev/vmnet8 done
NAT service on /dev/vmnet8 done
Host-only networking on /dev/vmnet8 done
Virtual ethernet failed
Unable to stop services for VMware Server

Execution aborted.


...and then I can't do anything.
What should I do to prevent this?

Thanks for any help available.

Dude, if you find a solution let me know. I think this has to do with the VMware Playere installation. I read a hint in here.
http://www.debuntu.org/vmware-server-not-starting-after-reboot

PartisanEntity
January 23rd, 2007, 06:20 PM
You probably need to remove the /etc/vmware directory. It usually gets left behind for some reason.

That was it! Thanks!

DX 00
January 23rd, 2007, 07:49 PM
OK, I found the answer to the problem. The problem is the VMware-Player, I had to completely remove it and I had a hell of a time but here is what I did:
$apt-get autoremove vmware-player*
As soon as that finished, I uninstalled the VMware Server and reinstalled it and it worked again. Hopefully that will help someone!

Dude, if you find a solution let me know. I think this has to do with the VMware Playere installation. I read a hint in here.
http://www.debuntu.org/vmware-server-not-starting-after-reboot

Doug11
January 23rd, 2007, 10:07 PM
OK,,,after a week of probing and reading,,I finally found the answer. For all those who have compiled to a 2.6.19 kernal and can't get vmware server back up and running, check out this thread,,,worked for me in 5 minutes

http://www.ubuntuforums.org/showthread.php?t=334394

maqen
January 24th, 2007, 07:13 PM
Is it possible do the prescripted vmware server install whitout x on my edgy server?

cement_head
January 25th, 2007, 03:26 PM
Just installed XP on VMWare server! Thanks for the great HOWTO!

Silly Question: Do I have to install McAfee AV on my XP/VMWare to avoid viruses and such (as if I was using a regular non-VMWare XP box)?

- CH

Contrid
January 25th, 2007, 04:03 PM
Just installed XP on VMWare server! Thanks for the great HOWTO!

Silly Question: Do I have to install McAfee AV on my XP/VMWare to avoid viruses and such (as if I was using a regular non-VMWare XP box)?

- CH

Hey...great question. I was wondering the same thing, but I was assuming that since it's running on top of Linux, using NAT provided by your Linux box for Internet connection, you should be safe. Not sure though...let's hear what people have to say.

yabbadabbadont
January 25th, 2007, 07:57 PM
Hey...great question. I was wondering the same thing, but I was assuming that since it's running on top of Linux, using NAT provided by your Linux box for Internet connection, you should be safe. Not sure though...let's hear what people have to say.

From what I've read when this topic has come up in the past, your windows vm can (and probably will) get infected. Your host linux box would probably be safe, but every time the vm was run, the malware would be running too. I think one of the proposed solutions, other than running AV software in the vm, was to setup the vm with snapshots. You don't initially enable the networking when you install windows. Then once everything is installed correctly, you enable host only networking. This is so that windows will configure its networking settings correctly. You then create a snapshot of this clean vm. Then change the vmware settings so that the vm is rolled back to the snapshot every time you exit. After that, you can enable NAT networking and access the internet as you like. Anything that is done to the vm will be erased when the snapshot is restored on exit. Of course this means that you can't save any new data or install any new programs or anything...

cement_head
January 25th, 2007, 10:32 PM
Crap! That what I feared.

Well, that won't do at all. I'm using VMware as a Windows solution on a production machine. I've just installed McAfee VirusScan 8.0i (Enterprise Edition) in the vXP O/S and it seems to run fine. I'll also put Windows Defender on for malware (not the best - but seems to catch most stuff). I'm using the vXP O/S for only a few programmes (not really web based) that absolutely won't install with CrossOver Office 6.0. And, because I have CXO installed - Windows binaries (*.exe) files will execute.

So, I feel safer with the virus scan - even though all the major problems are platform (MS) based.

- CH

_duncan_
January 26th, 2007, 03:23 AM
I never used CrossOver Office so I'm not sure about this. But if because of CrossOver your linux machine will now recognize .exe files, shouldn't you also install an antivirus on linux?

My understanding is that linux is relatively safe from .exe-based viruses because .exe don't run in linux. In this case however...

cement_head
January 26th, 2007, 08:12 AM
Hi,.

You're correct. But, Linux network security is far better than the "open door" MS O/S's, so the chance of a virus targeting a Linux box is almost nill (this from our work IT guys). It could happen, but unlikely. I do have ClamAV installed on Ubuntu and I do use Firestarter as a firewall GUI.

Plus CXO ALWAYS asks before it executes a Windows Binary - something that de facto provides a layer of protection against self-executing files. This "ask" policy might be inherent to Linux...

- CH

CameronCalver
January 26th, 2007, 05:58 PM
Hey i did the how to but i get
cameron@ubuntu:/usr/bin$ cd /tmp
cameron@ubuntu:/tmp$ cd vmware-server-distrib
cameron@ubuntu:/tmp/vmware-server-distrib$ sudo ./vmware-install.pl
A previous installation of VMware software has been detected.

Failure

Execution aborted.

cameron@ubuntu:/tmp/vmware-server-distrib$



edic: fixed that problem by deleting /etc/vmware but now im getting


cameron@ubuntu:~$ vmware
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
Unable to alloc client: File "/etc/vmware/config" line 10: Syntax error.



VMware Server Error:
VMware Server unrecoverable error: (vmui)
Unable to alloc client: File "/etc/vmware/config" line 10: Syntax error.

A log file is available in "/tmp/vmware-cameron/ui-10123.log". Please request support and include the contents of the log file.
To collect files to submit to VMware support, run vm-support.
We will respond on the basis of your support entitlement.

hsalgado
January 28th, 2007, 04:09 AM
Really nice guide. I am dual booting and I would like to run in ubuntu what I need of windows... so I tried your guide... but...

when I try to run vmware I get the following message:

vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware-config.pl.

When I do that it tell me:

Please re-run this program as the super user.

I don't have any idea what that means...

Thanks for any help!!!!!!!

kioftes
January 28th, 2007, 06:40 AM
Hi guys!I use Edgy 64 and i recently updated to kernel 2.6.19.2. When i try to install vmware i get the following error


Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmnet-only'
make -C /usr/src/linux-headers-2.6.19.2/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.19.2'
CC [M] /tmp/vmware-config1/vmnet-only/driver.o
CC [M] /tmp/vmware-config1/vmnet-only/hub.o
CC [M] /tmp/vmware-config1/vmnet-only/userif.o
/tmp/vmware-config1/vmnet-only/userif.c: In function ‘VNetCopyDatagramToUser’:
/tmp/vmware-config1/vmnet-only/userif.c:629: error: ‘CHECKSUM_HW’ undeclared (first use in this function)
/tmp/vmware-config1/vmnet-only/userif.c:629: error: (Each undeclared identifier is reported only once
/tmp/vmware-config1/vmnet-only/userif.c:629: error: for each function it appears in.)
make[2]: *** [/tmp/vmware-config1/vmnet-only/userif.o] Error 1
make[1]: *** [_module_/tmp/vmware-config1/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.19.2'
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/vmnet-only'
Unable to build the vmnet module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.


Any help would be much appreciated!!!

kioftes
January 28th, 2007, 05:54 PM
I found the solution

http://www.vmware.com/community/thread.jspa?threadID=69765&tstart=0

just change the name of the folder to match your kernel includes eg /usr/src/kernels/2.6.18-1.2849.fc6-i686/include/linux/config.h to
/usr/src/linux-headers-`uname -r`/include/linux/config.h

however, it seems now that i can't mount the cdrom....

root@Soula:~# mount -t iso9660 /dev/hdc /media/cdrom0
mount: special device /dev/hdc does not exist

yabbadabbadont
January 28th, 2007, 08:25 PM
Really nice guide. I am dual booting and I would like to run in ubuntu what I need of windows... so I tried your guide... but...

when I try to run vmware I get the following message:

vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware-config.pl.

When I do that it tell me:

Please re-run this program as the super user.

I don't have any idea what that means...

Thanks for any help!!!!!!!

It means you need to run the command using sudo.

sudo /usr/bin/vmware-config.pl

sudha48
January 30th, 2007, 04:18 AM
Hi
i tried installing vmware
iam getting error message
"Unable to get the access rights of source file "./vmware-vix/bin. execution aborted "
when i did sudo ./vmware-install.pl

please help me.!!

nicklogan
January 30th, 2007, 12:31 PM
Thanks for this HowTo - I've wanted to try VMWare for years. I got it working but am having one problem - when I suspend or quit VMWare my Ubuntu desktop hangs and can't be accessed until I ctrl-alt-backspace to restart it. I can use ctrl-alt-F1, etc. to go to another login screen or ctrl-alt-F7 to get back to the hung grey screen but can't get to the desktop. Ctrl-alt-tab to get to another desktop window doesn't work. Please help - I'd love to be able to get in and out of AutoCad without losing my desktop.
Apologies if this has already been covered, I searched this thread but couldn't read the whole thing.

sn0m
January 30th, 2007, 08:31 PM
thanks for the guide, a great one.
I have installed it and created virtual machines named windows virtual machine 2000 and windows virtual machine 200 2 which are installed in /
The problem is that when i i tried to install win xp, i get the message that theres no hard disk in your system.

I have restarted it and now i got the message:
The master boot record (MBR) of this virtual machine's hard disk does not contain valid bootstrap code. It is likely that the MBR was corrupted by an incorrect guest operating system installation or some other reason. The virtual machine cannot continue and will now power off. (For advanced users: the MBR is the last disk sector accessed by the virtual machine before the error.) Please consult our Web site at "http://www.vmware.com/info?id=18" for common troubleshooting help.

I also tried to delete the win virtual machines from / but got this message.

root@sn0m-laptop:/home/sn0m# cd /
root@sn0m-laptop:/# ls
bin etc lib opt srv var
boot home lost+found proc sys vmlinuz
cdrom initrd media root tmp Windows 2000 Professional
dev initrd.img mnt sbin usr Windows 2000 Professional 2
root@sn0m-laptop:/# rm Windows 2000 Professional
rm: cannot remove `Windows': No such file or directory
rm: cannot remove `2000': No such file or directory
rm: cannot remove `Professional': No such file or directory
root@sn0m-laptop:/#

any help
thanks
Koli

positron
January 31st, 2007, 11:39 PM
I installed vmware server on ubuntu edgy. However, there is no command in my bin named "vmware." I run vmware-server-console instead and it asks me to connect to host. From what I understand I need to connect to localhost or ubuntu with the root password, but no matter what I type in it says "Unable to connect to the remote host"

What do I need to do/install? I don't see how I could have gotten the wrong file, I downloaded the file from http://www.vmware.com/download/server/ but I seem to be missing the vmware-server-distrib directory and ./vmware-install.pl script inside it. I ran every install and config script I could find and it never asked me for my serial number.

Thanks.

EDIT: I downloaded this tar instead and it has the correct files. http://download3.vmware.com/software/vmserver/VMware-server-1.0.1-29996.tar.gz

euthyfro
February 2nd, 2007, 06:07 PM
i got 2 the sudo ./vmware-install.pl step, & i got A previous installation of VMware software has been detected.

Failure

Execution aborted.

i thought it might have been cuz i had the vmwareplayer package installed so i removed it, got the same error, removed every vmware folder i could find tryed again & got the same thing. is there some thing i've missed about vmware?

euthyfro
February 2nd, 2007, 08:04 PM
duh, the answer 2 that is posted everywhere, so i got past that got 2 the where u want doc. files part, got the "Unable to get the access rights of source file "./vmware-vix/bin" message, created the symbolic link that has been put forward as a fix 2 this & then got the same message. i'm at my wit's end.:frown:

KeithO
February 3rd, 2007, 02:22 AM
i'm having the same error message as well. i have a fresh edgy install.

schorsch
February 3rd, 2007, 04:41 AM
i got 2 the sudo ./vmware-install.pl step, & i got A previous installation of VMware software has been detected.

Failure

Execution aborted.

i thought it might have been cuz i had the vmwareplayer package installed so i removed it, got the same error, removed every vmware folder i could find tryed again & got the same thing. is there some thing i've missed about vmware?

rm -rf /etc/vmware

MockY
February 3rd, 2007, 06:37 PM
I lost the ability to surf the internet after I installed VWserver. Everything else works fine. I installed Windows XP without issues. But the Internet problem remained. I could connect to the LAN easily but somehow the WAN part didn't work. I uninstalled and rebooted and I can now surf again. What did I wrong? I want VMware installed.

kegsy1
February 3rd, 2007, 11:33 PM
Hi

After completing the install and then clicking on the VMWare Server Console icon under System Tools the console tries to load momentarily but nothing happens. I then opened a terminal session and typed...

vmware

...as suggested in the instructions. The following paste came from the terminal session and I hope you might be able to help me to get this virtual machine working on my PC.

Regards
Kegsy

================================================== =======

root@family:~# vmware
vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware-config.pl.

root@family:~# /usr/bin/vmware-config.pl
Making sure services for VMware Server are stopped.

Stopping VMware services:
Virtual machine monitor done
Bridged networking on /dev/vmnet0 done
DHCP server on /dev/vmnet1 done
Host-only networking on /dev/vmnet1 done
DHCP server on /dev/vmnet8 done
NAT service on /dev/vmnet8 done
Host-only networking on /dev/vmnet8 done
Virtual ethernet done

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type 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]

/usr/share/applications/vmware-server.desktop: error: Categories values must be one of "Core", "Development", "Building", "Debugger", "IDE", "GUIDesigner", "Profiling", "RevisionControl", "Translation", "Office", "Calendar", "ContactManagement", "Database", "Dictionary", "Chart", "Email", "Finance", "FlowChart", "PDA", "ProjectManagement", "Presentation", "Spreadsheet", "WordProcessor", "Graphics", "2DGraphics", "VectorGraphics", "RasterGraphics", "3DGraphics", "Scanning", "OCR", "Photography", "Viewer", "Settings", "DesktopSettings", "HardwareSettings", "PackageManager", "Network", "Dialup", "InstantMessaging", "IRCClient", "FileTransfer", "HamRadio", "News", "P2P", "RemoteAccess", "Telephony", "WebBrowser", "WebDevelopment", "AudioVideo", "Audio", "Midi", "Mixer", "Sequencer", "Tuner", "Video", "TV", "AudioVideoEditing", "Player", "Recorder", "DiscBurning", "Game", "ActionGame", "AdventureGame", "ArcadeGame", "BoardGame", "BlocksGame", "CardGame", "KidsGame", "LogicGame", "RolePlaying", "Simulation", "SportsGame", "StrategyGame", "Education", "Art", "Construction", "Music", "Languages", "Science", "Astronomy", "Biology", "Chemistry", "Geology", "Math", "MedicalSoftware", "Physics", "Teaching", "Amusement", "Applet", "Archiving", "Electronics", "Emulator", "Engineering", "FileManager", "Shell", "ScreenSaver", "TeminalEmulator", "TrayIcon", "System", "Filesystem", "Monitor", "Security", "Utility", "Accessibility", "Calculator", "Clock", "TextEditor", "KDE", "GNOME", "GTK", "Qt", "Motif", "Java", "ConsoleOnly" (found "Application")
desktop-file-install created an invalid desktop file!
Unable to install the .desktop menu entry file. You must add it to your menus
by hand.
/usr/share/applications/vmware-console-uri-handler.desktop: error: Categories values must be one of "Core", "Development", "Building", "Debugger", "IDE", "GUIDesigner", "Profiling", "RevisionControl", "Translation", "Office", "Calendar", "ContactManagement", "Database", "Dictionary", "Chart", "Email", "Finance", "FlowChart", "PDA", "ProjectManagement", "Presentation", "Spreadsheet", "WordProcessor", "Graphics", "2DGraphics", "VectorGraphics", "RasterGraphics", "3DGraphics", "Scanning", "OCR", "Photography", "Viewer", "Settings", "DesktopSettings", "HardwareSettings", "PackageManager", "Network", "Dialup", "InstantMessaging", "IRCClient", "FileTransfer", "HamRadio", "News", "P2P", "RemoteAccess", "Telephony", "WebBrowser", "WebDevelopment", "AudioVideo", "Audio", "Midi", "Mixer", "Sequencer", "Tuner", "Video", "TV", "AudioVideoEditing", "Player", "Recorder", "DiscBurning", "Game", "ActionGame", "AdventureGame", "ArcadeGame", "BoardGame", "BlocksGame", "CardGame", "KidsGame", "LogicGame", "RolePlaying", "Simulation", "SportsGame", "StrategyGame", "Education", "Art", "Construction", "Music", "Languages", "Science", "Astronomy", "Biology", "Chemistry", "Geology", "Math", "MedicalSoftware", "Physics", "Teaching", "Amusement", "Applet", "Archiving", "Electronics", "Emulator", "Engineering", "FileManager", "Shell", "ScreenSaver", "TeminalEmulator", "TrayIcon", "System", "Filesystem", "Monitor", "Security", "Utility", "Accessibility", "Calculator", "Clock", "TextEditor", "KDE", "GNOME", "GTK", "Qt", "Motif", "Java", "ConsoleOnly" (found "Application")
desktop-file-install created an invalid desktop file!
Unable to install the .desktop menu entry file. You must add it to your menus
by hand.
Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Server 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? [/lib/modules/2.6.17-10-generic/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.17-10-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.17-10-generic'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config0/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config0/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config0/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/task.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST
CC /tmp/vmware-config0/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.17-10-generic'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
The module loads perfectly in the running kernel.

This program previously created the file /dev/vmmon, and was about to remove
it. Somebody else apparently did it already.

You have already setup networking.

Would you like to skip networking setup and keep your old settings as they are?
(yes/no) [no]

Do you want networking for your virtual machines? (yes/no/help) [yes]

Would you prefer to modify your existing networking configuration using the
wizard or the editor? (wizard/editor/help) [wizard]

The following bridged networks have been defined:

. vmnet0 is bridged to ra0

Do you wish to configure another bridged network? (yes/no) [no]

Do you want to be able to use NAT networking in your virtual machines? (yes/no)
[yes]

Configuring a NAT network for vmnet8.

The NAT network is currently configured to use the private subnet
172.16.120.0/255.255.255.0. Do you want to keep these settings? [yes]

The following NAT networks have been defined:

. vmnet8 is a NAT network on private subnet 172.16.120.0.

Do you wish to configure another NAT network? (yes/no) [no]

Do you want to be able to use host-only networking in your virtual machines?
[yes]

Configuring a host-only network for vmnet1.

The host-only network is currently configured to use the private subnet
192.168.62.0/255.255.255.0. Do you want to keep these settings? [yes]

The following host-only networks have been defined:

. vmnet1 is a host-only network on private subnet 192.168.62.0.

Do you wish to configure another host-only network? (yes/no) [no]

Extracting the sources of the vmnet module.

Building the vmnet module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.17-10-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.17-10-generic'
CC [M] /tmp/vmware-config0/vmnet-only/driver.o
CC [M] /tmp/vmware-config0/vmnet-only/hub.o
CC [M] /tmp/vmware-config0/vmnet-only/userif.o
CC [M] /tmp/vmware-config0/vmnet-only/netif.o
CC [M] /tmp/vmware-config0/vmnet-only/bridge.o
CC [M] /tmp/vmware-config0/vmnet-only/procfs.o
CC [M] /tmp/vmware-config0/vmnet-only/smac_compat.o
SHIPPED /tmp/vmware-config0/vmnet-only/smac_linux.x386.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.o
Building modules, stage 2.
MODPOST
WARNING: could not find /tmp/vmware-config0/vmnet-only/.smac_linux.x386.o.cmd for /tmp/vmware-config0/vmnet-only/smac_linux.x386.o
CC /tmp/vmware-config0/vmnet-only/vmnet.mod.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.17-10-generic'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config0/vmnet-only'
The module loads perfectly in the running kernel.

Please specify a port for remote console connections to use [902]

Stopping internet superserver: xinetd.
Starting internet superserver: xinetd.
Configuring the VMware VmPerl Scripting API.

Building the VMware VmPerl Scripting API.

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

Installing the VMware VmPerl Scripting API.

The installation of the VMware VmPerl Scripting API succeeded.

Generating SSL Server Certificate

In which directory do you want to keep your virtual machine files?
[/var/lib/vmware/Virtual Machines]

Do you want to enter a serial number now? (yes/no/help) [no]

Starting VMware services:
Virtual machine monitor done
Virtual ethernet done
Bridged networking on /dev/vmnet0 failed
Host-only networking on /dev/vmnet1 (background) done
Host-only networking on /dev/vmnet8 (background) done
NAT service on /dev/vmnet8 failed

The configuration of VMware Server 1.0.1 build-29996 for Linux for this running
kernel completed successfully.

root@family:~#

KeithO
February 4th, 2007, 01:41 AM
rm -rf /etc/vmware

that did the trick for me. vmware installed seemlessly after that. could you tell me what that command did exactly?

Norfolk 'n' Good
February 4th, 2007, 09:40 PM
Hi,

I had VMware working fine the other day; such a dream to have Ubuntu with XP running flawlessly inside it. However, I recently reinstalled Ubuntu onto a new hard drive and tried to reinstall VMware, but I keep getting the following message when I try to launch it. It's the same copy of Ubuntu (Edgy 6.10 AMDX64). The only thing that's changed,apart from the hard drive, is a new monito


root@ubuntu64:/usr/bin# ./vmware /usr/bin/ldd: line 171: /lib/ld-linux.so.2: No such file or directory ldd: /lib/ld-linux.so.2 exited with unknown exit code (127) /usr/lib/vmware/lib/wrapper-gtk24.sh: line 142: /usr/lib/vmware/bin/vmware: No such file or directory /usr/bin/ldd: line 171: /lib/ld-linux.so.2: No such file or directory ldd: /lib/ld-linux.so.2 exited with unknown exit code (127) /usr/lib/vmware/lib/wrapper-gtk24.sh: line 142: /usr/lib/vmware/bin/vmware: No such file or directory root@ubuntu64:/usr/bin#


Any help would be much appreciated.

Thank you

yabbadabbadont
February 4th, 2007, 09:43 PM
that did the trick for me. vmware installed seemlessly after that. could you tell me what that command did exactly?

It removed the vmware configuration directory and all of it's contents... :)

banditti
February 5th, 2007, 04:07 PM
Probably a stupid question, but I need to F6 for a SATA driver during XP install. I can't get the floppy to work. It just shows a red x for the floppy under VMware.

thoughts?

R.J.R.
February 6th, 2007, 08:20 PM
Probably a stupid question, but I need to F6 for a SATA driver during XP install. I can't get the floppy to work. It just shows a red x for the floppy under VMware.

thoughts?
You shouldnt need the SATA drivers for your XP Host. XP will recognize the drive you create in VMWare automatically.

computerjunkie
February 6th, 2007, 08:32 PM
Hey wasup. I've been using dapperdrake for a couple months now and I tried installing vmplayer through synaptic. it hit errors saying the vmnet module wasnt installed blah blah blah.

so I tried following the instructions in the first post. went great unti...

"Unable to get the access rights of source file "./vmware-vix/bin".

Execution aborted."

ARGH what? (I was logged in as root how the heck do I not have access rights to that file??)

I tried sudo first then when it said that I tried "su -" then running the installer and it gave the same error.


sorry if this question was asked already, I wasn't about to look through 80 pages lol.

thanks in advance.

Saubazi
February 7th, 2007, 01:29 PM
I get following during configuration:

Manifying blib/man3/VMware::VmPerl::ConnectParams.3pm
make: Leaving directory `/tmp/vmware-config1/control-only'
make: Entering directory `/tmp/vmware-config1/control-only'
mkdir /usr/local/man: File exists at /usr/share/perl/5.8/ExtUtils/Install.pm line 112
make: *** [pure_site_install] Error 17
make: Leaving directory `/tmp/vmware-config1/control-only'

So wazzup?

dcav
February 7th, 2007, 08:48 PM
rm -rf /etc/vmware
this command not work for me because i have one file called locations in the folder that i don't have permission to delete. what can i do? Thanks

techstop
February 7th, 2007, 09:21 PM
this command not work for me because i have one file called locations in the folder that i don't have permission to delete. what can i do? Thanks

Well then execute the command as a user who does have the permissions then...

sudo rm -rf /etc/vmware

dcav
February 7th, 2007, 09:29 PM
:) Thanks, but i'm really new in ubuntu... i have only one week in that SO. Thanks it works ;)

techstop
February 7th, 2007, 09:40 PM
:) Thanks, but i'm really new in ubuntu... i have only one week in that SO. Thanks it works ;)

No worries...

Have a read of this info about the sudo command. It is very powerful, and you can potentially get into a bit of trouble if you use it incorrectly;

https://help.ubuntu.com/community/RootSudo

woodmedic
February 8th, 2007, 06:46 PM
I carefully followed all of the instructions to install vmware and it sucsessfully installed according to the terminal. It shows up in my applications menu but when I click on the icon to run it, it just says....Failed to execute child process"vmware" (no such file or directory)

When I try to run it by typing vmware in the terminal, it say this.....bash: vmware: command not found.

Any ideas how to fix this??

computerjunkie
February 9th, 2007, 03:02 PM
so um does anyone one know why I am getting the error that I'm getting?? (first post on this page)

computerjunkie
February 9th, 2007, 04:01 PM
nevermind guys i figured out whats wrong

there is actually a bug in the installer it calls for vmware-vix/bin but this doesn't exist in the tarball, but vmware-vix./bin does.

to get around this without editing the perl script to the firs question install the binaries to:

"/wherever/wherever/bin" (mine are in /home/chris/vmware/bin instead of /home/chris/vmware without the "/bin" you'll get the error I was getting.

zeroblitzt
February 9th, 2007, 05:40 PM
This is a monster thread :shock:

But its a great guide!

kaleman
February 9th, 2007, 05:52 PM
Why do I need to regist before download VMWare? :-k Is there any free program like this one?

You could try VirtualBox, see http://www.ubuntuforums.org/showthread.php?t=340113&highlight=virtualbox.

dberg
February 9th, 2007, 11:15 PM
Will this HOWTO work with Vista as well, or would that be different?

Thanks

iammeagain
February 10th, 2007, 12:38 AM
Thanx a ton! Just what i have been needin to install vmware, i had no idea where to start before. Awesomness!

iammeagain
February 10th, 2007, 12:39 AM
Will this HOWTO work with Vista as well, or would that be different?

Thanks

i wouldnt know for sure, but i would think so. i think ill try it out.

iammeagain
February 10th, 2007, 01:40 AM
i wouldnt know for sure, but i would think so. i think ill try it out.

The problem im havin is that Vista isnt able to see a hard drive to install too. Maybe installing XP then upgradin might work... Not sure, but got a big day tomorro so i aint stayin up late to find out.

im not having anyluck instally vista. It doesnt want to accept my product key, it accepts it on a real machine though.

gadget00
February 10th, 2007, 02:34 AM
Hi all. Im having problems installing windows with the vmware server.

VMWare installed fine, runs fine, creates the virtual machine in a fine way; even boots the windowsCD fine!

But when I choose to do the drive format(NTFS, both regular or quick), it goes to the 0% screen, keeps there for a while, and then the virtual machine gets off by itself!

If I retry the installation, then tells me "operating system error" and never boots.

Also, all the programs running start having internal errors and crash. I knew it because each time i launch any app, the bug-report program launched, and then crashed too!

I dont understand why this is happening. I even switched the directory that keeps the virtual machine files, just in case it had any permission issues, but keeps on failing. It was supposed to be fine. I saw a guide here in the forums, and they didnt had problems. Im really out of ideas now. Hope for an answer ASAP.


**Also, I tried to use the recoveryCD that came with the laptop(Toshiba Satellite L10-S104) and that also gave an "Internal Memory Error" and didnt worked either. THe difference is that doing this didnt made the apps crash.
Edit/Delete Message

iammeagain
February 10th, 2007, 04:08 PM
Hi all. Im having problems installing windows with the vmware server.

VMWare installed fine, runs fine, creates the virtual machine in a fine way; even boots the windowsCD fine!

But when I choose to do the drive format(NTFS, both regular or quick), it goes to the 0% screen, keeps there for a while, and then the virtual machine gets off by itself!



I haven't had this problem but i run installs off of iso's instead of the actual cd, i figured it could read faster that way. I don't know if that may make a difference, but might as well give it a shot.

So just make an iso file of the cd and tell it to use that as the cd drive.

darklyndsea
February 10th, 2007, 06:50 PM
Apologies if this has been asked already, but this is a rather long thread. Is there any way for me to access the files already on my computer from within the virtual machine? Also, how do I get sound to work? I keep getting an error message which reads "Failed to open sound device /dev/dsp: Device or resource busy
Failed to connect virtual device sound."

raintheory
February 11th, 2007, 03:26 PM
@darklyndsea:

if you set up samba shares in Ubuntu, you can access them from the virtual machine via network.

at least thats how I was able to do it...

as far as the sound, try disabling software sound mixing (ESD) under System/Preferences/Sound in Ubuntu, and see if that helps.

shareMenaPeace
February 12th, 2007, 11:02 PM
This topic reveals howto get a key.
http://www.vmware.com/community/ann.jspa?annID=203

Neo40
February 13th, 2007, 12:05 AM
Hi,

Ok, I tried vmware-server and found it very interesting. However, I don't need it into mt HD anymore. So, how can I *uninstall* it (vmware, windows98, partition I used to install, etc...)

Thanks

Bealer
February 13th, 2007, 04:08 PM
There's an uninstall script you'll need to find. I think this is what you need to run from a terminal window:

sudo /usr/bin/vmware-uninstall.pl

cnc333
February 13th, 2007, 11:31 PM
I carefully followed all of the instructions to install vmware and it sucsessfully installed according to the terminal. It shows up in my applications menu but when I click on the icon to run it, it just says....Failed to execute child process"vmware" (no such file or directory)

When I try to run it by typing vmware in the terminal, it say this.....bash: vmware: command not found.

Any ideas how to fix this??



I have this exact same problem and this person was never answered, at least not on this thread. Does any one know where we should start???

Thanks

mcrae
February 15th, 2007, 09:22 AM
I get this error message after running
sudo ./vmware-install.pl



Unable to get the access rights of source file "./vmware-vix/bin".

Execution aborted.

What could it be!?!

grabro
February 16th, 2007, 09:44 AM
Hi

Is it possible to delete a virtual desktop? I create one but Win98 hung while installing and now it does not recognise the system disk as it has a partial system already installed. So I want to delete that virtual desktop and start again. Incidentally, can you explain(simply please) where is this 8GB disk installed.

grabro

Repent
February 16th, 2007, 11:46 AM
Ok this is what I get, what should I do?

joe203@joe203-desktop:~$ sudo apt-get install linux-headers-`uname -r` build-essential xinetd
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-2.6.17-10-generic is already the newest version.
build-essential is already the newest version.
xinetd is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
joe203@joe203-desktop:~$ cd /tmp replace with your download directory
joe203@joe203-desktop:/tmp$ cd vmware-server-distrib
joe203@joe203-desktop:/tmp/vmware-server-distrib$ sudo ./vmware-install.pl
A previous installation of VMware software has been detected.

Failure

Execution aborted.

joe203@joe203-desktop:/tmp/vmware-server-distrib$

# Insert your Windows (XP) CD into your CDROM drive
# Open the VMware Server Console
# select 'Create a new virtual machine'

Ok here's the deal there is no Create a new virtual machine on this player.

grabro
February 16th, 2007, 02:25 PM
Hi

It's me again. I have just installd Vmware server with Win98SE on it hence the questions.

I have Win98Se on hda1 but cannot access it as I have 1.5gb of Ram and it doesn't like (will not boot).

So, what I would like to do is copy all fo the hda1 over to the virtual win98.

Can I do this? If so, how?

grabro

Repent
February 16th, 2007, 05:53 PM
Can someone please help ....PLEASE ](*,)

grabro
February 16th, 2007, 06:25 PM
Hi Repent

I don't know whether I can help but here goes. If the Virtual Server loads and its for the first time you should be in a "window" within the server called localhost:localdomain. As far as I can remember within that "window " should be a couple of long(ish) buttons and I think one is "Power on" As I recall the power on button allows the server to scan your system and eventually you should see what it has found e.g. HDD, CDROM, Memory, Ethernet etc. At this point you should also see a button for "Create virtual desktop". If this is pressed the server shold start to load Win XP from your CDROM.

Can you say what you see when the server is loaded?

grabro

grabro
February 16th, 2007, 06:34 PM
Hi

Regarding my first two question I have resolved the first and am trying to solve the second by using samba and file sharing. I have a problem however which is stopping me progressiing this option. At the moment the virtual server will not install the ethernet connection. It states it cannot find "/dev/vmnet8" How do I resolve this? Do I just create the file? it cannot be that easy as I am assuming that vmnet8 is a socket file.

I have now hit another problem. The server is stuck in full screen mode and Ctrl + Alt will not get me out. Any ideas?

grabro

Repent
February 16th, 2007, 07:29 PM
Thanks grabro but the problem I'm having is the server wont install because it says " A previous installation of VMware software has been detected." I have VMware player installed but why would that matter?

Thanks
Repent.

yabbadabbadont
February 16th, 2007, 11:52 PM
Thanks grabro but the problem I'm having is the server wont install because it says " A previous installation of VMware software has been detected." I have VMware player installed but why would that matter?

Thanks
Repent.

According to the vmware knowledgebase and forums, you cannot have both installed at the same time. There is no reason to have vmware-player installed if you have vmware-server anyway.

Repent
February 17th, 2007, 01:06 AM
But I deleted VMplayer and tried to install Vmserver and it still says the same thing . I deleted it from the Synaptic Package before I tried the last time but it still said I had Vmsoftware installed.

Is there a way to purge it from the system?

yabbadabbadont
February 17th, 2007, 01:13 AM
But I deleted VMplayer and tried to install Vmserver and it still says the same thing . I deleted it from the Synaptic Package before I tried the last time but it still said I had Vmsoftware installed.

Is there a way to purge it from the system?

As has been repeated many times in this thread... :D you have to manually remove the /etc/vmware directory after you untinstall vmware.

praxis22
February 17th, 2007, 09:01 AM
Apologies if this has been answered before, I've yet to read all 84 pages, But...

I got vmware server running, and XP installed, on Edgy, but I upgraded to Fiesty (herd 4) last night, [Kernel 2.6.20-8] so I figured I'd have to rebuild the kernel module, but when I tried this:

sudo /usr/bin/vmware-config.pl

It went well until it died like this:

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.20-8-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-8-generic'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:80:
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘compat_exit’
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘exit_code’
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: warning: type defaults to ‘int’ in declaration of ‘_syscall1’
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-8-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

Which looks to me like a syntax error in the vmware include files, or possible incompatibility with kernel 2.6.20.8, anyone got any ideas, before I start digging?

Repent
February 17th, 2007, 09:18 AM
Ok thanks but the problem is I'm new to linux and I have no idea how to manually remove the /etc/vmware directory . So any help as to how I can do this would really be nice.

Repent. ](*,)

praxis22
February 17th, 2007, 09:25 AM
OK, to remove a directory do the following:

sudo rm -rf /etc/vmware

type in your password when prompted and it will do the rest.

rm = remove/delete

-rf = recursive, forced, (delete everything below this point, and don't talk back) :)


Needless to say you have to be very careful about how you use that command as used in the wrong place it can wipe out your whole OS

praxis22
February 17th, 2007, 11:08 AM
Hi,

OK, To save anyone else the trouble, this is how you get vmware-server running again after the upgrade to Fiesty from Etch.

I found this page on the vmware forums: http://www.vmware.com/community/message.jspa?messageID=538342#538342

Which is essentially somebody with Fedora Core having the same problems. Looks like the Kernel has undergone a fair bit of pruning between 2.6.17 and 2.6.20 which means you end up with build errors if you try to build the module on a 2.6.20 Kernel.

So the nice people at vmware have come up with a patch [vmware-any-any-update108] which you can find here: http://ftp.cvut.cz/vmware/vmware-any-any-update108.tar.gz

I'm running VMware-server-1.0.1-29996 and this is what I did:

Extract the vmware server & patch tar balls, into /tmp

sudo /tmp/vmware-server-distrib/bin/vmware-uninstall.pl
sudo rm -rf /etc/vmware
sudo /tmp/vmware-server-distrib/vmware-install.pl

Before running VMware Server for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config.pl". Do you want this program to invoke the command for you now? [yes] no

sudo /tmp/vmware-any-any-update108/runme.pl
Updating /usr/bin/vmware-config.pl ... now patched
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available
VMware modules in "/usr/lib/vmware/modules/source" has been updated.

Before running VMware for the first time after update, you need to configure it
for your running kernel by invoking the following command:
"/usr/bin/vmware-config.pl". Do you want this script to invoke the command for
you now? [no] yes

Then:
Compile, setup, serial, and you're finished.

My XP install was still intact and resumed without a problem. So uninstalling doesn't blank your active VM's or anything, though it may change your NAT numbers, etc. So be sure to check vmnet8 & vmnet1.

However, what it does do is remove the Icon from "Applications -> System Tools" so you'll need to create a new Icon, I put mine on the top panel, just "Add to Panel..." then click on "Custom Application Launcher" button, you'll find the program in /usr/bin/vmware and there is even a real Icon for the vmware-server, (near the bottom of the list) should you want the official "look & feel"

grabro
February 17th, 2007, 01:35 PM
Hi

I have mentioned previously that I am stuck in full screen mode but I have since established this is not the case. Windows 98 is not in full screen mode but the Server is. Win98 is a small screen in the centre of the screen surrounded by a large black area filing the rest of the screen. The tabs "localhost: localdomain" and "Windows" are the only items of the server I can access.

I can power down windows but the only way to closed down the server is Ctrl+Alt+backspace which throws me out to my login prompt.

Any ideas how I can get back to a normal server?

grabro

Repent
February 17th, 2007, 02:42 PM
Ok I did as you advised and this is what I got.


joe203@joe203-desktop:~$ sudo rm -rf /etc/vmware
joe203@joe203-desktop:~$ rm = remove/delete
rm: cannot remove `=': No such file or directory
rm: cannot remove `remove/delete': No such file or directory
joe203@joe203-desktop:~$ rm = remove/delete
rm: cannot remove `=': No such file or directory
rm: cannot remove `remove/delete': No such file or directory
joe203@joe203-desktop:~$ -rf = recursive, forced,
bash: -rf: command not found
joe203@joe203-desktop:~$

So what should I do now?

darrenm
February 17th, 2007, 02:59 PM
Try installing again.

You were only meant to run the first command, the other lines were just explaining what it meant ;)

Repent
February 17th, 2007, 03:12 PM
lol......OMG I should have looked at it better.

What a noob I am.

Thanks.

Repent
February 17th, 2007, 04:55 PM
Ok just one last thing how do I get it to install Windows from the CD rom and not the floppy disc?

Thanks for all your help.
Repent.

grabro
February 17th, 2007, 05:04 PM
Repent

You have to go into the BIOS Setup and the machine boots. Its usually F2 or Esc. Press one of these and the machine boots and it will transfer you into the BIOS Setup. Go to the Boot Menu
and you will sees a list of the order of booting, obviously the floppy will be first.

Scroll down using thearrow keys to the foppy and you can change this to the CDROm drive.

Pree ESC untill you exit and it should ask you to save your changes.

grabro

Repent
February 17th, 2007, 05:31 PM
Thanks I reset the boot order, but for the life of me I can't remember changing it. Any way when I logged back on the Vmserver would not start so I typed vmware into the terminal and got this.

joe203@joe203-desktop:~$ vmware
vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware-config.pl.

joe203@joe203-desktop:~$ /usr/bin/vmware-config.pl.
bash: /usr/bin/vmware-config.pl.: No such file or directory
joe203@joe203-desktop:~$

And I thought I was done.:confused:

Bobtheknight
February 17th, 2007, 05:46 PM
Hey guys, I installed vmware and xp successfully via the howto.

However, when I try to enable sound support via vm settings, I find the "add" and "remove" bottons at the bottom greyed out. I can't add sound device or USB drive. I tried running the vmware as root via sudo vmware. The same thing happened.

Any help?

Repent
February 17th, 2007, 06:10 PM
Ok look I do indeed have that file, whats going on here?


http://i16.tinypic.com/4csdaia.png

Thanks

m.musashi
February 17th, 2007, 07:56 PM
I can't tell for sure but did you type the command with a period at the end?
joe203@joe203-desktop:~$ /usr/bin/vmware-config.pl.
If so, try without the period.

Also, you might need to run that with sudo but I'm not 100% sure about that.

hfw
February 17th, 2007, 08:35 PM
I am at a loss. I installed both vmplayer and server last night. The server seemed to be working. I tried to run it today and it won't launch. I tried to run the config, and it wouldn't config. I ran the uninstall for the server, it said it worked. I am trying to uninstall the player, and can't seem to get it to work. I am doing it in Synaptic and get the following error:

E: vmware-player: subprocess pre-removal script returned error exit status 1

Any suggestions on how to get the player uninstalled and the server working. Thanks.

BTW running Edgy...

hfw

cnc333
February 18th, 2007, 10:43 AM
Originally Posted by woodmedic
I carefully followed all of the instructions to install vmware and it sucsessfully installed according to the terminal. It shows up in my applications menu but when I click on the icon to run it, it just says....Failed to execute child process"vmware" (no such file or directory)

When I try to run it by typing vmware in the terminal, it say this.....bash: vmware: command not found.

Any ideas how to fix this??


I have this exact same problem and this person was never answered, at least not on this thread. Does any one know where we should start???

Thanks

Repent
February 18th, 2007, 12:58 PM
Thank you m.musashi that worked, now that I have WindowsXp loaded and running I noticed that my DVD player and my DVD-RW player have not been installed any ideas?

I would like to take this time to say Thank You to everyone that has helped me.:)

Repent

m.musashi
February 18th, 2007, 01:29 PM
Getting everything to work right can be a bit of a challenge. I haven't figured out yet how to access physical hard drives. CDs and such are not too bad.

Open your XP vm and instead of clicking power on, choose edit vm settings. On the left half of the window are your devices. If CD is there it may not be correctly configured. If not, choose add to add one (or two). I chose auto detect because that seems to work for me. You may need to play around to find the right settings for you.

Repent
February 18th, 2007, 04:37 PM
Wow just tried to start up Windows and it's a no go, typed sudo /usr/bin/vmware-config.pl and I got this.

joe203@joe203-desktop:~$ sudo /usr/bin/vmware-config.pl
Making sure services for VMware Server are stopped.

Stopping VMware services:
Virtual machine monitor done
Bridged networking on /dev/vmnet0 done
DHCP server on /dev/vmnet1 done
Host-only networking on /dev/vmnet1 done
DHCP server on /dev/vmnet8 done
NAT service on /dev/vmnet8 done
Host-only networking on /dev/vmnet8 done
Virtual ethernet failed
Unable to stop services for VMware Server

Execution aborted.

I'm starting to think this just isn't meant to be .](*,)

hfw
February 18th, 2007, 04:40 PM
I got the same unable to stop services when i tried to config as well. I am curious what the fix for that is.

hfw

hearty
February 19th, 2007, 03:46 AM
Some how i have installed the Vmware server on my feisty ubuntu. Then I tested it with debian-stable as the guest OS; working well.
But for Windows Xp I have the pain. XP setup is halting saying that "There is no hardisk attached to your computer". I tried with different versions of XP but the problem remained the same.

SOS

xreed88
February 19th, 2007, 12:12 PM
after i go through through the vmware setup i get this error



Unable to get the last modification timestamp of the destination file
/etc/vmware/ssl/rui.key.

Excution aborted


anyone else have this problem?
thx in advance

Repent
February 19th, 2007, 03:49 PM
So can anyone tell me why my Virtual Ethernet failed? Windows ran just fine yesterday I had no problems logging on to the Internet.



joe203@joe203-desktop:~$ sudo /usr/bin/vmware-config.pl
Making sure services for VMware Server are stopped.

Stopping VMware services:
Virtual machine monitor done
Bridged networking on /dev/vmnet0 done
DHCP server on /dev/vmnet1 done
Host-only networking on /dev/vmnet1 done
DHCP server on /dev/vmnet8 done
NAT service on /dev/vmnet8 done
Host-only networking on /dev/vmnet8 done
Virtual ethernet failed
Unable to stop services for VMware Server

Thanks.

Repent
February 19th, 2007, 08:48 PM
Bump

evkefalas
February 20th, 2007, 06:34 AM
i follow the instructions and after i run the install
i get
evan@evan-laptop:~/Desktop/tmp/vmware-server-distrib$ vmware
bash: vmware: command not found
evan@evan-laptop:~/Desktop/tmp/vmware-server-distrib$ sudo ./vmware-install.pl
A previous installation of VMware software has been detected.

Failure

Execution aborted.

evan@evan-laptop:~/Desktop/tmp/vmware-server-distrib$

i ve tried to install nmplayer before from the synaptic pakg manager
but didnt use it and removed it normally
so it thinks i have a previous vmware installation there
any ideas how to solve this?

Many Thanks

Repent
February 20th, 2007, 11:17 AM
evkefalas just type the following to purge your system of Vmware, then reinstall.

sudo rm -rf /etc/vmware

type in your password when prompted and it will do the rest.


Needless to say you have to be very careful about how you use that command as used in the wrong place it can wipe out your whole OS


Thanks to praxis 22 for this code.

Repent

Repent
February 20th, 2007, 05:03 PM
OK the guys from Vmware called me and said the reason it says" Virtual ethernet failed
Unable to stop services for VMware Server" is because there server is having troubles.

But now can anyone tell me why I have to type " sudo /usr/bin/vmware-config.pl " every time I want to run the Vm server?:(

Aggienator
February 23rd, 2007, 12:27 PM
OK the guys from Vmware called me and said the reason it says" Virtual ethernet failed
Unable to stop services for VMware Server" is because there server is having troubles.

But now can anyone tell me why I have to type " sudo /usr/bin/vmware-config.pl " every time I want to run the Vm server?:(

Is there a solution to this apart from uninstalling and reinstalling VMWare server? When I try to run VMWare server I get told to run the config.pl, but I can't because of the "unable to stop services" problem.

Cheers Aggie

m.musashi
February 23rd, 2007, 12:39 PM
Is there a solution to this apart from uninstalling and reinstalling VMWare server? When I try to run VMWare server I get told to run the config.pl, but I can't because of the "unable to stop services" problem.

Cheers Aggie

I don't know of any solution but vmware is easy to reinstall. It only takes maybe 5 minutes (if that). Just make sure you do it right. I have several problems but this is what worked for me.

To reinstall vmware, uninstall and remove the /etc/vmware folder

sudo /usr/bin/vmware-uninstall.pl
sudo rm -Rf /etc/vmware

Now, to avoid problems from any leftover install logs or files this next step is important. Until I figured this out I had problems every time I reinstalled.

Delete the entire /vmware-server-distrib/ folder from your /home (if that is where you put it). Re-extract the archive or just download a new copy. Then run the install as usual.

AFAIK, this does not affect any installed virtual machines. Mine are in a folder in /home and once I reinstalled I just opened like normal and no prob.

miltiad
February 23rd, 2007, 10:22 PM
I just installed the version 1.0.1-29996 of vmware-server-console.

The installation went well but I don't have vmware-server in my system menu. When I start it from the command vmware-server-console it show up like everything is ok.

When it ask me to connect to a host I enter localhost in Hostname and nothing in User name and Password -> Unable to connect to the remote host: Cannot connect to host localhost: connection refused.

Btw I didn't have to enter a key.

Any idea ?

m.musashi
February 24th, 2007, 12:25 AM
I just installed the version 1.0.1-29996 of vmware-server-console.

The installation went well but I don't have vmware-server in my system menu. When I start it from the command vmware-server-console it show up like everything is ok.

When it ask me to connect to a host I enter localhost in Hostname and nothing in User name and Password -> Unable to connect to the remote host: Cannot connect to host localhost: connection refused.

Btw I didn't have to enter a key.

Any idea ?

I'm not sure about everything but depending on how you set up networking you don't have to enter anything. Just select the radio button for localhost and click connect. You can add a item to the start menu manually. Just right click applications and choose edit menus. It's possible something didn't finish right since it never asked for a key and that could also explain why you don't have a menu icon or are having network problems. You could try to install it again. Watch the output closely as not all errors will cause the install to fail.

Zilulil
February 25th, 2007, 12:58 PM
When i try to install VMWare it says None of the pre-built vmmon modules for VMware Server 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)?
and when i say yes it fails to build vmm module... I have no idea what to do next.

m.musashi
February 25th, 2007, 01:05 PM
When i try to install VMWare it says None of the pre-built vmmon modules for VMware Server 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)?
and when i say yes it fails to build vmm module... I have no idea what to do next.

It looks like you do not have the needed packages for compiling. This line from the tutorialsudo apt-get install linux-headers-`uname -r` build-essential xinetd should have installed what you need. Double check that these packages are installed (you can just do it again if they're installed nothing will change and if not they will be installed). After you do that you should be able to proceed with the install.

EDIT: I think that is for dapper and/or edgy users. I think it's different for others. Double check the first page of the tutorial.

Zilulil
February 25th, 2007, 01:07 PM
ok i'm running fiesty... i'm going to reread the first page...and i already have the packages you listed installed

m.musashi
February 25th, 2007, 01:11 PM
ok i'm running fiesty... i'm going to reread the first page...and i already have the packages you listed installed

I don't know if this work with feisty. It should but there could be some differences or unmet dependencies.

However, my understanding is that feisty is supposed to support hardware virtualization so vmware may not be what you want. I really know nothing about the hardware virtualization - just rumor - but it might be worth looking into. I plan to when feisty is released.

Zilulil
February 25th, 2007, 01:13 PM
I'm trying to follow the Qemu howto in the wiki... but it seems to be borken...
Install the qemu, kernel-package, linux-source-version and kqemu-source
cd /usr/src/linux
make-kpkg debian
make-kpkg modules_image
module-assistant prepare kqemu
dpkg -i /usr/src/kqemu-modules-''version''.dpkg
the problem seems to come in because i dont' know what ''version'' he wants...

Zilulil
February 26th, 2007, 10:00 PM
EDITED: well i fixed that problem...got another slightly smaller one and a big one... the small one is i can only start vmware with LD_PRELOAD=/usr/lib/libdbus-1.so.3:$LD_PRELOAD vmware

EDITED: fixed that one

Repent
February 27th, 2007, 12:29 AM
Can anyone tell me why I have to type " sudo /usr/bin/vmware-config.pl " every time I want to run the Vm server? Windows runs great afterwards but when I log off I will have to run config to get it to run again.

m.musashi
February 27th, 2007, 12:56 AM
I'm trying to follow the Qemu howto in the wiki... but it seems to be borken...
Install the qemu, kernel-package, linux-source-version and kqemu-source
cd /usr/src/linux
make-kpkg debian
make-kpkg modules_image
module-assistant prepare kqemu
dpkg -i /usr/src/kqemu-modules-''version''.dpkg
the problem seems to come in because i dont' know what ''version'' he wants...

Are you trying to use vmware or kvm? If you want kvm (which is probably better if it works) check this thread (http://ubuntuforums.org/showthread.php?t=350691). There is a link in the first post to a how to that may or may not be better than the one you are following.

khafra
February 27th, 2007, 11:10 PM
I've been using XP under VMWare in Ubuntu 6.10 for a couple of months now. I hadda ctrl+alt+backspace out of Gnome, which I've done before, because rdesktop made the session unresponsive to keyboard or mouse input. But this time, VMWare won't start again.

- I click it, "Starting VMWare Server Console" appears in the taskbar for a few seconds, but it disappears and I never see an application window
- According to ps axvw, there's no vmware-related tasks running after this (or before, or during)
- /var/log/vmware/vmware-serverd.log has no entries later than three days ago, the last time I successfully started vmware

The homework I need to do in my .NET IDE is due in four days :(

m.musashi
February 27th, 2007, 11:27 PM
Try staring in a terminal and see what kind of errors, if any, you get. That might help pin it down.

khafra
February 28th, 2007, 01:59 AM
Thanks, Miyamoto. It told me vmware is installed, but has not been (correctly) configured for this system. Does the graphical starter use a different configuration file than the command line? If not, could the configuration file still be out there, and just lost somehow? I don't get it, I didn't move anything around or delete anything--automatic ubuntu updates and data file downloads are the only changes I've made.

els
February 28th, 2007, 04:03 AM
Worked great. Thanks a lot. This is way cool.

veloce
February 28th, 2007, 06:58 PM
Thanks, Miyamoto. It told me vmware is installed, but has not been (correctly) configured for this system. Does the graphical starter use a different configuration file than the command line? If not, could the configuration file still be out there, and just lost somehow? I don't get it, I didn't move anything around or delete anything--automatic ubuntu updates and data file downloads are the only changes I've made.

Have you recently upgraded your kernel? Sounds like you need to run vmware-config again. This recompiles some stuff for your system.

m.musashi
February 28th, 2007, 07:16 PM
Thanks, Miyamoto. It told me vmware is installed, but has not been (correctly) configured for this system. Does the graphical starter use a different configuration file than the command line? If not, could the configuration file still be out there, and just lost somehow? I don't get it, I didn't move anything around or delete anything--automatic ubuntu updates and data file downloads are the only changes I've made.

Starting with the menu or in a terminal should be the same. Did the terminal give any output? If so, can you post it? I suggested the terminal as it will usually give you some info about what might be causing it to not work. I had a permissions problem before and didn't know what it was until I used the terminal.

As veloce suggests it could be kernel issue too.

khafra
February 28th, 2007, 09:18 PM
I got it--Veloce hit the nail on the head. Ubuntu updated my kernel, so the vmmon installed using my old header files was no longer valid. Wish the program woulda told me that instead of silently failing.

veloce
February 28th, 2007, 11:54 PM
I got it--Veloce hit the nail on the head. Ubuntu updated my kernel, so the vmmon installed using my old header files was no longer valid. Wish the program woulda told me that instead of silently failing.

Yeah, I spent ages trying to track this one down. I'd just spent ages trying to get dual screens working and thought it was X causing the problem!

Vincent_Lin
March 1st, 2007, 12:13 PM
Dear all,

I am mostly certain that this question has been asked before, but bear with me for being too lazy lookin it up.

I have xp running as guest in vmware server under 6.10. Everything works (except skype, that's a well known problem), including sound, usb, networking, highresolution, ..).

The problem is that I could not use audio device in xp when another program is using audio device outside vmware, say mplayer, with or without gnomes' esound enabled. Message is something like audio device not availabe, or used by another program, something like that.

Does any one have a workaround?

Thank you very much.

Cheers,


Vincent Lin

praxis22
March 1st, 2007, 03:09 PM
The problem is that I could not use audio device in xp when another program is using audio device outside vmware,

I would have expected that to be honest, either that or you'll get a cacophony of two separate sets of sounds coming out of the same speakers. Though of the two options I would expect that only one application can exclusively use the audio output registers at one time to be the logical choice.

You can only really listen to one thing at a time anyway, failing that buy and configure a USB sound card, that way you have two sound cards, one for each OS.

littlewing0906
March 1st, 2007, 03:36 PM
Wow! It works great! Great guide btw!

But i'm having 1 problem!

I press the "full screen" button, and i get a error!

Unable to find an appropiate host video mode.
Adding the guest mode to the 'display' subsection of the 'screen' section of your /etc/X11/XF86Config and restarting X is likely to help.

I think it means Xorg.conf in the same directory, but i have no idea to "add the guest mode."

I'm going to restart X now to see how that goes!

I'll post results here.

After surfing the VMTN Discussion forums I found a thread,
http://www.vmware.com/community/thread.jspa?messageID=519426񾴂

i am currently running X at 1280x800; the guest OS is Windows XP. I turned off the guest OS, then opened and added to the *.vmx file these lines:
svga.maxWidth = "1280"
svga.maxHeight = "800"
Then I started the guest OS up and changed the resolution in WindowsXP to 1280x800.
I was able to get full screen working! By default, the vmx file is stored under /var/lib/vmware/VMWare Machines/.

caffienda
March 2nd, 2007, 12:36 AM
Wow, long thread! My eyes are bleeding..
I'm having an install problem, and I saw many other users experiencing this throughout the thread, but they were all different. I apologize if this is a repeated question, but I didn't see an answer that fit my question.

I just installed 6.10 Server and am trying to now install VMware server. I am getting a error about 2/3's of the way through the install. Any idea on how to clear this up?



apt-get install libx11-6 libx11-dev libxtst6 xlibs-dev xinetd wget apt-get install
linux-headers-386 build-essential apt-get install gcc binutils-doc cpp-doc make manpages-dev
autoconf automake1.9 libtool flex bison gdb gcc-doc gcc-4.0-doc libc6-dev-amd64 lib64gcc1

tar xvfz VMware-server-*.tar.gz cd vmware-server-distrib sudo ./vmware-install.pl

This is the message I get pretty far into the install:

None of the pre-built vmmon modules for the VMware server 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 Use enviornment variable CC to override.

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

The path "/usr/src/linux/include" is not an existing directory.

The text in blue is what loops when I press enter here. I guess it is missing a C compiler or something?

I have the following directories in the /usr/src/ folder
linux
linux-headers-2.6.17-11
linux-headers-2.6.17-11-386
I've tried using all of these folders in the install, followed by the /include folder.
ex. /usr/src/linux-headers-2.6.17-11/include and this is what I get:
The directory of the kernel headers (version 2.6.17-11) does not match your running kernel (version 2.6.17-10-server). Even if the module were to compile successfully, it would not load into the running kernel.

What do I do?

garren
March 2nd, 2007, 04:24 PM
I'm having two problems, one of which is similar to that which someone else posted. I got VMWare-server running, and I intalled XP, after I power down my computer and turn it on again, when I run vmware-server-console, it gives me this error:
VMware Server Error:
VMware Server is installed, but it has not been (correctly) configured for your running kernel. To (re-)configure it, your system administrator must find and run "vmware-config.pl". For more information, please see the VMware Server documentation.
At the suggestion of the error box as well as the replies in this forum, I ran vmware-sonfig.pl again. Doing so fixed the problem...until I turned off the computer and turned it back on again (to tell you the truth, I don't know if actually turning off the computer did it; I may have gotten the same error after turning vmware off and on again, but I'm not sure because I haven't tried it. I can though if you guys really need me to) [EDIT: I have now experimented with this; merely quiting the server console does not mess things up--it's only when I turn off my computer and restart it that I get the problem. Every time I restart my computer, if I want to run VMware, I have to run vmware-config.pl].

Any ideas?
[EDIT: Answer found here: http://ubuntuforums.org/showthread.php?t=288018. Man, you forum guys are so smart!]
[EDIT (again): The answer above was mostly ok, except deleting the "not configured" file messed up my server. So I ran "vmware" in the console, and it had me reconfigure something, and now it is working properly.]

Second problem--I think this is because of the way I installed VMware. To run it, I have to open a console and use sudo, I can't just open it from the menu. What did I do wrong, and how should I make it so I can just open it from the menu?

[EDIT: I have now tried "sudo chown -R <my username> <whatever file I need to do this to>; and it worked.]

Oh--by the way; this is VMware 1.0.2 build-39867 on Edgy (with kernel-2.6.17-11-generic) on a dell D400 laptop.

schorsch
March 2nd, 2007, 04:43 PM
Hi,

I have the following directories in the /usr/src/ folder
linux
linux-headers-2.6.17-11
linux-headers-2.6.17-11-386
I've tried using all of these folders in the install, followed by the /include folder.
ex. /usr/src/linux-headers-2.6.17-11/include and this is what I get:
The directory of the kernel headers (version 2.6.17-11) does not match your running kernel (version 2.6.17-10-server). Even if the module were to compile successfully, it would not load into the running kernel.

What do I do?

I guess, you have updated all packages as proposed by Ubuntu. But you did not not boot into the updated kernel 2.6.17-11-server, right? As long as you have not booted the updated kernel, the updated kernel-headers do not match the running kernel, So please either boot into the new kernel or downgrade the kernel headers to version 2.6.17-10-server.

caffienda
March 2nd, 2007, 06:01 PM
Hi,


I guess, you have updated all packages as proposed by Ubuntu. But you did not not boot into the updated kernel 2.6.17-11-server, right? As long as you have not booted the updated kernel, the updated kernel-headers do not match the running kernel, So please either boot into the new kernel or downgrade the kernel headers to version 2.6.17-10-server.

Thanks for the response. I tried rebooting and am still getting the same error:
The directory of the kernel headers (version 2.6.17-11) does not match your running kernel (version 2.6.17-10-server). Even if the module were to compile successfully, it would not load into the running kernel.

I'm not sure how to downgrade my kernel or make it run the 2.6.17-11 version. Suggestions?

PartisanEntity
March 2nd, 2007, 06:58 PM
I installed vmware server and win xp pro today. I am trying to get win xp to access the internet. When I try to enable NIC0 in Vmware Tools Properties but I get an error message that

Could not open /dev/vmnet8: No such file or directory
Failed to connect virtual device Ethernet0.

Now in edgy I am connected to wifi only through eth1.

Screenshots to follow:

ace_a1
March 2nd, 2007, 07:08 PM
hello !!
i have ubuntu running as a host and xp home edition as a guest .. i got the vmware server working today .. finally !! thanks to the guide here !! but as i was looking through my windows i found out .. that i have no sound and no internet connection .. plus on my ubuntu i m connected to the internet via wifi and its the eth1 network connection .. so while configuring vmware server i used the eth1 for connection .. i dont know if tht is wht i should do .. plus i really need the sound thing working .. and yeah when i check the device manager on my computer (xp) all the drivers are installed .. but the funny thing is its using vmware drivers !! newayz i hope some one finds the solution !!

m.musashi
March 2nd, 2007, 07:12 PM
I'm not sure how to downgrade my kernel or make it run the 2.6.17-11 version. Suggestions?

I think you need to reconfigure vmware for the new kernel. Here are the instructions from the first page:
After a kernel upgrade VMWare won't start because it has not been (correctly) configured for the running kernel

execute
sudo /usr/bin/vmware-config.pl

alteveer
March 2nd, 2007, 09:19 PM
For some reason I had problem installing a virtual machine if I ran "vmware" so I always do:

sudo vmware

to run it as a super user (correct me if this is not a good policy please)
Mariano

i would say, as a general rule, give everything as little permission as is humanly possible, friend. i won't make this a soapbox, but viruses on windows are a great example of why.

when my server console wasn't starting up after i used sudo to put the serial number in (i forgot to during install), i ran vmware in a shell to see what the issue was:

Unable to alloc client: Cannot open file "/home/alteveer/.vmware/preferences": Permission denied.

... permissions! and this:

sudo chown -R <your username> ~/.vmware

should to the trick.

c

schorsch
March 3rd, 2007, 03:00 AM
Thanks for the response. I tried rebooting and am still getting the same error:


I'm not sure how to downgrade my kernel or make it run the 2.6.17-11 version. Suggestions?

What is the output of the following comands:


uname -a
dpkg -l | grep kernel
cat /boot/grub/menu.lst

PartisanEntity
March 4th, 2007, 03:57 PM
Could someone help me resolve this issue (http://ubuntuforums.org/showpost.php?p=2238088&postcount=889)? I would really appreciate it. I can't XP Pro to access the net in vmware because when I try to activate NIC0 I get an error message.

Could it be due to the fact that during the configuration I selected 'no' to set up betworking for the hosted OS? I did that because I had no idea what to enter in that section concerning pots etc..

m.musashi
March 4th, 2007, 05:22 PM
That's probably the reason. You might want to reconfigure it (or just reinstall vmware it won't mess up the xp already installed) and this time just accept the defaults for networking.

caffienda
March 4th, 2007, 05:58 PM
What is the output of the following comands:


uname -a
dpkg -l | grep kernel
cat /boot/grub/menu.lst


uname -a:
Linux TRex 2.6.17-11-generic #2 SMP Thu Feb 1 19:52:28 UTC 2007 i686 GNU/Linux

dpkg -l | grep kernel
ii iptables 1.3.5.0debian1-1ubuntu2 Linux kernel 2.4+ iptables administration to
ii libdrm2 2.0.2+git20060809-0ubuntu1 Userspace interface to kernel DRM services -
ii linux-headers-2.6.17-10 2.6.17.1-10.34 Header files related to Linux kernel version
ii linux-headers-2.6.17-10-generic 2.6.17.1-10.34 Linux kernel headers for version 2.6.17 on x
ii linux-headers-2.6.17-11 2.6.17.1-11.35 Header files related to Linux kernel version
ii linux-headers-2.6.17-11-generic 2.6.17.1-11.35 Linux kernel headers for version 2.6.17 on x
ii linux-headers-generic 2.6.17.11 Generic Linux kernel headers
ii linux-image-2.6.17-10-generic 2.6.17.1-10.34 Linux kernel image for version 2.6.17 on x86
ii linux-image-2.6.17-11-generic 2.6.17.1-11.35 Linux kernel image for version 2.6.17 on x86
ii linux-image-generic 2.6.17.11 Generic Linux kernel image
ii module-init-tools 3.2.2-3ubuntu3 tools for managing Linux kernel modules
ii udev 093-0ubuntu18.0edgy2 rule-based device node and kernel event mana


cat /boot/grub/menu.lst
# menu.lst - See: grub( 8 ), info grub, update-grub( 8 )
# grub-install( 8 ), grub-floppy( 8 ),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 3

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=3fb2b0d1-7574-44e3-8d68-df68b3e2de5a ro
# kopt_2_6=root=/dev/sda1 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

title Ubuntu, kernel 2.6.17-11-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/sda1 ro quiet splash
initrd /boot/initrd.img-2.6.17-11-generic
quiet
savedefault
boot

title Ubuntu, kernel 2.6.17-11-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/sda1 ro single
initrd /boot/initrd.img-2.6.17-11-generic
boot

title Ubuntu, kernel 2.6.17-10-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda1 ro quiet splash
initrd /boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot

title Ubuntu, kernel 2.6.17-10-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda1 ro single
initrd /boot/initrd.img-2.6.17-10-generic
boot

title Ubuntu, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

PartisanEntity
March 4th, 2007, 06:24 PM
That's probably the reason. You might want to reconfigure it (or just reinstall vmware it won't mess up the xp already installed) and this time just accept the defaults for networking.

Thanks for the info, reconfiguring and selecting networking defaults worked.

I just realised I have on sound in vmware xp pro, any tips on how to solve this? :)

m.musashi
March 4th, 2007, 09:09 PM
Thanks for the info, reconfiguring and selecting networking defaults worked.

I just realised I have on sound in vmware xp pro, any tips on how to solve this? :)

No. I don't have sound either. I haven't bothered to try and fix it since I almost never use it. There might be something in this thread though. I kind of remember reading about it.

Anyway, glad you got it more or less working.

PartisanEntity
March 5th, 2007, 07:49 AM
Well I can live without sound in vmware too, don't really need it. But now network manager keeps crashing ever since I reconfigured vmware settings to allow networking. If I remove vmware will that undoe the offending settings?

I use wifi as my main way of connecting to the internet, I don't have ethernet in this room. So since reconfiguring vmware, if I disable network manager I cannot re-enable it, and if I do try to do so it crashes edgy and I have to manually shutdown.

This is extremely annoying...

Update: I reconfigured vmware, this time I said 'no' to setting up networking, it undid the previous networking settings and upon testing network manager it no longer crashes if I disable it and I can once again re-enable it without problems. Has anyone else noticed this?

schorsch
March 5th, 2007, 03:58 PM
Hola, caffienda

that is weird ..... :

"uname -a" tells you the version of the running kernel and this is "2.6.17-11-generic" .....
"dpkg -l | grep kernel" shows the installed packages regarding the kernel and the right header packages are installed ...
... and grub boots into the mentioned 2.6.17-11-generic kernel ....

so where does the reference to the 2.6.17-10-server kernel come from?

... but I am missing the kernel sources in the output of the "dpkg -l" command

Could you please check the following commands:


cd /lib/modules
find . -name build


What is the content of the directory "/usr/src/linux" ?

Perhaps you should install the kernel sources for the running kernel and unpack them via


sudo apt-get install linux-source-2.6.17
cd /usr/src
sudo tar jxvf linux-source-2.6.17.tar.bz2
sudo ln -s linux-source-2.6.17 linux


After this please try co configure vmware again ....

chinaski
March 5th, 2007, 06:11 PM
hello, for me simple copy&paste works
I quote myself to correct:

copy&paste from Ubuntu to XP virtual machine do not work (I'm sure it did the first time I installed it... and I was not drunk I swear :D ) but then I solved by sharing a folder in Ubuntu that I can browse from emulated XP.

It works fine :)

olieviya
March 6th, 2007, 08:01 AM
Windows run from inside VMWare doesn't recognise my screen as being widescreen, what can i do?

PartisanEntity
March 6th, 2007, 03:40 PM
Windows run from inside VMWare doesn't recognise my screen as being widescreen, what can i do?

I had the same problem, I solved the issue using the method mentioned on page 2 of this thread (http://www.ubuntuforums.org/showthread.php?t=316381). You have to edit the windows registry.

soffdarbau
March 7th, 2007, 05:54 PM
Hi all,

I installed VMware last night on my Ubuntu and run a fresh copy of XP through it. All works well but the internet through XP is not working and yet it is fine through Ubuntu (as is everything else :) ). How do I get the internet through VMware working on XP, all I really want it for is skype video calls to overseas ( i know about other VOIP's but it is the other side that are older and stuck in their ways...)

Thanks,

PartisanEntity
March 7th, 2007, 05:58 PM
Do you get an error message when xp is loading in vmware? Something with the words vmnet# ? If yes, then you need to reconfigure vmware and this time select 'yes' when it asks about networking set up.

veloce
March 7th, 2007, 07:49 PM
Hi all,

I installed VMware last night on my Ubuntu and run a fresh copy of XP through it. All works well but the internet through XP is not working and yet it is fine through Ubuntu (as is everything else :) ). How do I get the internet through VMware working on XP, all I really want it for is skype video calls to overseas ( i know about other VOIP's but it is the other side that are older and stuck in their ways...)

Thanks,

Isn't there a linux version of skype?

Otherwise, yeah, what he said - you need to setup virtual networking. Bridged would be easiest for one vm.

bankie
March 7th, 2007, 09:28 PM
The options under Hardware in the VM settings are grayed out. Any reason for this?

cknight725
March 7th, 2007, 11:52 PM
Something I ran across ...

I followed this HOWTO to get VMWare and XP running -- it works great! However I was unable to get WindowsUpdate to run. It would always error out with error 0x8007227 or something like that. Basically it blamed proxy settings.

The fix was to set the Windows XP MTU setting to match that of the Ubuntu host machine. In my case that was a size of 1492.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip\Parameters\Interfaces\{SomeDamnInterfaceC ode}]

"MTU"=dword:000005d4

nevertheless
March 8th, 2007, 04:29 PM
I want to install windows xp and ubuntu on vmware but do I have to reinstall windows xp if its already on my computer or can I just put it on the vmware to boot with ubuntu. Also if I install this does ubuntu and windows xp start everytime together or will I have a choice with dual boot still.

markus77
March 8th, 2007, 04:39 PM
Hi everyone,
I installed today vmware-server to my ubuntu server and installation gone fine.
I can also make a new virtual machine and boot it up, but problems start when
I try install windows xp on it. Keyboard is not detected because I can't press Enter to Install
or press ctrl-alt to escape from virtual machine. I use my server via nomachine nx-client is that the problem,if it's, is there any solutions for that.

thanks,
-markus

PartisanEntity
March 8th, 2007, 05:33 PM
I want to install windows xp and ubuntu on vmware but do I have to reinstall windows xp if its already on my computer or can I just put it on the vmware to boot with ubuntu. Also if I install this does ubuntu and windows xp start everytime together or will I have a choice with dual boot still.

You need to install xp inside vmware, and no it does not dual boot. vmware is an application that you launch when you need it (inside ubuntu in this case). vmware is not to be mixed up with native installations of any OS.

Traiklin
March 8th, 2007, 05:53 PM
ok this does not want to install at all for me.

I just copied and pasted everything quoted so it wouldn't mess up, it worked fine till

sudo ./vmware-install.pl

when I go to run that I get this error

sudo: ./vmware-install.pl: command not found

I tried to use Automatrix & the repository but they both only had the player not the server, I try to just run the install.pl file in the terminal and the only thing that happens is the terminal comes up then closes right away.

I'm running whatever the latest VMWare server is & ubuntu 6.10.

PartisanEntity
March 8th, 2007, 06:06 PM
Are you sure you are in the right folder? You need to navigate to the vmware folder you downloaded in order for that command to start the installer.

Traiklin
March 8th, 2007, 08:16 PM
Are you sure you are in the right folder? You need to navigate to the vmware folder you downloaded in order for that command to start the installer.

yep, it's in the right folder, when I did just /tmp then when I tried to do cd vmware-server-distrib
it kept giving me an error that vmware-server-distrib couldn't be found, I renamed the folder and same error, then I tried just moving all the files to just the /tmp folder and I still got the error that it couldn't run the installer for some strange reason.

Jontydog
March 12th, 2007, 12:59 AM
Great How to XP is up and running fine in VMware. The only problem I have is my Skystar 2 PCI satellite card has not been found. Is there a way to install it in or am I flogging a dead horse. I wanted xp installed to use altdvb as I prefer this to mythtv or vdr which are way too complicated for a linux n00b like myself. I have tried altdvb in wine and it finds the card but won't register the needed drivers. Any help gratefully received :)

Jontydog
March 12th, 2007, 01:03 AM
Traiklin I know this may sound daft but when I tried to install vmware the first time I actually forgot to extract the files and it took me ages to find out where I had gone wrong. I extracted the folder to the desktop and then ran it from there.

nicklogan
March 13th, 2007, 03:45 PM
I get this error message after running
sudo ./vmware-install.pl



Unable to get the access rights of source file "./vmware-vix/bin".

Execution aborted.

What could it be!?!

If you are installing any files to a directory which has been formatted as FAT32, put the option 'quiet' in the fstab line for that drive or partition. That solved the problem for me.
example:
UUID=45A6-A5E9 /media/Files vfat iocharset=utf8,umask=007,quiet,users,gid=100,uid=1 000 0 0

veloce
March 13th, 2007, 08:52 PM
Great How to XP is up and running fine in VMware. The only problem I have is my Skystar 2 PCI satellite card has not been found. Is there a way to install it in or am I flogging a dead horse. I wanted xp installed to use altdvb as I prefer this to mythtv or vdr which are way too complicated for a linux n00b like myself. I have tried altdvb in wine and it finds the card but won't register the needed drivers. Any help gratefully received :)

Definately dead horse on this one. vms can only use hardware passed to them by the host os (in this case linux). If linux doesn't have drivers for the card then it has no way of passing access on to the vm. Further, vmware only has options to pass certain types of hardware on, and I don't think tv cards are included. And finally, vmware cannot run any 3d acceleration so tv is likely to be a non-starter.

akailum
March 15th, 2007, 06:09 AM
that was greatly explained. It helped me a lot.
very much appreciated.
cheers
DA

dmeans08
March 17th, 2007, 01:19 AM
Hey Everyone,
I have been getting an error despite having installed vmware server successfully in the past.

"vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware-config.pl."

I have already tried reconfiguring twice, un-installing reinstalling, and reconfiguring.
Anyways if anyone can help me I would greatly appreciate it.
-Derek

dmeans08
March 17th, 2007, 01:55 AM
Hey Everyone,
I found a solution to my problem that I am sure is considered fairly obvious, I simply erased the not_configured file.
-Derek

fakie_flip
March 17th, 2007, 04:10 AM
Here is a guide for anyone trying to install VMWare Server in the development version of Feisty.

http://icanthack.com/?p=53

Master Dwarf
March 17th, 2007, 02:04 PM
I have VMServer installed on Edgy. It launches without a hitch. I create a machine in the default directory and /home/username/virtualmachines/

While trying to install Xp home it says windows cannot find my cd rom drive even though it originally booted (vm) from it. It happens after the xp EULA. I started going through this monstrous thread and found nothing about this. Granted I only checked 50 some pages, so maybe the solution is indeed here somewhere. It's a regular NEC, IDE, DVD burner. I even tried futzing with the CDRom settings in the VM to no avail.

johnbuck
March 18th, 2007, 10:44 AM
I already have window XP and Ubuntu on different partitions and currently dual booting via GRUB. I like to boot with XP in Ubuntu. Can I use XP which already installed or do I need to reinstall XP under VMware?

mills
March 18th, 2007, 07:51 PM
the installation of vmware server went well but when i tried to start it, no joy.

i typed vmware in terminal and got this error.

/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)

an imaginary pint for anyone who solves it:)

EDIT: solved it..... sudo apt-get remove libdbus-1-2

credit to kevinG

praxis22
March 19th, 2007, 09:19 AM
I already have window XP and Ubuntu on different partitions and currently dual booting via GRUB. I like to boot with XP in Ubuntu. Can I use XP which already installed or do I need to reinstall XP under VMware?

Not as far as I know, I think you need to install XP into vmware from scratch. It's what I had to do.

gabng
March 19th, 2007, 10:29 AM
I already have window XP and Ubuntu on different partitions and currently dual booting via GRUB. I like to boot with XP in Ubuntu. Can I use XP which already installed or do I need to reinstall XP under VMware?

Not as far as I know, I think you need to install XP into vmware from scratch. It's what I had to do.

Actually, it's possible to run the existing Windows install within Ubuntu through VMware server.
Check out this thread: http://www.ubuntuforums.org/showthread.php?t=365057

praxis22
March 19th, 2007, 10:46 AM
I could be wrong here, but I suspect that what JohnBuck wants is to be able to use his currently installed version of XP under vmware. This, as far as I know, is not possible.

What the link you provided does, is give you a way to clone your existing install to a VM image. Essentially duplicating your entire XP install, meaning you require a lot more storage space. if your XP partition/disk is 20Gb, you need a 20Gb VM image. This VM, is then physically isolated from the real XP install.

So if you change your screen saver in the VM, the screensaver in the physical install of XP will remain unchanged.

Essentially you can take a copy, but you can't use the real thing. That is my understanding of the situation.

gabng
March 19th, 2007, 11:13 AM
I could be wrong here, but I suspect that what JohnBuck wants is to be able to use his currently installed version of XP under vmware. This, as far as I know, is not possible.

What the link you provided does, is give you a way to clone your existing install to a VM image. Essentially duplicating your entire XP install, meaning you require a lot more storage space. if your XP partition/disk is 20Gb, you need a 20Gb VM image. This VM, is then physically isolated from the real XP install.

So if you change your screen saver in the VM, the screensaver in the physical install of XP will remain unchanged.

Essentially you can take a copy, but you can't use the real thing. That is my understanding of the situation.

Actually if you read the entire thread, I've confirmed I am able to run my existing Windows install in Ubuntu through VMware server, not cloning nor converting the physical partition to a VM or whatever, but actually running the Windows install as is, which lies in the NTFS partition in the same computer, which can be dual booted, anything changed through running the Windows through VMware will be reflected when you actually dual boot into Windows (I hope I'm clear enough on this).

praxis22
March 19th, 2007, 11:45 AM
Post in haste, repent at leisure :)

OK, I see what you mean, but that would mean installing VMtools into your native XP partition, not to mention having to chose which hardware profile to use each time you boot into XP, right?

I'm also presuming that certian apps which rely on the base hardware, like DX9 games, etc, Don't work under emulation, at least not with Server. I know Workstation is a lot better in this regard.

Since I've backed my data up, prior to re-installing, I may give it a try later, what NTFS stuff have you got installed?

gabng
March 19th, 2007, 12:27 PM
:) I wasn't clear enough with my first post anyways.

You're right, I had to install VMtools in the native XP, but it doesn't affect anything when dual booted into XP if you have any concerns for that. And yes, you'll need to choose the hardware profile when booting into XP, in both dual booting and booting in VMware.

I haven't tried running 3D apps when running the native XP in VMware, but I would think it's the same as running a guest XP in VMware, since it's emulated hardware, 3D support won't be too good, if there is any at all.

I used VMware server since it's free as opposed to workstation, so can't comment on workstation. But I think I'll directly boot into XP anyways if I'm going to run any 3D or memory intensive programs.

What do you mean by NTFS stuff? If you mean programs in Windows, just everything I had in XP before making it work in VMware. If you mean programs in Linux to access NTFS partitions, I have ntfs-3g installed to read and write to NTFS partitions.

Few pieces of advice on running the native XP in vmware is be careful on booting that you don't boot into Ubuntu when you reach GRUB, I did that twice and was able to recover from it, but who knows if it will be recoverable next time. Also, if you use ntfs-3g, make sure native XP shuts down gracefully in vmware else you'll need to directly boot into XP to scan your NTFS partitions before being able to mount them again in Ubuntu. Just to be safe, I unmount all my NTFS paritions before running native XP in vmware to make sure they don't access the partitions at the same time. I don't actually know if any problems will arise from that, but I don't want to be test lab mouse and risk my data. :popcorn:

praxis22
March 19th, 2007, 12:50 PM
Yes, I meant what are you using in Ubuntu to mount NTFS, I'm running the same so it should be OK. I don't mount my NTFS partitons in Ubuntu anyway. I'm not sure the write access is 100% reliable under all situations. I use a FAT32 common file system as go between.

I'm guessing you can't suspend your XP install like you can with an image, right?

I don't dual boot, I'm running my systems on physically different disks, and GRUB refuses to load XP anyway. Though I suspect that it's probably less hassle to simply mirror XP to a VM and run that, less to lose if it all goes horribly wrong, I'm sure having to chose my profile each time would annoy me after a while anyway :)

gabng
March 19th, 2007, 01:11 PM
If you're talking about pausing XP in VMware, it actually does work, as long as you don't need to mount ntfs partitions after you suspend it. And I'm not sure about what will happen when you directly boot into XP after you pause it.

It's true it might be safer to convert XP into VM image, but it'll take up more space if you want to keep the native XP (not that storage space is expensive), but it'll be useful if you ever want to boot XP natively with any changes made when running in vmware being still there (not that I do it too often, since it's just used as a transition stage to linux for my family).

cesera
March 19th, 2007, 06:42 PM
I already have window XP and Ubuntu on different partitions and currently dual booting via GRUB. I like to boot with XP in Ubuntu. Can I use XP which already installed or do I need to reinstall XP under VMware?
Check out this reply in this thread:


http://www.ubuntuforums.org/showthread.php?p=1986129#post1986129

It is usually worth searching the forums carefully before asking questions. ;-)

ryankhart
March 19th, 2007, 07:33 PM
Will this also work for Suse 10.2?

Shampyon
March 19th, 2007, 09:42 PM
As far as I know this guide, minus the Windows-specific portions, will work perfectly for installing pretty much any pc-based OS.

Shampyon
March 21st, 2007, 12:28 AM
Damn, this is odd. I followed the intructions for accessing my actual XP pertition through VMWare Server. Once it gets to the stage where I'm supposed to fire it up for th efirst time, though, it fails, and I get this error:
Cannot open the disk '/var/lib/vmware/Virtual Machines/WINXP/WINXP.vmdk' or one of the snapshot disks it depends on.
Reason: The partition table is invalid.
My hard drive is split into 5 partitions:
XP (NTFS)
Linux storage space 1 (reiserfs)
Linux storage space 2 (reiserfs)
Ubuntu Home partition (reiserfs)
Linux swap partition

Edit: I've been able to find only one google result (http://www.vmware.com/community/thread.jspa?messageID=513200񽒰) in English matching this problem. Apparently it has something to do with XP and Linux reading partition tables differently. The fix is far more drastic than I'd like. it recommends reinstalling Linux entirely after using XP to create the partitions. I've only just gotten Ubuntu working again, and I really don't want to go through downloading and installing all of those hundreds of MB worth of extras for the nth time.

Any advice?

Trenchbroom
March 23rd, 2007, 02:19 AM
Just want to say "thanks" for this thread. With a bit of tinkering and some reading I've got it running and running well.

Shampyon
March 23rd, 2007, 04:39 AM
I managed to get it to start booting, but after the Windows Bootscreen starts there's some kind of error and it tries to restart. Stuck in a loop...

joco2
March 30th, 2007, 06:33 AM
have followed the instructions as stated but I keep getting this error in the terminal to run config again so i do but keep getting the same error. anyone know whats wrong here?



####@EvoLinux:~$ vmware
vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware-config.pl.

####@EvoLinux:~$ sudo /usr/bin/vmware-config.pl
Password:
Making sure services for VMware Server are stopped.

Stopping VMware services:
Virtual machine monitor done
Bridged networking on /dev/vmnet0 done
DHCP server on /dev/vmnet1 done
Host-only networking on /dev/vmnet1 done
Bridged networking on /dev/vmnet2 done
DHCP server on /dev/vmnet8 done
NAT service on /dev/vmnet8 done
Host-only networking on /dev/vmnet8 done
Virtual ethernet done

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type 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]

/usr/share/applications/vmware-server.desktop: error: Categories values must be one of "Core", "Development", "Building", "Debugger", "IDE", "GUIDesigner", "Profiling", "RevisionControl", "Translation", "Office", "Calendar", "ContactManagement", "Database", "Dictionary", "Chart", "Email", "Finance", "FlowChart", "PDA", "ProjectManagement", "Presentation", "Spreadsheet", "WordProcessor", "Graphics", "2DGraphics", "VectorGraphics", "RasterGraphics", "3DGraphics", "Scanning", "OCR", "Photography", "Viewer", "Settings", "DesktopSettings", "HardwareSettings", "PackageManager", "Network", "Dialup", "InstantMessaging", "IRCClient", "FileTransfer", "HamRadio", "News", "P2P", "RemoteAccess", "Telephony", "WebBrowser", "WebDevelopment", "AudioVideo", "Audio", "Midi", "Mixer", "Sequencer", "Tuner", "Video", "TV", "AudioVideoEditing", "Player", "Recorder", "DiscBurning", "Game", "ActionGame", "AdventureGame", "ArcadeGame", "BoardGame", "BlocksGame", "CardGame", "KidsGame", "LogicGame", "RolePlaying", "Simulation", "SportsGame", "StrategyGame", "Education", "Art", "Construction", "Music", "Languages", "Science", "Astronomy", "Biology", "Chemistry", "Geology", "Math", "MedicalSoftware", "Physics", "Teaching", "Amusement", "Applet", "Archiving", "Electronics", "Emulator", "Engineering", "FileManager", "Shell", "ScreenSaver", "TeminalEmulator", "TrayIcon", "System", "Filesystem", "Monitor", "Security", "Utility", "Accessibility", "Calculator", "Clock", "TextEditor", "KDE", "GNOME", "GTK", "Qt", "Motif", "Java", "ConsoleOnly" (found "Application")
desktop-file-install created an invalid desktop file!
Unable to install the .desktop menu entry file. You must add it to your menus
by hand.
/usr/share/applications/vmware-console-uri-handler.desktop: error: Categories values must be one of "Core", "Development", "Building", "Debugger", "IDE", "GUIDesigner", "Profiling", "RevisionControl", "Translation", "Office", "Calendar", "ContactManagement", "Database", "Dictionary", "Chart", "Email", "Finance", "FlowChart", "PDA", "ProjectManagement", "Presentation", "Spreadsheet", "WordProcessor", "Graphics", "2DGraphics", "VectorGraphics", "RasterGraphics", "3DGraphics", "Scanning", "OCR", "Photography", "Viewer", "Settings", "DesktopSettings", "HardwareSettings", "PackageManager", "Network", "Dialup", "InstantMessaging", "IRCClient", "FileTransfer", "HamRadio", "News", "P2P", "RemoteAccess", "Telephony", "WebBrowser", "WebDevelopment", "AudioVideo", "Audio", "Midi", "Mixer", "Sequencer", "Tuner", "Video", "TV", "AudioVideoEditing", "Player", "Recorder", "DiscBurning", "Game", "ActionGame", "AdventureGame", "ArcadeGame", "BoardGame", "BlocksGame", "CardGame", "KidsGame", "LogicGame", "RolePlaying", "Simulation", "SportsGame", "StrategyGame", "Education", "Art", "Construction", "Music", "Languages", "Science", "Astronomy", "Biology", "Chemistry", "Geology", "Math", "MedicalSoftware", "Physics", "Teaching", "Amusement", "Applet", "Archiving", "Electronics", "Emulator", "Engineering", "FileManager", "Shell", "ScreenSaver", "TeminalEmulator", "TrayIcon", "System", "Filesystem", "Monitor", "Security", "Utility", "Accessibility", "Calculator", "Clock", "TextEditor", "KDE", "GNOME", "GTK", "Qt", "Motif", "Java", "ConsoleOnly" (found "Application")
desktop-file-install created an invalid desktop file!
Unable to install the .desktop menu entry file. You must add it to your menus
by hand.
Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Server 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? [/lib/modules/2.6.17-11-generic/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.17-11-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.17-11-generic'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config0/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config0/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config0/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/task.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST
CC /tmp/vmware-config0/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.17-11-generic'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
The module loads perfectly in the running kernel.

This program previously created the file /dev/vmmon, and was about to remove
it. Somebody else apparently did it already.

You have already setup networking.

Would you like to skip networking setup and keep your old settings as they are?
(yes/no) [no]

Do you want networking for your virtual machines? (yes/no/help) [yes]

Would you prefer to modify your existing networking configuration using the
wizard or the editor? (wizard/editor/help) [wizard]

The following bridged networks have been defined:

. vmnet0 is bridged to eth0
. vmnet2 is bridged to ath0

All your ethernet interfaces are already bridged.

Do you want to be able to use NAT networking in your virtual machines? (yes/no)
[yes]

Configuring a NAT network for vmnet8.

The NAT network is currently configured to use the private subnet
192.168.235.0/255.255.255.0. Do you want to keep these settings? [yes]

The following NAT networks have been defined:

. vmnet8 is a NAT network on private subnet 192.168.235.0.

Do you wish to configure another NAT network? (yes/no) [no]

Do you want to be able to use host-only networking in your virtual machines?
[yes]

Configuring a host-only network for vmnet1.

The host-only network is currently configured to use the private subnet
192.168.2.0/255.255.255.0. Do you want to keep these settings? [yes]

The following host-only networks have been defined:

. vmnet1 is a host-only network on private subnet 192.168.2.0.

Do you wish to configure another host-only network? (yes/no) [no]

Extracting the sources of the vmnet module.

Building the vmnet module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.17-11-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.17-11-generic'
CC [M] /tmp/vmware-config0/vmnet-only/driver.o
CC [M] /tmp/vmware-config0/vmnet-only/hub.o
CC [M] /tmp/vmware-config0/vmnet-only/userif.o
CC [M] /tmp/vmware-config0/vmnet-only/netif.o
CC [M] /tmp/vmware-config0/vmnet-only/bridge.o
CC [M] /tmp/vmware-config0/vmnet-only/procfs.o
CC [M] /tmp/vmware-config0/vmnet-only/smac_compat.o
SHIPPED /tmp/vmware-config0/vmnet-only/smac_linux.x386.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.o
Building modules, stage 2.
MODPOST
WARNING: could not find /tmp/vmware-config0/vmnet-only/.smac_linux.x386.o.cmd for /tmp/vmware-config0/vmnet-only/smac_linux.x386.o
CC /tmp/vmware-config0/vmnet-only/vmnet.mod.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.17-11-generic'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config0/vmnet-only'
The module loads perfectly in the running kernel.

Please specify a port for remote console connections to use [902]

Stopping internet superserver: xinetd.
Starting internet superserver: xinetd.
Configuring the VMware VmPerl Scripting API.

Building the VMware VmPerl Scripting API.

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

Installing the VMware VmPerl Scripting API.

The installation of the VMware VmPerl Scripting API succeeded.

Generating SSL Server Certificate

In which directory do you want to keep your virtual machine files?
[/var/lib/vmware/Virtual Machines]

Do you want to enter a serial number now? (yes/no/help) [no]

Starting VMware services:
Virtual machine monitor done
Virtual ethernet done
Bridged networking on /dev/vmnet0 done
Host-only networking on /dev/vmnet1 (background) done
Bridged networking on /dev/vmnet2 failed
Host-only networking on /dev/vmnet8 (background) done
NAT service on /dev/vmnet8 done

The configuration of VMware Server 1.0.2 build-39867 for Linux for this running
kernel completed successfully.

####@EvoLinux:~$ vmware
vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware-config.pl.

####@EvoLinux:~$

carloslosgrande
March 30th, 2007, 07:44 AM
Hi, I followed this HowTo and everything ran like a breeze, well done Peturr.
A small matter has arisen - it seems the virtual XP cannot access usb drives? I checked the VMWare forums and its often said that ESX doesn't support USB but my VM menu shows a USB option under 'removable devices' but the 'connect/edit' filed shows as empty.
Does it mean that I actually can't use any USBs in virtual mode??
This is actually the reason I wanted to use this app.
Thanks.

Wofl
March 31st, 2007, 12:57 PM
i followed the instructions, but i get an error when tring to start

it tells me to rerun the /usr/bin/vmware-config.pl

kernel headers is al fine, but it somehow cant bridge the network...

this is what i get after runing the configure script again
Starting VMware services:
Virtual machine monitor done
Virtual ethernet done
Bridged networking on /dev/vmnet0 failed
Host-only networking on /dev/vmnet1 (background) done
Host-only networking on /dev/vmnet8 (background) done
NAT service on /dev/vmnet8 done

The configuration of VMware Server 1.0.2 build-39867 for Linux for this running
kernel completed successfully.


i told it to bridge network to my wifi connection (ath0)

Wofl
March 31st, 2007, 01:25 PM
i followed the instructions, but i get an error when tring to start

it tells me to rerun the /usr/bin/vmware-config.pl

kernel headers is al fine, but it somehow cant bridge the network...

this is what i get after runing the configure script again
Starting VMware services:
Virtual machine monitor done
Virtual ethernet done
Bridged networking on /dev/vmnet0 failed
Host-only networking on /dev/vmnet1 (background) done
Host-only networking on /dev/vmnet8 (background) done
NAT service on /dev/vmnet8 done

The configuration of VMware Server 1.0.2 build-39867 for Linux for this running
kernel completed successfully.


i told it to bridge network to my wifi connection (ath0)

*edit*

now got it working by entirely disabling the networking features...

phil90
March 31st, 2007, 04:02 PM
Hello

If I boot windows Xp in my ubuntu and my ubuntu is connected to Internet. Will Windowx Xp be able to use ubuntu internet if a software that require internet is working in windows???


Thanks

carloslosgrande
March 31st, 2007, 08:02 PM
Hi Phil90, I have XP running in VM and access the net thru Ubuntu just fine.

neogenesis213
April 1st, 2007, 01:47 AM
I also have the same problem as Wofl. I also have the wifi connection (ath0). VMware only works when i disable the bridge. But I can't access the internet inside my guest XP. Does anyone have a solution?

dany_r50
April 1st, 2007, 09:59 PM
How can I do to share data between the server host (ubuntu edgy) and the virtual machine (windows xp); The vmware server doesn't have the shared folder option (as vmware workstation). Thank you

yabbadabbadont
April 2nd, 2007, 02:21 PM
I also have the same problem as Wofl. I also have the wifi connection (ath0). VMware only works when i disable the bridge. But I can't access the internet inside my guest XP. Does anyone have a solution?

I don't remember where I read it, it may have been on the vmware forums or knowledgebase, but the vmware products cannont be bridged to a wireless connection, only wired ones. (unless they have changed things in the last couple of months)

rooihond
April 3rd, 2007, 03:15 PM
Hi Dany_r50, I just setup a Samba share on the Ubuntu host side, and then access it from XP. I had to do that because I cannot get the XP side to see any USB stuff, and probably will have problem with the pcmcia under XP as well. Still trawling the forums and net for info...


How can I do to share data between the server host (ubuntu edgy) and the virtual machine (windows xp); The vmware server doesn't have the shared folder option (as vmware workstation). Thank you

Dr. Cox
April 3rd, 2007, 05:44 PM
Hi there,

i've just tried to install vmware server using this guide. i had to abort it in between though. to be able to do it again i thought, hey, better delete all the files the install script has already written. unfortunately also the vmware-uninstall.pl script.
when i try to run the installer now, he complains about the missing file and i don't seem to be able to get him to install.

what do i have to do?

cheers

nickd916
April 3rd, 2007, 07:06 PM
I have a probnlem at

sudo ./vmware-install.pl

It asks to type in your password after this. The problem is after i put that in it wont let me type my password in. Can anybody help me?

Shampyon
April 3rd, 2007, 09:02 PM
I have a probnlem at

sudo ./vmware-install.pl

It asks to type in your password after this. The problem is after i put that in it wont let me type my password in. Can anybody help me?

Are you sure it's not letting you type it in? It won't come up with asterisks when you type it into the terminal, it just stays blank as though you've typed nothing. That way no-one can even see how many characters you have in your password.

Type it in, press enter and it should work. If it doesn't, you've got a problem one of the more experienced members will have to help you with.

Good luck!

Ijump2
April 3rd, 2007, 11:11 PM
VMware Server Console help needed (Ubuntu & VMware noob)...

I'm running Dapper with the 2.6.15-28-k7 kernal. VM Server (v1.0.2.39867) installation went well and no problems running the config.pl file (thanks to the HowTO) but when I try to connect to "Local Host" in Console I get an error message that the local server is not installed or not currently running.


Where do I go from here?

m.musashi
April 3rd, 2007, 11:53 PM
Hi there,

i've just tried to install vmware server using this guide. i had to abort it in between though. to be able to do it again i thought, hey, better delete all the files the install script has already written. unfortunately also the vmware-uninstall.pl script.
when i try to run the installer now, he complains about the missing file and i don't seem to be able to get him to install.

what do i have to do?

cheers

Did you solve this yet? If not, you should probably run the uninstall script first to clear everything else out. Since it's gone, you might try downloading the installer again. I think the script is one of the extracted files. If not, you might be able to run the install and have it created. Also,
sudo rm -Rf /etc/vmware
will delete what's left after running the uninstall.

Shampyon
April 4th, 2007, 01:30 AM
For those of you having trouble getting your proper XP partition working through VMWare, this might help:
http://www.vmware.com/community/message.jspa?messageID=288743

ububug
April 7th, 2007, 09:24 PM
I have a problem running VMWare. I get this message.


$ vmware
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
/usr/share/themes/Glider/gtk-2.0/gtkrc:29: error: unexpected character `@', expected string constant


Does anybody know how to fix this?

EDIT: Found a fix. http://www.zoxx.net/notes/index.php/2006/12/30/33-vmware-server-console-libpng-error-on-debian-gnu-linux

sp200606
April 8th, 2007, 12:40 PM
I don't know if this thread is still alive... but thanks anyway.
Here is my story:
I've been trying for a while to have vmware work on my Ubuntu box, but I always get this towards the end of the setup process:

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

/usr/share/applications/vmware-server.desktop: warning: The 'Application' category is not defined by the desktop entry specification. Please use one of "AudioVideo", "Audio", "Video", "Development", "Education", "Game", "Graphics", "Network", "Office", "Settings", "System", "Utility" instead
/usr/share/applications/vmware-console-uri-handler.desktop: warning: The 'Application' category is not defined by the desktop entry specification. Please use one of "AudioVideo", "Audio", "Video", "Development", "Education", "Game", "Graphics", "Network", "Office", "Settings", "System", "Utility" instead
Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Server 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? [/lib/modules/2.6.20-14-generic/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make -C /lib/modules/2.6.20-14-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-14-generic'
CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config1/vmmon-only/linux/driver.c:80:
/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘compat_exit’
/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘exit_code’
/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: warning: type defaults to ‘int’ in declaration of ‘_syscall1’
make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-14-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.
###################END####################

I just can't make it work???
I'm running 2.6.20-14-generic

Thanks for any help.

Stéphane POGGI

hoomant
April 10th, 2007, 01:44 PM
Hi everyone,
Can I run my existing Ubuntu 6.10 on my Windows XP?

Thanks
Hooman

mmcmonster
April 10th, 2007, 02:27 PM
Okay. I'm trying to get this to work with fiesty. I got to the part where it tries to build the kernel module, and then no go. I know I had this working on Dapper on another computer, no no dice here. Any help would be appreciated:


Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make -C /lib/modules/2.6.20-14-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-14-generic'
CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config1/vmmon-only/linux/driver.c:80:
/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘compat_exit’
/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘exit_code’
/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: warning: type defaults to ‘int’ in declaration of ‘_syscall1’
make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-14-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

mssever
April 10th, 2007, 02:49 PM
Hi everyone,
Can I run my existing Ubuntu 6.10 on my Windows XP?

Thanks
Hooman

I'm sure you can, but I don't know an easy way to do it. An advanced method might be the following (I haven't tested this command; it might need to be adjusted): cd /
sudo tar -cjpvf /path/to/external/device/old_system.tar.bz2 --exclude /proc --exclude /sys --exclude /dev --exclude /media --exclude /mnt --exclude /tmp .Then, on the vm machine, do a cd /
sudo tar -xjvf /path/to/old_system.tar.bz2WARNING: Doing this will destroy your hardware settings! You'll have to manually fis them. A safer method would be to exclude /etc when you make the tarball, but you wouldn't get other settings, either. So you might end up going through /etc file by file.

dynacrylic
April 10th, 2007, 11:07 PM
Awesome guide!

Thanks so much for taking the time to make this. It helped me a lot. I don't think I would have been able to do this without it.

David Valentine
April 10th, 2007, 11:32 PM
I just got the same error as mmcmonster on feisty. Has anyone succeeded in installing vmware server for feisty?

Kingedgar
April 11th, 2007, 01:33 PM
I just got the same error as mmcmonster on feisty. Has anyone succeeded in installing vmware server for feisty?

I found some information in this thread...

http://www.vmware.com/community/thread.jspa?threadID=71986&tstart=0

The any-any update is at 109 now, and there is a link in the thread to another thread that sheds some more light.

This got me further than the first error, however, I still have not been able to install it fully. If someone with fiesty follows the link I posted and gets it to work, please post back


-Jason

absol_of_doom
April 11th, 2007, 07:06 PM
i am running feisty and vm ware works perfectly. However, I only have Xubuntu and Fedora Core 6 in it, so if the errors are related to having windows, i wouldn't know.
Edit: sorry im running vbox, not vm ware...

seanleblanc
April 13th, 2007, 02:22 PM
I'm running Edgy and trying to get this to work.

What is running vmware supposed to do? Running the application from the menu just exits, so I ran the command-line. Initially, I got the errors about libpng.so and copied in gcc.so and libpng.so libs into the vmware/lib dir.

Now, when I run vmware it just sits there. Nothing happens. I cannot ctrl-C out of it, either?

brownknight
April 14th, 2007, 09:59 AM
Does anyone have any ideas how to remedy this?

Im having the same problem too. Dont know how to remove the prior install. I removed it via sudo apt-get remove and also went into synaptic to totally remove vmware-player. :confused:

brownknight
April 14th, 2007, 10:16 AM
Im having the same problem too. Dont know how to remove the prior install. I removed it via sudo apt-get remove and also went into synaptic to totally remove vmware-player. :confused:

Found the answer: sudo rm -r /etc/vmware
This folder was left after the uninstall. After removing it, installation went on without a problem.

brownknight
April 14th, 2007, 10:25 AM
i've been looking for the previous posts who experience the same problem with mine...

A previous installation of VMware software has been detected.

Failure

Execution aborted.

but i don't see any answer how to fix it.

initially, i installed vmware-player from synaptic until i found this forum. i removed vmware-player again from synaptic (complete removal) but i'm still getting the same message.

hope you could help me. i don't want to re-install my ubuntu because of this error message. i want my ubuntu to be the default OS on my laptop. windows is too bloated.

please help.

Had the same problem. Did this below:
sudo rm -r /etc/vmware
This folder was left after the uninstall. After removing it, installation went on without a problem.

goodtimetribe
April 14th, 2007, 01:01 PM
Very nice guide, thanks!

I've been keen for some time to try VMWare on Ubuntu, but didn't have nerve to do
it yet.

I guess it's out of question to use already installed XP on VMWare ?

I haven't read the entire thread, but there's the VMWare Convertor tool that will convert your existing XP Machine into a VMWare machine so that you can "take it with you" after you switch the machine to Ubuntu.

It's actually exactly perfect for what I believe you're looking for. I haven't tried it yet, but HowToForge has a howto on it. lemme know if you can't find the link. please post your experience here :)

kc5hwb
April 14th, 2007, 11:12 PM
I followed these instructions on the first page of this thread and all went well until I went to create a Virtual Machine. While creating my virtual disk the machines freezes up around 30-35% and I have to do a hard shut down/reboot in order to get it back. Any ideas on why this is happening?

bullgr
April 16th, 2007, 03:16 AM
i installed vmware using this howto and works perfect!!!
heavy apps like photoshop, coreldraw are working smooth and with no slowing down even in full screen!!!
now i can say that i have finally run perfect winblows xp on my ubuntu box.

my pc is a intel core2duo 6300 with 2gb ram. the settings i gave in the vitual session is 512mb ram, two cpu's
(yes you can give two cpu's if you have a dual core cpu), allocated the disk image space (about 15gb) to
run faster the virtual session and finally install the vmware tools after the win xp installation.

with this options (and of course the intel core2duo cpu) winblows xp run in native speed and never slowing down!!!

the intel core2duo cpu is important because intel (and amd in the new 64 cpu's) are included in the cpu command's (sorry about my english)
some command's for vitualisation performance support.
and this performance support are using vmware to get this great native speed.

don't search anything else... if you want to run any (and i mean it, ANY) winblows app in ubuntu with
the native speed, vmware is what you need.

i try also wine, but forget the heavy apps like photoshop. wine is goot for winamp and some like lightweight
apps.

i also try win4lin (cost's about 60 euro's), the installation was ok but the performance are poor even i the
pure environment of winblows, even the mouse pointer was moving slow.
win4lin uses the kqemu emulator (closed alternative from qemu with better performance), it is a software
emulator and don't use any hardware performance issues (like intel core2duo cpu).

and last some notes:
-for your local network give the bridget option and not NAT.
give a ip from the winblows tcp/ip options to get it to the network.

-to share files install and setup samba in ubuntu with your prefered options.
and please take care that you must config iptables to allow samba go thru.
if you don't that, you can't see the ubuntu shares (this took me two hours to figure it out).

Shampyon
April 17th, 2007, 01:32 AM
Here's an odd question for y'all.

You've heard of those WIndows XP Portable (http://www.tomshardware.com/2005/09/09/windows_in_your_pocket/) installations? The ones that are designed to run on a USB stick? Most are stripped down to be less that 200MB.

Is it possible to get one running in VMWare, either directly from the USB drive or (preferably) installed to the virtual disk?

drdnl
April 17th, 2007, 08:51 AM
To those of you having issues in Feisty with the vmmon module (mcmonster? too lazy to go back and check)

download and run the "any-any" patch which can be found here: http://knihovny.cvut.cz/ftp/pub/vmware/

as of 17-04-2007 the direct link would be http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update109.tar.gz

Now your vmware will work perfectly fine. Well, it did for me (7.04 i386)

mmcmonster
April 17th, 2007, 03:18 PM
Thanks for the help. I'm still having problems, though. :-( :

$ sudo ./runme.pl
Updating /usr/bin/vmware-config.pl ... now patched
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available
VMware modules in "/usr/lib/vmware/modules/source" has been updated.

Before running VMware for the first time after update, you need to configure it
for your running kernel by invoking the following command:
"/usr/bin/vmware-config.pl". Do you want this script to invoke the command for
you now? [yes]

Making sure services for VMware Server are stopped.

Stopping VMware services:
Virtual machine monitor done

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type 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 Server 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-3.4". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.20-15-generic/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make -C /lib/modules/2.6.20-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config1/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config1/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config1/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config1/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config1/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config1/vmmon-only/common/task.o
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-pointer-sign" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-ffreestanding" is valid for C/ObjC but not for C++
/tmp/vmware-config1/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageV321]’:
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1522: warning: ‘sysenterState.SysenterStateV45::rsp’ is used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1523: warning: ‘sysenterState.SysenterStateV45::rip’ is used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState.SysenterStateV45::validEIP’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState.SysenterStateV45::cs’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageV3]’:
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1522: warning: ‘sysenterState.SysenterStateV45::rsp’ is used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1523: warning: ‘sysenterState.SysenterStateV45::rip’ is used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState.SysenterStateV45::validEIP’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState.SysenterStateV45::cs’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageGSX1]’:
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1522: warning: ‘sysenterState.SysenterStateV45::rsp’ is used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1523: warning: ‘sysenterState.SysenterStateV45::rip’ is used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState.SysenterStateV45::validEIP’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState.SysenterStateV45::cs’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageV2]’:
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1522: warning: ‘sysenterState.SysenterStateV45::rsp’ is used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1523: warning: ‘sysenterState.SysenterStateV45::rip’ is used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState.SysenterStateV45::validEIP’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState.SysenterStateV45::cs’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunVM_V4(VMDriver*, Vcpuid) [with VMCrossPage = VMCrossPageV4]’:
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState.SysenterStateV45::validEIP’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState.SysenterStateV45::cs’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState.SysenterStateV45::rsp’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState.SysenterStateV45::rip’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunVM(VMDriver*, Vcpuid)’:
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1522: warning: ‘sysenterState.SysenterStateV45::rsp’ is used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1523: warning: ‘sysenterState.SysenterStateV45::rip’ is used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState.SysenterStateV45::validEIP’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState.SysenterStateV45::cs’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState.SysenterStateV45::validEIP’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState.SysenterStateV45::cs’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState.SysenterStateV45::rsp’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState.SysenterStateV45::rip’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState.SysenterStateV45::validEIP’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState.SysenterStateV45::cs’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState.SysenterStateV45::rsp’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState.SysenterStateV45::rip’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h: In function ‘void Task_Switch_V45(VMDriver*, Vcpuid)’:
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1713: warning: ‘sysenterState.SysenterStateV45::validEIP’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1713: warning: ‘sysenterState.SysenterStateV45::cs’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1713: warning: ‘sysenterState.SysenterStateV45::rsp’ may be used uninitialized in this function
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1713: warning: ‘sysenterState.SysenterStateV45::rip’ may be used uninitialized in this function
CC [M] /tmp/vmware-config1/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config1/vmmon-only/vmcore/compat.o
CC [M] /tmp/vmware-config1/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-config1/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-config1/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config1/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
The module loads perfectly in the running kernel.

mknod: `/dev/vmmon': File exists
Unable to create the character device /dev/vmmon with major number 10 and minor
number 165.

Execution aborted.

$ ls -l /dev/vmmon
ls: /dev/vmmon: No such file or directory
$

mmcmonster
April 17th, 2007, 03:24 PM
I take my previous post back. :-) I ran the same command in the same window again, and the second time it worked. (*shrug*)

P.S. Works fine! Thanks!

UltraM4n
April 17th, 2007, 07:41 PM
Hi there. I just installed VMWare Server on Ubuntu version 6.10
Everything runs smooth on installation. But..when i go to run it, i see it starting in the little bar at the bottom of the screen, but it goes away and never comes back. So i check the process at it says its running :S
Can anybody help me?

m.musashi
April 17th, 2007, 07:48 PM
Type "vmware" in a terminal and post the output. If it isn't starting that should show what the errors are.

UltraM4n
April 17th, 2007, 07:54 PM
this is what came up
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)

m.musashi
April 17th, 2007, 07:57 PM
Well, now we know what may be causing the problem but I don't have a clue how to fix that. I was hoping for a permission problem or something easy.

Maybe wait and see if anyone else has any ideas.

Here is a thread that might help http://ubuntuforums.org/showthread.php?t=408559

carloslosgrande
April 17th, 2007, 08:01 PM
Hey BrownKnight, I was stuck at the same problem and that fixed it for me, Thanks!

So I decided to add it to my 'howto' and right there in black n white was same thing. I'd be embarrassed but I'm getting used to it now.

carloslosgrande
April 17th, 2007, 08:38 PM
I've got the same problem as McMonster and I ran the install and the fix install (ie the any-any file) twice both times I got the same error code
Finally tried one more time on each and voile! its all installed
thanks guys.

mmcmonster
April 18th, 2007, 07:35 AM
this is what came up
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)

I'm not in front of my Ubuntu machine right now, but I think I get this warning when I run vmware from a terminal prompt, so it's not the cause of the hanging process. Maybe you can `killall vmware` or something similar to make sure you aren't running any vmware processes (a reboot would also work) and then run it in a terminal to see what happens?

UltraM4n
April 18th, 2007, 06:45 PM
Nevermind, thank god for ubuntus built in iso maker :D

arunsub
April 20th, 2007, 06:58 PM
My webcam is not working. How do I make my webcam work?

Thanks.

diablo69er
April 25th, 2007, 06:06 PM
OK--I am getting tired of this. I have a FRESH install of Feisty and I was following the tutorial word for word, and I always get this error.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.20-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:80:
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘compat_exit’
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘exit_code’
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: warning: type defaults to ‘int’ in declaration of ‘_syscall1’
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module.


Is there ANY way to fix this?

diablo69er
April 25th, 2007, 06:23 PM
OK--I am getting tired of this. I have a FRESH install of Feisty and I was following the tutorial word for word, and I always get this error.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.20-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:80:
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘compat_exit’
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘exit_code’
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: warning: type defaults to ‘int’ in declaration of ‘_syscall1’
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module.


Is there ANY way to fix this?

Gheh--see this link to see how I fixed my own problem.

http://www.go2linux.org/node/30

carloslosgrande
April 25th, 2007, 06:44 PM
I finally got VMWare installed last week, thanks to the help here and using the 'vmware-any-any' fix.
Due to an overabundance of confidence I also tried the 'desktop effects' option and it made Feisty unworkable again. So another fresh install - this time of the latest release - and now vmware-any-any is giving me this error;

Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config3/vmmon-only'
make -C /lib/modules/2.6.20-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
CC [M] /tmp/vmware-config3/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config3/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config3/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config3/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config3/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config3/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config3/vmmon-only/common/task.o
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
make[2]: *** [/tmp/vmware-config3/vmmon-only/common/task.o] Error 1
make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config3/vmmon-only'
Unable to build the vmmon module.

I've looked for cc1plus in synaptic but no go. Any ideas what it is and where I can find it?

I googled it and found some entries for in it debian forums and they talked of adding gcc-g++ the C+ compiler.
I've added this but no difference
Thanks.

drmbogo
April 27th, 2007, 04:32 PM
Gheh--see this link to see how I fixed my own problem.

http://www.go2linux.org/node/30

Thanks diablo69er! This worked!

All you need from that link is the link to the patch:
http://jaws.go2linux.org/archivos/vmware-any-any-update109.tar.gz

Extract, cd to extracted directory and:
sudo ./runme

it patches the vmware.config.pl file and runs it.
Lovely :))

cacharreo
April 28th, 2007, 05:28 AM
Still doesn't work for me
I run the script from http://jaws.go2linux.org/archivos/vmware-any-any-update109.tar.gz

I I still gets the next errors:

jaime@eliux:~/vmware-any-any-update109$ sudo ./runme.pl
Updating /usr/bin/vmware-config.pl ... already patched
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available
VMware modules in "/usr/lib/vmware/modules/source" has been updated.

Before running VMware for the first time after update, you need to configure it
for your running kernel by invoking the following command:
"/usr/bin/vmware-config.pl". Do you want this script to invoke the command for
you now? [yes]

Making sure services for VMware Server are stopped.

Stopping VMware services:
Virtual machine monitor done

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type 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 Server 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? [/lib/modules/2.6.20-15-generic/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: se ingresa al directorio `/tmp/vmware-config5/vmmon-only'
make -C /lib/modules/2.6.20-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: se ingresa al directorio `/usr/src/linux-headers-2.6.20-15-generic'
CC [M] /tmp/vmware-config5/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config5/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config5/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config5/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config5/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config5/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config5/vmmon-only/common/task.o
gcc: error trying to exec 'cc1plus': execvp: No existe el fichero ó directorio
make[2]: *** [/tmp/vmware-config5/vmmon-only/common/task.o] Error 1
make[1]: *** [_module_/tmp/vmware-config5/vmmon-only] Error 2
make[1]: se sale del directorio `/usr/src/linux-headers-2.6.20-15-generic'
make: *** [vmmon.ko] Error 2
make: se sale del directorio `/tmp/vmware-config5/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.


Some idea more? :confused: :confused: :confused:

veloce
April 28th, 2007, 07:31 AM
Don't know if I can be much help as your error messages are in a language I don't understand. It seems to be having difficulty creating a directory?

One other thing to try is to upgrade vmware to version 1.0.2 - it may be a fixed bug.

nivosh
April 28th, 2007, 01:50 PM
hello.
it is stated that virtual machine will not work with hardware that is not identified with ubuntu, but what about a printer that works just with windows driver but is identified by ubuntu?

i have USB lexmark X6170 that ubuntu recognize but without a proper linux driver.
will my printer work through the virtual machine?

thank

yabbadabbadont
April 28th, 2007, 03:38 PM
hello.
it is stated that virtual machine will not work with hardware that is not identified with ubuntu, but what about a printer that works just with windows driver but is identified by ubuntu?

i have USB lexmark X6170 that ubuntu recognize but without a proper linux driver.
will my printer work through the virtual machine?

thank

Good question. I would guess that it would work. Since Ubuntu can identify it, it means that there isn't a problem talking to it through the USB connection. It is just that Ubuntu doesn't know how to "speak the printer's native language." As long as the VM can talk to it over the USB bus, it should work. I have a Canon photo printer that is in the same boat. I'll have to setup a VM and see if I can print to it from inside the emulator.

carloslosgrande
April 28th, 2007, 08:45 PM
Veloce, I get the same error message as Cacharreo and the error is 'gcc: error trying to exec 'cc1plus': execvp: (No existe el fichero ó directorio) file or directory don't exist

I actually had VMWare working on the version of Feisty prior to the official release. Then I played with 'desktop effects' and it killed everything so I reinstalled with the official release and now i can no longer get VMWare working. This cc1plus file seems to have been something to do with Debian from what I can see on google but I don't know where to get it from or, more importantly, why it seems to be no longer a part of Feisty?

Queen_Kira
April 28th, 2007, 09:41 PM
thanks the guide ^^

veloce
April 29th, 2007, 02:35 AM
Veloce, I get the same error message as Cacharreo and the error is 'gcc: error trying to exec 'cc1plus': execvp: (No existe el fichero ó directorio) file or directory don't exist

I actually had VMWare working on the version of Feisty prior to the official release. Then I played with 'desktop effects' and it killed everything so I reinstalled with the official release and now i can no longer get VMWare working. This cc1plus file seems to have been something to do with Debian from what I can see on google but I don't know where to get it from or, more importantly, why it seems to be no longer a part of Feisty?

I upgraded to Feisty from Edgy, used the "any to any" patch and config worked perfectly. So maybe something is carrying over from Edgy.

I found it in folder:

/usr/lib/gcc/i486-linux-gnu/4.1.2

Don't know what package it would come in.

carloslosgrande
April 29th, 2007, 10:50 AM
Yeah, I've got the 'any any' package and with the earlier Feisty i had to use it twice and the 'vmware-server' package twice, ie v-s, a-a, v-s, a-a, and then everything worked. I've tried this more times than i can count now and it always has this error re cc1plus
I don't have any carryover from Edgy because I haven't had Edgy. I went from Dapper to Feisty.

veloce
April 30th, 2007, 08:21 PM
Yeah, I've got the 'any any' package and with the earlier Feisty i had to use it twice and the 'vmware-server' package twice, ie v-s, a-a, v-s, a-a, and then everything worked. I've tried this more times than i can count now and it always has this error re cc1plus
I don't have any carryover from Edgy because I haven't had Edgy. I went from Dapper to Feisty.

I think you need to (re) install the "build-essentials" package. Saw this on a vmware list.

nivosh
May 1st, 2007, 09:18 AM
Good question. I would guess that it would work. Since Ubuntu can identify it, it means that there isn't a problem talking to it through the USB connection. It is just that Ubuntu doesn't know how to "speak the printer's native language." As long as the VM can talk to it over the USB bus, it should work. I have a Canon photo printer that is in the same boat. I'll have to setup a VM and see if I can print to it from inside the emulator.

I SUCCEDED!!! the lexmark X6170 printer now works under ubuntu from within the virtual windows machine.

this is great news for those with not working printers due to lack of linux driver!

and now for another quastion.
would someone please help me with the network and internet connection in vmware player.
i have one ethernet card in which i connect with cable. the internet is working fine in ubuntu.
how can i configure networking inorder to ba able to share folders with the host (ubuntu) and to be able to surf the net from the guest (windows XP)?
the network adaptor is on - nat and VMplayer sayes it's connected, but no internet and no networking available.
i installed samba and shared the folders i want.
what next?

veloce
May 1st, 2007, 06:10 PM
I SUCCEDED!!! the lexmark X6170 printer now works under ubuntu from within the virtual windows machine.

this is great news for those with not working printers due to lack of linux driver!

and now for another quastion.
would someone please help me with the network and internet connection in vmware player.
i have one ethernet card in which i connect with cable. the internet is working fine in ubuntu.
how can i configure networking inorder to ba able to share folders with the host (ubuntu) and to be able to surf the net from the guest (windows XP)?
the network adaptor is on - nat and VMplayer sayes it's connected, but no internet and no networking available.
i installed samba and shared the folders i want.
what next?

So your virtual windows machine is printing to an unsupported printer on the host? Cool! I must try this myself.

Networking: Some questions:
how are you connected to the internet? Is there a firewall somewhere?
how is your vm getting an IP address?

If you have networking working between the vm and host (samba file sharing) then this should be simple.

nivosh
May 2nd, 2007, 03:25 AM
So your virtual windows machine is printing to an unsupported printer on the host? Cool! I must try this myself.

Networking: Some questions:
how are you connected to the internet? Is there a firewall somewhere?
how is your vm getting an IP address?

If you have networking working between the vm and host (samba file sharing) then this should be simple.

yes, i was very pleased to find out that my printer is printing...

regarding the networking.
i am using cable as my internet provider. i have firewall on my guest system (win xp pro)
i have installed samba and shrad the folders in my host.
the virtual network in configured as NAT and is connected.
but there is no internet through the guest machine and i cant fined the shared folders in the guest.
maybe i should do reinstalation of vmplayer?