Skip to main content

Install SPICE Agent & QEMU Agent Archlinux UTM

https://docs.getutm.app/guest-support/linux/#archlinux

Spice Agent

jalankan perintah berikut : 

Archlinux

pacman -S spice-vdagent

Fedora, Centos, RPM Based

$ sudo yum install spice-vdagent

Ubuntu, Debian, APT Based

$ sudo apt install spice-vdagent

Screenshot 2024-09-01 at 20.57.49.png

tekan Y untuk lanjutkan install

Screenshot 2024-09-01 at 20.58.05.png

tunggu sampai proses selesai

Screenshot 2024-09-01 at 21.02.52.png

QEMU Agent

Additional features such as time syncing and scripting are supported by the QEMU agent.

Ubuntu, Debian, apt based

$ sudo apt install qemu-guest-agent

Fedora, CentOS, RPM based

$ sudo yum install qemu-guest-agent

ArchLinux

jalankan perintah pacman -S qemu-guest-agent

Screenshot 2024-09-01 at 21.03.22.png

tekan Y untuk lanjutkan

Screenshot 2024-09-01 at 21.04.07.png

tunggu sampai proses selesai

SPICE WebDAV

Ubuntu, Debian, apt based

$ sudo apt install spice-webdavd

Fedora, CentOS, RPM based

$ sudo yum install spice-webdavd

ArchLinux

$ sudo pacman -S phodav

jalankan perintah pacman -S phodav

Screenshot 2024-09-01 at 21.05.49.png

ketik Y untuk lanjut

Screenshot 2024-09-01 at 21.06.24.png

tunggu sampai proses selesai

VirtioFS (khusus macos)

misal kita share folder lewat /home/shared, buat folder shared dengan perintah mkdir /mnt/share

Screenshot 2024-09-01 at 21.17.43.png

pastikan sudah setting shared folder di UTM, jika belum, shutdown dan setting shared folder, pada shared directory klik tombol browse

Screenshot 2024-09-01 at 21.11.03.png

pilih folder yang akan di shared

Screenshot 2024-09-01 at 21.12.10.png

klik open

setelah selesai jalankan kembali perintah mount

kemudian mount folder shared dengan perintah mount -t virtiofs share /mnt/share

setelah di cek

Screenshot 2024-09-01 at 23.16.33.png

namun user biasa belum bisa melakukan modifikasi pada mount file tsb, hanya readonly, jalankan perintah 

sudo chown -R naja /mnt/share

Screenshot 2024-09-01 at 23.17.26.png

file bisa diakses

Screenshot 2024-09-01 at 23.36.14.png