Manjaro Difference between revisions of "VMware"

Difference between revisions of "VMware"

From Manjaro
imported>Maparillo
(Created page with " = Advice, Tips, and Tricks = ==Guest Installation== * VMware can run installation files (ISOs) directly as ''virtual discs'', so there is no need to burn them to an insta...")
 
m (add template BoxSuccess)
 
(36 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<languages/>
__TOC__
<translate>
== VMware Workstation on Manjaro == <!--T:1-->
=== '''DISCLAIMER''' ===
{{BoxSuccess|Tip|'''Read the [https://kb.vmware.com/s/article/80807 VMware Workstation 16 supported OS] article'''.
<p>VMware is a commercially developed application with a limited list of supported operating systems.</p>
<p>This guide is a courtesy to the forum '''don't expect any support''' on VMware related issues.</p>}}
As you can see from above reference - Archlinux and derivatives are unsupported platforms for running VMware products and as such it is unsupported on Manjaro.


So even when it is possible to install and run VMware on Manjaro - **do not expect support** on configuration of virtual machines or system issues arising from your VMware installation.  You must have the required level of troubleshooting skills to solve these when they arise - and they will.
* If you need help configuring vmware virtual machines - your should look in the VMware documentation.
* If you need help troubleshooting installation issues - use the comment section for the AUR PKGBUILD
== How to use the AUR PKGBUILD == <!--T:2-->
There is a lot of AUR helpers and they all mimic what you should do manually - the Arch way is usually the best way.
=== Important kernel precaution ===
The AUR PKGBUILD is created for Archlinux and therefore the kernel headers dependency must be solved manually on Manjaro. Archlinux only have two kernel versions - linux and linux-lts.


= Advice, Tips, and Tricks =
Archlinux kernels follow the release schedule on kernel.org and on Manjaro you will need to use the same kernel versions which - at the time of writing in March 2021 - is (check with https://kernel.org if in doubt)
* '''Linux 5.10.x (LTS)'''
* '''Linux 5.11.x (mainline)'''
Using other kernels - like 5.4LTS - will most likely fail.
=== Building steps === <!--T:3-->
1. Update your system and install the necessary build tools
{{UserCmd|command=sudo pacman -Syu git base-devel --needed}}
2. Then check your kernel version(s) - example - remember to use the same version as Arch
{{UserCmd|command=mhwd-kernel -li}}
3. Then install the headers for your kernel(s) and dkms. Substitute ''$KERNELXYY'' with your currently running kernel
{{UserCmd|command=sudo pacman -Syu $KERNELXYY-headers dkms}}
4. Clone the PKGBUILKD script
{{UserCmd|command=git clone <nowiki> https://aur.archlinux.org/vmware-workstation.git</nowiki> ~/vmware-workstation}}
5. Familiarize yourself with the content - it is all text files and you should read them and verify what they are doing.
{{UserCmd|command=ls ~/vmware-workstation}}
6. When you are satisfied - cd into the folder
{{UserCmd|command=cd ~/vmware-workstation}}
7. Run makepkg to install dependencies, build and install the package.
{{UserCmd|command=makepkg -is}}
The installer will write messages in the terminal on what to do next - follow the directions to load the kernel modules and enable vmware network service and usb service as needed.
{{UserCmd|command=sudo modprobe -a vmw_vmci vmmon}}
=== Optional services ===
There are three services that can be optionally be enabled:
* vmware-networks.service: Provides network access inside VMs, most people will want this enabled
* vmware-usbarbitrator.service: Allows USB devices to be connected inside VMs
* vmware-hostd.service: Enables sharing of VMs on the network
To start and enable vmware network
{{UserCmd|command=sudo systemctl enable --now vmware-networks.service}}
To start and enable usb passthrough
{{UserCmd|command=sudo systemctl enable --now vmware-usbarbitrator.service}}
To start and enable the sharing of a virtual machine
{{UserCmd|command=sudo systemctl enable --now vmware-hostd.service}}
== Installing Manjaro under VMWare ==
There are no special requirements to installing Manjaro on VMWare.  '''open-vmware-tools''' is pre-installed.  It should "just work"
==Copy and Paste==
Ensure you are using Xorg as Wayland has some limitations.
See: https://kb.vmware.com/s/article/74671


<!--T:4-->
If copy and paste does not work, you may need to install gtkmm3 and re-boot.
vmware-user-suid-wrapper depends on gtkmm, but it's not a required dependency of the package. See: https://bugs.archlinux.org/task/43159


==Guest Installation==
== Resources == <!--T:5-->
 
* [https://forum.manjaro.org/t/root-tip-installing-vmware-on-manjaro/57596 Manjaro Forum - (root tip) Installing VMware on Manjaro]
* VMware can run installation files (ISOs) directly as ''virtual discs'', so there is no need to burn them to an installation medium such as a disc or USB data stick.
* [https://kb.vmware.com/s/article/80807 VMware KB - Workstation/Player 16 Supported OS]
 
* [https://forum.manjaro.org/search?q=vmware Manjaro Forum Search - VMware]
* The process to install any Guest operating system - '''[[Installation_Guides|including Manjaro]]''' - is exactly the same as if actually installing for real on your computer.
* [https://archived.forum.manjaro.org/t/vmware-can-i-use-it/58861 (Forum Archive) VMware - can I use it]
 
* [https://archived.manjaro.org/t/wiki-installing-vmware/19824 (Forum Archive) Installing VMware]
==VMware Tools==
</translate>
 
[[Category:Contents Page{{#translation:}}]]
{{note|'''Manjaro will already have open-vm-tools pre-installed, so there is no need to add it yourself'''.}}
[[Category:Virtualisation{{#translation:}}]]
 
The Open Virtual Machine Tools (open-vm-tools) are the open source implementation of VMware Tools. They are special software packages designed to improve the performance and usability of the guest operating systems. They are installed '''within''' the Guest operating system itself, and most notably result in enhancing the display resolution, as well as enabling much better control over the mouse. As such, two tell-tale signs that they have not been installed in a Guest are that the display will not scale to the size of the display window (i.e. it will be necessary to scroll around to see the whole screen), and the mouse may be quite hard to control.
 
 
==Guest Display==
 
* It will be necessary to activate the '''Enable 3D acceleration''' box in order to allow for some desktop effects (such as transparency) to be shown. This can be undertaken by going into the settings menu, and then selecting the '''Display''' section.
 
 
==Cut and Paste==
 
If cut and paste does not work, please refer to: https://bugs.archlinux.org/task/43159
 
==General==
 
* Don't be afraid to take risks, to experiment, and to have fun with Guest operating systems. The worst that can happen is that they will have to be re-installed!
 
 
 
[[Category:Contents Page]]
[[Category:Virtualisation]]

Latest revision as of 10:29, 10 January 2023

Other languages:

VMware Workstation on Manjaro

DISCLAIMER

Tip
Read the VMware Workstation 16 supported OS article.

VMware is a commercially developed application with a limited list of supported operating systems.

This guide is a courtesy to the forum don't expect any support on VMware related issues.

As you can see from above reference - Archlinux and derivatives are unsupported platforms for running VMware products and as such it is unsupported on Manjaro.

So even when it is possible to install and run VMware on Manjaro - **do not expect support** on configuration of virtual machines or system issues arising from your VMware installation. You must have the required level of troubleshooting skills to solve these when they arise - and they will.

  • If you need help configuring vmware virtual machines - your should look in the VMware documentation.
  • If you need help troubleshooting installation issues - use the comment section for the AUR PKGBUILD

How to use the AUR PKGBUILD

There is a lot of AUR helpers and they all mimic what you should do manually - the Arch way is usually the best way.

Important kernel precaution

The AUR PKGBUILD is created for Archlinux and therefore the kernel headers dependency must be solved manually on Manjaro. Archlinux only have two kernel versions - linux and linux-lts.

Archlinux kernels follow the release schedule on kernel.org and on Manjaro you will need to use the same kernel versions which - at the time of writing in March 2021 - is (check with https://kernel.org if in doubt)

  • Linux 5.10.x (LTS)
  • Linux 5.11.x (mainline)

Using other kernels - like 5.4LTS - will most likely fail.

Building steps

1. Update your system and install the necessary build tools

user $ sudo pacman -Syu git base-devel --needed COPY TO CLIPBOARD


2. Then check your kernel version(s) - example - remember to use the same version as Arch

user $ mhwd-kernel -li COPY TO CLIPBOARD


3. Then install the headers for your kernel(s) and dkms. Substitute $KERNELXYY with your currently running kernel

user $ sudo pacman -Syu $KERNELXYY-headers dkms COPY TO CLIPBOARD


4. Clone the PKGBUILKD script

user $ git clone https://aur.archlinux.org/vmware-workstation.git ~/vmware-workstation COPY TO CLIPBOARD


5. Familiarize yourself with the content - it is all text files and you should read them and verify what they are doing.

user $ ls ~/vmware-workstation COPY TO CLIPBOARD


6. When you are satisfied - cd into the folder

user $ cd ~/vmware-workstation COPY TO CLIPBOARD


7. Run makepkg to install dependencies, build and install the package.

user $ makepkg -is COPY TO CLIPBOARD


The installer will write messages in the terminal on what to do next - follow the directions to load the kernel modules and enable vmware network service and usb service as needed.

user $ sudo modprobe -a vmw_vmci vmmon COPY TO CLIPBOARD


Optional services

There are three services that can be optionally be enabled:

  • vmware-networks.service: Provides network access inside VMs, most people will want this enabled
  • vmware-usbarbitrator.service: Allows USB devices to be connected inside VMs
  • vmware-hostd.service: Enables sharing of VMs on the network

To start and enable vmware network

user $ sudo systemctl enable --now vmware-networks.service COPY TO CLIPBOARD


To start and enable usb passthrough

user $ sudo systemctl enable --now vmware-usbarbitrator.service COPY TO CLIPBOARD


To start and enable the sharing of a virtual machine

user $ sudo systemctl enable --now vmware-hostd.service COPY TO CLIPBOARD


Installing Manjaro under VMWare

There are no special requirements to installing Manjaro on VMWare. open-vmware-tools is pre-installed. It should "just work"

Copy and Paste

Ensure you are using Xorg as Wayland has some limitations. See: https://kb.vmware.com/s/article/74671

If copy and paste does not work, you may need to install gtkmm3 and re-boot. vmware-user-suid-wrapper depends on gtkmm, but it's not a required dependency of the package. See: https://bugs.archlinux.org/task/43159

Resources

Cookies help us deliver our services. By using our services, you agree to our use of cookies.