Open-VM-Tools Arch-Linux Architecture ARM64 For Mac M1 (Arch.Linux.Arm--aarch64) (2024)

Table of Contents
Problem Solution Script Explanation

Open VM Tools (open-vm-tools) is the open source implementation of VMware Tools for Linux and FreeBSD guest operating systems. The open-vm-tools suite is bundled with some Linux operating systems and is installed as a part of the OS. see the VMware Compatibility Guide at resources.

For better managing guest operating systems, the open-vm-tools suite includes the following packages:

  • The core open-vm-tools package contains the core open-vm-tools user space utilities, application programs, and libraries, including vmtoolsd, to help effectively manage communication between your host and guest OSs. This package includes features as, synchronizing guest OS clocks with the virtualization platform, transferring files between hosts and guests, sending heartbeat information from guest OSs to the virtualization infrastructure to support vSphere High Availability (HA), publishing resource utilization and networking information of the guest OSs to the virtualization platform, and so on.

  • The open-vm-tools-desktop package is optional and includes additional user programs and libraries to improve the interactive functionality of desktop operations of your virtual machines. The package enables you to resize a guest display to match its host console window or the VMware Remote Console Window for vSphere. The package also allows you to copy and paste between host and guest OSs, as well as to drag and drop between guests and a host for the VMware Workstation and VMware Fusion products.

  • The open-vm-tools-devel package contains libraries and additional documentation for developing vmtoolsd plug-ins and applications.

It’s important to note that adding the Kali Linux repository to a non-Kali Linux distribution may have unintended consequences and can potentially cause conflicts with existing software packages. Users should exercise caution and thoroughly understand the implications before adding external repositories.

Problem

First, we have to check whether open-vm-tools has been installed on VMware Arch Linux or not, apart from trying to drag and drop between the Mac host and Arch, we can see it with the command:

sudo systemctl status vmtoolsd.servicesudo systemctl status vmware-vmblock-fuse.service

The average user definitely won’t find anything from the output results that we did earlier, that’s because by default open-vm-tools on Arch Linux (especially for DWM, I3WM, BSPWM and other users) is required to manually compile the configuration, actually it’s very easy This is done because the package is already in AUR, see here.

I just spent a lot of time, research, reading this documentation. but that didn’t work.

However, the arm architecture was not found, or has not been released, we can see here. This is just a proposal and there has been no follow-up from the developer.

Therefore, I developed several experiments, failures, to help and solve this problem.

I really understand the difficulties of not having open-vm-tools, apart from the screen not being perfect, typing experiencing bugs, plus we can’t easily copy and paste between arch and mac, that’s very torturous, isn’t it?

Solution

first of all, we need to clone the repository, because i assume that you can’t access copy paste between mac and arch, we need manually write, or you can make it with ssh inside mac.

sudo ssh arch@182.927.22

(Change arch with your arch username, and ip you can found with ip addr)Then enter your arch linux password

Next, here we go:

git clone https://github.com/0xZipp0/vm-tools.git

Please make the tools automation script is executed with:

chmod +x build.sh

We can see all of the dependencies and tools need here,

➜ Documents tree vm-toolsvm-tools├── README.md├── build.sh├── vmtoolsd.service├── vmware-user.desktop└── vmware-vmblock-fuse.service1 directory, 5 files

Next, we go with command:

cd vm-toolssudo ./build.shor./build.sh

Inilah layout atau tampilan dari build.sh, kita bisa melihat beberapa fungsi dan instalasi beberapa base yang berguna untuk proses open-vm-tools

#!/usr/bin/env bashset -euo pipefailscriptDir() {P=`pwd`D="$(dirname $0)"if [[ $D == /* ]]; thenecho $Delif [[ $D == \.* ]]; thenJ=`echo "$D" | sed 's/.//'`echo "${P}$J"elseecho "${P}/$D"fi}SD=`scriptDir`CUR=`pwd`P="$HOME"cd $Psudo pacman -Sy fuse2 icu iproute2 libdnet libmspack libsigc++ \ libxcrypt libcrypt.so libxss lsb-release procps-ng \ uriparser gdk-pixbuf-xlib chrpath doxygen gtkmm3 libxtst \ python rpcsvc-proto netctl networkmanager cunit \ --noconfirmVER="${1:-}"VMURL="https://github.com/vmware/open-vm-tools.git"if [ ! -z $VER ]; thenVMURL="https://github.com/vmware/open-vm-tools.git --branch=$VER"figit clone $VMURLcd open-vm-tools/open-vm-toolsautoreconf -i./configure \ --prefix=/usr \ --sbindir=/usr/bin \ --sysconfdir=/etc \ --with-udev-rules-dir=/usr/lib/udev/rules.d \ --without-xmlsecurity \ --without-kernel-modulesmakemake checksudo make installsudo ldconfigcd $SDsudo cp ./vmtoolsd.service /usr/lib/systemd/system/vmtoolsd.servicesudo cp ./vmware-vmblock-fuse.service \/usr/lib/systemd/system/vmware-vmblock-fuse.service# sudo cp ./vmware-user.desktop /etc/xdg/autostart/vmware-user.desktopsudo systemctl enable vmtoolsd.servicesudo systemctl enable vmware-vmblock-fuse.servicesudo pacman -R chrpath doxygen rpcsvc-proto cunit --noconfirmecho "vmhgfs-fuse /mnt/hgfs fuse defaults,allow_other 0 0" | sudo tee -a /etc/fstabcd $CURrm -rf $P/open-vm-tools

