Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: How to install open-vm-tools? (Read 201 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How to install open-vm-tools?

I decided to install Artix on a VM (VMware Player 15). After installation, I tried to install open-vm-tools, but I face this problem:

Code: [Select]
error: failed to commit transaction (conflicting files)
open-vm-tools: /etc/vmware-tools/poweroff-vm-default exists in filesystem
open-vm-tools: /etc/vmware-tools/poweron-vm-default exists in filesystem
open-vm-tools: /etc/vmware-tools/resume-vm-default exists in filesystem
open-vm-tools: /etc/vmware-tools/scripts/vmware/network exists in filesystem
open-vm-tools: /etc/vmware-tools/statechange.subr exists in filesystem
open-vm-tools: /etc/vmware-tools/suspend-vm-default exists in filesystem
Errors occurred, no packages were upgraded.

Anyone has experience with installing Artix on a VM before? Do you face the same issue? If so, how do you resolve it?
You shouldn't listen to my advice anyways

Re: How to install open-vm-tools?

Reply #1
After searching the Internet for a while, I found a solution (Although it installs VMware Tools instead of open-vm-tools, they should work the same):

1. Mount the vmware tools CD from your host (eg. Install VMware Tools button)
2. Mount the CD in your guest
Code: [Select]
mount /dev/cdrom /mnt  # or somewhere else, if that folder is already mounted or something
3. Copy the whatever tar.gz file in the mounted CD to somewhere and untar
Code: [Select]
cd /mnt  # or that somewhere else I was talking about
cp VMware*.tar.gz /tmp  # shell expansion ftw
cd /tmp
tar -xvf VMware*.tar.gz
4. Make dummy init.d folders
Code: [Select]
for i in {0..6}; do mkdir -p "/etc/init.d/rc${i}.d"; done
5. actually install the thing
Code: [Select]
cd /tmp/vmware-tools-distrib
perl vmware-install.pl -d # omit the -d if you want interactive config, -d assumes default values
6. Now the important part. Make /etc/rc.local and run vmware-tools from there
Code: [Select]
echo "/etc/init.d/vmware-tools start" > /etc/rc.local  # or your favorite editor to insert that line
chmod +x rc.local  # if you already have this file, this can be optional. Just make sure file is executable
7. Do something else more productive
Code: [Select]
sudo reboot

The video source
Hope this might help someone.
You shouldn't listen to my advice anyways