Did you just install Windows 10 in Gnome Boxes and are stuck with a fixed resolution? Here is what you can do about it.
The problem is that, with the predefined graphics settings in Gnome Boxes, Windows cannot adapt it’s resolution to the size of the virtual machine’s windows. In this article I describe how to change the display settings of a Gnome Boxes virtual machine to QXL and how to install the drivers in Windows 10.
Change Video Adapter Settings to QXL
Gnome Boxes has a minimal interface with no menu to change the video settings. To edit the settings you need to use the virsh-tool. Install it with this command:
# sudo dnf install libvirt-client
To list all your Gnome Boxes type:
# ls -l ~/.config/libvirt/qemu/*.xml
Edit the settings of a box with
# virsh edit <box> For example: virsh edit win10
This opens the configuration in vi editor. Search for the video-configuration by typing in “/video” and press return. Press “a” on your keyboard to edit the configuration and change to video-setting to:
<video> <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video>
Press “Esc” to leave edit mode and type :wq to save and exit. If you messed up your configuration, you can leave without saving by typing :q!
Now open Boxes and start Windows again.
In Windows, go to spice-space.org, to the Download page and scroll down to “Guest” -> “Windows Binaries” and download the spice-guest-tools. Install them on your windows.
If after installation your resolution is not adapting to your Boxes window size, go to device manager and change the driver for the Microsoft Basic Display Adapter to RedHat QXL.