VMware Player in Ubuntu

From Brandonhutchinson.com

(Difference between revisions)
Jump to: navigation, search
(New page: 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 VMwa...)
Current revision (20:13, 22 March 2008) (edit) (undo)
(Error when trying to "Connect Parallel Port")
 
(9 intermediate revisions not shown.)
Line 1: Line 1:
 +
== Ubuntu 7.10 Instructions ==
 +
 +
=== Installing from package ===
 +
Add the following repository in '''/etc/apt/sources.list''' to install vmware-player in Ubuntu 7.10.
Add the following repository in '''/etc/apt/sources.list''' to install vmware-player in Ubuntu 7.10.
# VMware Player
# VMware Player
Line 5: Line 9:
Install VMware Player.
Install VMware Player.
$ '''sudo apt-get update && apt-get 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 [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 from the running kernel with '''sudo 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 '''sudo modprobe lp'''.

Current revision

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 from the running kernel with sudo 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 sudo modprobe lp.

Personal tools