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
Is Luxury Real Estate in California Right for You?
Bloxburg House Layout Ideas: 10 Stunning Designs
Hollys Pawn Saraland Al
Formulaire 3CEp - COPRAUDIT
Why Does It Say I Have 0 Followers on TikTok?
Uber Hertz Marietta
Cold War Brainpop Answers
Bingo Bling Promo Code 2023
United Center Section 305
Julia Is A Doctor Who Treats Patients
Craigslist Farm And Garden Yakima Wa
Top Scorers Transfermarkt
Megan Thee Stallion, Torrey Craig Seemingly Confirm Relationship With First Public Outing
Nail Shops Open Sunday Near Me
Zack Fairhurst Snapchat
Craigslist Apartments In Philly
1102 E Overland Trail Abilene 79601
9192464227
Amanda Balionis makes announcement as Erica Stoll strides fairways with Rory McIlroy
Aaf Seu
Craigslist For Cars Los Angeles
KINOPOLIS Bonn-Bad Godesberg – Mehr Kino geht nicht
KMST ver. 1.2.178 – Tallahart & the Long Awaited Balance Patch!
Https //Myapps.microsoft.com Portal
Walgreens Shopper Says Staff “Threatened” And “Stalked” Her After She Violated The “Dress Code”
The Tragic Death Of Nikki Catsouras: The Story Behind The Viral Photos
Redgifs.comn
Pirates Point Lake Of The Ozarks
Busse Bladeforums
Antonios Worcester Menu
Seconds Valuable Fun Welcoming Gang Back Andy Griffith's Birthday A Top Wish So A Happy Birthday FZSW A Fabulous Man Kevin Talks About Times From Ten Day Weekend Fun Labor Day Break
Greet In Cheshire Crossword Clue
Lvc Final Exam Schedule
Craigslist Chicagoland Area
The Abduction of Heather Teague
Nikki Porsche Girl Head
Help with Finding Parts for Your Vehicle
Ripoff Report | MZK Headhunters Inc. complaints, reviews, scams, lawsuits and frauds reported, 0 results
What Is The Solution To The Equation Below Mc010-1.Jpg
Iconnect Seton
Broussard’s Mortuary Major Dr.
Snyder Funeral Homes ♥ Tending to Hearts. ♥ Family-owned ...
Theatervoorstellingen in Roosendaal, het complete aanbod.
Craigslist For Port Huron Michigan
Patriot Ledger Obits Today
A1.35.3 Spanish short story: Tending the Garden
Rydell on LinkedIn: STARTING TODAY you no longer have to wait in a long line to get your oil…
Effingham Radio News
Walmart Supercenter Curbside Pickup
Craigslist Antelope Valley General For Sale
When His Eyes Opened Chapter 191
Mri Prospect Connect
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.