User Tools

Site Tools


linux:apps:kvm:client-resolution

This is an old revision of the document!


Client Resolution

To fix or automate the display resolution for an XFCE guest using LightDM inside virt-manager (QEMU/KVM), you generally need to address two distinct parts: the LightDM login screen and the XFCE user desktop session.

Step 1: Install Spice Guest Tools

This enables Auto-Resizing for your desktop environment to automatically match your virt-manager window size, you must have the guest agent installed and running inside the virtual machine.

# apt install spice-vdagent qemu-guest-agent
# systemctl enable --now spice-vdagentd
  • In your virt-manager window menu on the host, make sure View > Scale Display > Auto resize VM with window is checked.Note: XFCE sometimes requires you to manually pull a corner of the window or toggle Fullscreen (F11) once after logging in to trigger the first dynamic resize.
  • On the client menu go to settings > Display and set the proper resolution
linux/apps/kvm/client-resolution.1788463525.txt.gz · Last modified: by oscar