VMware Player in Ubuntu

From Brandonhutchinson.com

(Difference between revisions)
Jump to: navigation, search
(Ubuntu 8.10 Instructions)
Line 25: Line 25:
It is likely that the VMware Player kernel module compilation will fail. If it does, download the [http://blog.creonfx.com/temp/vmware-any-any-update-116.tgz "vmware-any-any" patch], extract it, and run ''runme.pl''.
It is likely that the VMware Player kernel module compilation will fail. If it does, download the [http://blog.creonfx.com/temp/vmware-any-any-update-116.tgz "vmware-any-any" patch], extract it, and run ''runme.pl''.
 +
 +
== Error when trying to "Connect Parallel Port" ==
 +
 +
With a Windows XP Guest System and a Ubuntu 8.04 host, I receive this error when attempt to connect the parallel port:
 +
Parallel port "/dev/parport0" is used by another program (such as another instance of VMware Player) or driver (such as lp). Failed to connect virtual device parallel0.
 +
 +
As a workaround, remove the '''lp''' module and its dependencies with '''modprobe -r lp'''.
 +
$ '''lsmod | grep lp'''
 +
lp 11332 0
 +
parport 35912 3 ppdev,lp,parport_pc
 +
 +
$ '''sudo modprobe -r lp'''
 +
 +
To resume printing in your Ubuntu host system, you will likely have to re-enable the '''lp''' module and its dependencies with '''modprobe lp'''.

Revision as of 20:09, 22 March 2008

Contents

Ubuntu 7.10 Instructions

Installing from package

Add the following repository in /etc/apt/sources.list to install vmware-player in Ubuntu 7.10.

# VMware Player
deb http://ppa.launchpad.net/cschieli/ubuntu gutsy main

Install VMware Player.

$ sudo apt-get update && apt-get install vmware-player

Ubuntu 8.04 Instructions

Installing from source

Install the packages needed to build the VMware Player kernel modules.

$ sudo apt-get install linux-headers-$(uname -r) build-essential

Extract VMware Player.

$ tar zxvf VMware-player-2.0.3-80004.i386.tar.gz

Install VMware Player.

$ cd vmware-player-distrib
$ sudo ./vmware-install.pl

It is likely that the VMware Player kernel module compilation will fail. If it does, download the "vmware-any-any" patch, extract it, and run runme.pl.

Error when trying to "Connect Parallel Port"

With a Windows XP Guest System and a Ubuntu 8.04 host, I receive this error when attempt to connect the parallel port:

Parallel port "/dev/parport0" is used by another program (such as another instance of VMware Player) or driver (such as lp). Failed to connect virtual device parallel0.

As a workaround, remove the lp module and its dependencies with modprobe -r lp.

$ lsmod | grep lp
lp                     11332  0 
parport                35912  3 ppdev,lp,parport_pc

$ sudo modprobe -r lp

To resume printing in your Ubuntu host system, you will likely have to re-enable the lp module and its dependencies with modprobe lp.

Personal tools