Problem with autoresize window on boxes

Hi everyone, I installed fedora silverblue and I was trying to use the VM with virt-manager and boxes but when I resize the window. The resolution doesn’t resize.
Example:




Sorry for my bad english thanks in advance!

bash-5.2$ rpm-ostree status
State: idle
Deployments:
● fedora:fedora/39/x86_64/silverblue
                  Version: 39.20240417.0 (2024-04-17T00:39:00Z)
               BaseCommit: 4df34ac077503fe659aac6abbfe2e68699c4cad2f162a136d2f9cfde6c32e71e
             GPGSignature: Valid signature by E8F23996F23218640CB44CBE75CF5AC418B8E74C
          LayeredPackages: distrobox gnome-boxes gnome-tweaks gstreamer-plugins-espeak
                           gstreamer1-plugin-openh264 libvirt libvirt-client libvirt-nss
                           printer-driver-brlaser simple-scan virt-manager
            LocalPackages: brscan4-0.4.11-1.x86_64

  fedora:fedora/39/x86_64/silverblue
                  Version: 39.20240417.0 (2024-04-17T00:39:00Z)
               BaseCommit: 4df34ac077503fe659aac6abbfe2e68699c4cad2f162a136d2f9cfde6c32e71e
             GPGSignature: Valid signature by E8F23996F23218640CB44CBE75CF5AC418B8E74C
          LayeredPackages: distrobox gnome-boxes gnome-tweaks gstreamer-plugins-espeak
                           gstreamer1-plugin-openh264 libvirt libvirt-client libvirt-nss
                           printer-driver-brlaser simple-scan virt-manager
            LocalPackages: brscan4-0.4.11-1.x86_64
bash-5.2$ ^C

You need to install virtIO drivers in windows to get the guest tools and resize to work as should

1 Like

The VirtIO drivers for Windows are located at:

The direct link is https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/virtio-win.iso

You basically download the ISO, add the ISO to your VM, open the virtual disc inside Windows, install the drivers by double clicking the EXE file in the disc. You may need to reboot. But after the driver is installed and active, Windows should resize and have other integration features.

Specifically, in Boxes on Fedora, you’d go to the settings of the Windows VM (by right-clicking the VM and selecting Preferences), switch to the devices tab, and select the ISO in the CDROM/DVD section. Here’s a screenshot of the VM settings:

Be sure to read the documentation at the first link in this comment for more information.