Kubuntu resolution not change when spice window resized


Renowned Member
Mar 6, 2014
Cottbus, Germany

actually i try to run Kubuntu 18.04.1 as guest. I installed Kubuntu the default way. Then i installed qemu-agent and spice-vdagent with apt.
I changed the display in the vm configuration to SPICE. I can use virt-viewer to connect with the SPICE console. Clipboard sync als also working fine.

When i resize the virt-viewer windows the resolution does not change. Kubuntu keeps the old resolution. I can force the resolution to be changed to fits the window's size with

xrandr --output Virtual-0 --auto

This is my VM config
bootdisk: scsi0
cores: 4
cpu: host
ide2: none,media=cdrom
memory: 2048
name: HBB-Kubuntu
net0: virtio=DA:B1:0C:49:E9:4F,bridge=vmbr0
numa: 0
ostype: l26
scsi0: fernvm:236/vm-236-disk-0.qcow2,size=32G
scsihw: virtio-scsi-pci
smbios1: uuid=2c886779-5ae4-4eb4-9cc5-a27135c3e9ee
sockets: 1
vga: qxl

I'm acatually using 5.2-9.


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!