Installing VM Dependencies
Install required dependencies on the host where the VM environment is set up.
- Install libvirt, virt-manager, and other dependencies.
yum install libvirt virt-manager edk2-aarch64 sshpass mesa-libGLES-devel mesa-dri-drivers virt-install -y
- Install the x11 server to enable the virt-manager GUI.
yum install xorg-x11-server
- Open the sshd configuration file.
vi /etc/ssh/sshd_config
- Press i to enter the insert mode and set X11Forwarding to yes.
- Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
- Restart the sshd service.
systemctl restart sshd
In the event of a virt-manager execution error, re-initiate an SSH terminal.
Parent topic: Host Environment Configuration