[K]Ubuntu – Vmware server console only starts as root

If Vmware console seems to die if running as the normal [K]Ubuntu user it might be a permission issue on the vmware preferences file.

Just open a shell on your home directory and change directory to .vmware (note there is a . at the beginning).

Check the owner and group of the preferences file. If it’s not belong to your user, just run the command sudo chown user:group preferences where user and group is your user and group.

Advertisements

Running VMWare machines from NTFS filesystems on KUbuntu

I’ve tried to start a virtual machine using VMWare Server from an attached external disk that was formatted with NTFS.

Well it didn’t work. The Vmware server console just tried to start the machine and almost right away went back again to the original status. The machines didn’t start.

Looking at the vmware logs at /var/logs/vmware, it seems that the vmware server was complaining from the following error: VMware Server unrecoverable error: (vcpu-0) Failed to allocate page for guest RAM!

After a quick Google search, I hit this: http://www.desktop-virtualization.com/2008/03/31/failed-to-allocate-page-for-guest-ram/

So all you need to do is to go to your virtual machine directory and edit the .vmx file. Add the following line to end of it: mainmem.UseNamedFile = “FALSE”

Save the file, and it should work. This is only needed if you’re running your virtual machines in KUbuntu from a NTFS file system