Script Explanation

The script is a bash script used to download, configure, build, and install the open-vm-tools software from the GitHub repository. Here’s a brief and concise explanation of the steps performed by this script:

  1. The script is written in the Bash shell scripting language.
  2. The script sets shell options (set -euo pipefail) to handle errors and failures during execution.
  3. The scriptDir() function retrieves the current script’s directory.
  4. Variables SD and CUR store the script’s directory and the current working directory, respectively.
  5. The script changes the directory to the user’s home directory.
  6. The required packages for compiling open-vm-tools are installed using the pacman package manager.
  7. The script checks if a specific version is provided as an argument and updates the repository URL accordingly.
  8. The script clones the open-vm-tools repository from the specified URL.
  9. The script navigates to the downloaded repository directory.
  10. Configuration and build steps are performed using autoreconf, ./configure, make, and make check.
  11. The built open-vm-tools are installed using sudo make install.
  12. The system’s library cache is updated using sudo ldconfig.
  13. The relevant service files are copied to the appropriate directories.
  14. The services vmtoolsd and vmware-vmblock-fuse are enabled to start automatically on system startup.
  15. Unnecessary packages are removed using pacman -R.
  16. A configuration line is added to the /etc/fstab file to associate the HGFS file system with /mnt/hgfs.
  17. The script returns to the original working directory and removes the downloaded open-vm-tools directory.

In summary, the script performs all the necessary steps to download, configure, build, and install open-vm-tools from the GitHub repository.

Open-VM-Tools Arch-Linux Architecture ARM64 For Mac M1 (Arch.Linux.Arm--aarch64) (2024)
Top Articles
Volkswagen ID.5 SUV 210kW Match Pro 77kWh 5dr Auto Lease - Select Car Leasing
EXCLUSIVE: I was a Cowboys cheerleader and THIS is the real truth
Butte Jail Roster Butte Mt
Episode 163 – Succession and Legacy • History of the Germans Podcast
Endicott Final Exam Schedule Fall 2023
Sofia Pinkman
Join MileSplit to get access to the latest news, films, and events!
Sarah Lindstrom Telegram
Halo AU/Crossover Recommendations & Ideas Thread
Craigslist Southern Oregon Coast
Colossians 2 Amplified
FREE Houses! All You Have to Do Is Move Them. - CIRCA Old Houses
Weldmotor Vehicle.com
Weather Channel Quincy
1 Bedroom Apartment For Rent Private Landlord
The Nun 2 Showtimes Tinseltown
Caribbean Mix Lake Ozark
Rooms For Rent Portland Oregon Craigslist
The Quiet Girl Showtimes Near Amc Shirlington 7
11 Shows Your Mom Loved That You Should Probably Revisit
Costco Gas Price City Of Industry
Dirt Devil Ud70181 Parts Diagram
Bowser's Fury Coloring Page
Christian Hogue co*ck
Movies123.Pick
Prey For The Devil Showtimes Near Amc Ford City 14
Cozy Bug Company Net Worth
All Obituaries | Dante Jelks Funeral Home LLC. | Birmingham AL funeral home and cremation Gadsden AL funeral home and cremation
Ap Computer Science Principles Grade Calculator
Dumb Money Showtimes Near Showcase Cinema De Lux Legacy Place
Pella Culver's Flavor Of The Day
Walgreens Pharmacy On Jennings Station Road
Milwaukee Nickname Crossword Clue
Pillowtalk Leaked
Back Doctor Near Me That Accept Medicaid
Korslien Auction
6030 Topsail Rd, Lady Lake, FL 32159 - MLS G5087027 - Coldwell Banker
Hubspot Community
Liv Morgan Wedgie
Top Dog Boarding in The Hague with Best Prices on PetBacker
How to Survive (and Succeed!) in a Fast-Paced Environment | Exec Learn
Nsfw Otp Prompt Generator Dyslexic Friendly
Bryant Air Conditioner Parts Diagram
Ces 2023 Badge Pickup
Realidades 2 Capitulo 2B Answers
Best Of Clinton Inc Used Cars
File Annual Report - Division of Corporations
Craig List El Paso Tx
Democrat And Chronicle Obituaries For This Week
29+ Des Moines Craigslist Furniture
Diora Thothub
Mecklenburg Warrant Search
Latest Posts
Article information

Author: Allyn Kozey

Last Updated:

Views: 6641

Rating: 4.2 / 5 (43 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Allyn Kozey

Birthday: 1993-12-21

Address: Suite 454 40343 Larson Union, Port Melia, TX 16164

Phone: +2456904400762

Job: Investor Administrator

Hobby: Sketching, Puzzles, Pet, Mountaineering, Skydiving, Dowsing, Sports

Introduction: My name is Allyn Kozey, I am a outstanding, colorful, adventurous, encouraging, zealous, tender, helpful person who loves writing and wants to share my knowledge and understanding with you.