2012-08-24

A preliminary update to Workstation 9/Player 5. You guys can switch the download links back, if you preferred them that way

← Older revision

Revision as of 17:42, 24 August 2012

Line 15:

Line 15:

This article is about installing VMware in Arch Linux; you may also be interested in [[Installing Arch Linux in VMware]].

This article is about installing VMware in Arch Linux; you may also be interested in [[Installing Arch Linux in VMware]].



{{Note|This article supports '''only''' the latest major VMware versions, meaning VMware Workstation
8
and VMware Player
4
.}}

+

{{Note|This article supports '''only''' the latest major VMware versions, meaning VMware Workstation
9
and VMware Player
5
.}}

==Installation==

==Installation==

Line 21:

Line 21:

{{Note| VMware Workstation/Player will '''not''' be manageable with pacman as the files are not installed with it.}}

{{Note| VMware Workstation/Player will '''not''' be manageable with pacman as the files are not installed with it.}}



'''1.''' Download the latest [http://
downloads
.vmware.com/
d
/
info
/
desktop_end_user_computing/vmware_workstation/8_0
VMware Workstation] or [http://
downloads
.vmware.com/
d
/
info
/
desktop_end_user_computing/vmware_player/4_0
VMware Player] (you may also try the [http://communities.vmware.com/community/vmtn/beta testing (Beta/RC) versions]).

+

'''1.''' Download the latest

[http://
www
.vmware.com/
products
/
workstation
/
overview.html
VMware Workstation] or [http://
www
.vmware.com/
products
/
player
/
overview.html
VMware Player] (you may also try the [http://communities.vmware.com/community/vmtn/beta testing (Beta/RC) versions]).

'''2.''' Start the installation ({{Ic|--console}} uses terminal instead of the GUI):

'''2.''' Start the installation ({{Ic|--console}} uses terminal instead of the GUI):

Line 40:

Line 40:

==Configuration==

==Configuration==

+

{{Tip|There is also a package called {{AUR|vmware-patch}} in the [[Arch User Repository|AUR]] with the intention of trying to automate this section (it also supports older VMware versions).}}

{{Tip|There is also a package called {{AUR|vmware-patch}} in the [[Arch User Repository|AUR]] with the intention of trying to automate this section (it also supports older VMware versions).}}

Line 58:

Line 59:

===VMware module patches and installation===

===VMware module patches and installation===



VMware Workstation
8
and Player
4 only
support
kernels up to 3.0. Any later requires patching of the VMware modules. These patches will also install the modules afterwards by executing {{ic|vmware-modconfig --console --install-all}}.

+

VMware Workstation
9
and Player
5 both
support kernels up to 3.5.



{{Note|Due to different VMware versions, you may need to set the {{ic|vmreqver}} or {{ic|plreqver}} variable for VMware Workstation or Player respectively in the {{ic|patch-modules_3.X.0.sh}} script.}}

+



{{Note|The latest [http://communities.vmware.com/community/vmtn/beta/workstationtp2012 Technology Preview] of VMware Workstation (July 2012) supports
kernels up to 3.5.
}}

+



+



====3.5 / 3.4 kernels====

+



The patch for both 3.4 and 3.5 kernels is available [http://weltall.heliohost.org/wordpress/2012/04/01/vmware-workstation-8-0-2player-4-0-2-and-7-1-x3-1-x-fix-for-linux-kernel-3-4-0/ here]:

+



+



$ cd /tmp

+



$ curl -O http://weltall.heliohost.org/wordpress/wp-content/uploads/2012/04/vmware802fixlinux340.tar.gz

+



$ tar -xvf vmware802fixlinux340.tar.gz

+



$ sed -i "s|0.2|0.4|g" patch-modules_3.4.0.sh

+



# ./patch-modules_3.4.0.sh

+



+



====3.3 / 3.2 kernels====

+



The patch for both 3.2 and 3.3 kernels is available [http://weltall.heliohost.org/wordpress/2012/01/26/vmware-workstation-8-0-2-player-4-0-2-fix-for-linux-kernel-3-2-and-3-3/ here] and [http://blogs.gurulabs.com/dax/2012/02/vmware-linux-patches.html here]:

+



+



$ cd /tmp

+



$ curl -O http://weltall.heliohost.org/wordpress/wp-content/uploads/2012/01/vmware802fixlinux320.tar.gz

+



$ tar -xvf vmware802fixlinux320.tar.gz

+



# ./patch-modules_3.2.0.sh

+



+



The patches for older VMware Workstation 8 and Player 4 versions can be found [http://weltall.heliohost.org/wordpress/2011/11/09/vmware-workstation-8-x-player-4-x-virtualbox-fix-for-linux-3-2/ here] and [http://blogs.gurulabs.com/dax/2012/02/vmware-linux-patches.html here].

+



+



====3.1 kernels====

+



The patch for 3.1 kernels is available [http://weltall.heliohost.org/wordpress/2011/09/29/vmware-workstationplayer-fix-for-linux-3-1/ here]:

+



$ cd /tmp

+



$ curl -O http://weltall.heliohost.org/wordpress/wp-content/uploads/2011/09/vmware8linux31fix.tar.gz

+



$ tar -xvf vmware8linux31fix.tar.gz

+



# ./patch-modules_3.1.0.sh

+

==Finishing up==

==Finishing up==

Line 148:

Line 121:

=== Incorrect login/password when trying to access VMware remotely ===

=== Incorrect login/password when trying to access VMware remotely ===



VMware Workstation
8
provides the possibility to remotely manage Shared VMs through the {{ic|vmware-workstation-server}} service. However, this will fail with the error {{ic|"incorrect username/password"}} due to incorrect PAM configuration of the {{ic|vmware-authd}} service. To fix it, edit {{ic|/etc/pam.d/vmware-authd}} like this:

+

VMware Workstation
9
provides the possibility to remotely manage Shared VMs through the {{ic|vmware-workstation-server}} service. However, this will fail with the error {{ic|"incorrect username/password"}} due to incorrect PAM configuration of the {{ic|vmware-authd}} service. To fix it, edit {{ic|/etc/pam.d/vmware-authd}} like this:

{{hc|/etc/pam.d/vmware-authd|

{{hc|/etc/pam.d/vmware-authd|

#%PAM-1.0

#%PAM-1.0

Line 164:

Line 137:

=== Issues with ALSA output ===

=== Issues with ALSA output ===



The following instructions from [http://bankimbhavsar.blogspot.co.nz/2011/09/hd-audio-in-vmware-fusion-4-and-vmware.html Bankim Bhavsar's wiki] show how to manually adjust the [[ALSA]] output device in a VMware {{ic|.vmx}} file. This might help with quality issues or with enabling proper HD audio output:

The following instructions from [http://bankimbhavsar.blogspot.co.nz/2011/09/hd-audio-in-vmware-fusion-4-and-vmware.html Bankim Bhavsar's wiki] show how to manually adjust the [[ALSA]] output device in a VMware {{ic|.vmx}} file. This might help with quality issues or with enabling proper HD audio output:

Show more