Το vmware workstation bundle αρνείται να γίνει εγκατάσταση σε arch συστήματα που δεν έχεις /etc/init.d
οπότε προτείνται ένας διαφορετικός τρόπος…
Μέσω του paru + aur
Παραθέτω guide :
Step 1: Install paru AUR helper
Start by installing a smart AUR helper called paru.
git clone https://aur.archlinux.org/paru-bin
cd paru-bin/
makepkg -siStep 2: Install Dependencies
Install all required dependencies for running VMware Workstation on Arch Linux.
sudo pacman -S fuse2 gtkmm linux-headers pcsclite libcanberra
The other package needed by the –console installer is ncurses5-compat-libs. This is available on AUR.
paru -S --noconfirm --needed ncurses5-compat-libs
Step 3: Install VMware Workstation Pro or Player
The vmware-workstation package is available on AUR and can be installed by running the command.
paru -S --noconfirm --needed vmware-workstation
Then, as desired, enable some of the following services:
vmware-networks.service
for guest network access
vmware-usbarbitrator.service
for connecting USB devices to guestExample:
sudo systemctl enable vmware-networks.service vmware-usbarbitrator.service
sudo systemctl start vmware-networks.service vmware-usbarbitrator.service
Confirm services status with:
sudo systemctl status vmware-networks.service vmware-usbarbitrator.service
Lastly, load the VMware modules:
sudo modprobe -a vmw_vmci vmmon
To Launch VMware Workstation, run:
# Launch VMware Workstation Pro:
vmware# Launch VMware Workstation Player
vmplayer
[πηγή]
Το θέμα είναι όμως εάν είσαι σε Garuda Linux Hyprland με Wayland το wofi
launcher αρνείται να το τρέξει σωστά γιατί το vmware βγάζει σφάλμα ότι δε μπορεί να συνδεθεί στο display μας, γιατί δε μπορεί να δει ότι είμαστε σε wayland.
Αυτό διορθώνεται εύκολα εάν του κάνεις ένα απλό export
export GDK_BACKEND=wayland,x11
Αλλά το πήγα ένα βήμα παραπάνω, ώστε και να γίνεται σωστά launch από το wofi αλλά να μπορεί να τρέξει χωρίς προβλήματα…
Πρώτα έδωσα ένα exec-once command στο hyprland.conf
## env export for vmware workstation to work under wayland
exec-once=export GDK_BACKEND=wayland,x11
ώστε να τρέξει system wide αν δώσουμε σε ένα τερματικό απλά την εντολή vmware, αλλά μετά το πήγαμε και λίγο παρακάτω, στο .desktop file του
Παραθέτω από απάντησή μου σε άρθρο στο Garuda Forum :
If you experience problems running on wayland hyprland with wofi or from terminal properly displaying that it can’t connect to screen, then go to the .desktop file in
/usr/share/applications/vmware-workstation.desktop
and have it run a script of yours (use doas/sudo and your text editor)
[Desktop Entry] Encoding=UTF-8 Name=VMware Workstation Comment=Run and manage virtual machines #Exec=/usr/bin/vmware %U Exec=/home/username/scripts/vmware-run.sh Terminal=false Type=Application Icon=vmware-workstation StartupNotify=true StartupWMClass=vmware Categories=System; MimeType=application/x-vmware-vm;application/x-vmware-team;application/x-vmware-enc-vm;x-scheme-handler/vmrc;
instead of
Exec=/usr/bin/vmware %U
have it runExec=/home/username/scripts/vmware-run.sh
or any path of your following script
that the script contents will have the followingexport GDK_BACKEND=wayland,x11 /usr/bin/vmware %U
Have fun!
[πηγή]
Ελπίζω να βοηθήσει μερικούς με Hyprland και σε άλλα θέματα που μπορεί να προκείψουν με GDK_BACKEND display :0 ή :1 ή άλλο