Manual Implementation of Auto Resizing For Non-Gnome Environments (like XFCE) running under Spice/Libvirt

echo 'ACTION=="change",KERNEL=="card0", SUBSYSTEM=="drm", RUN+="/usr/local/bin/x-resize" ' | sudo tee /etc/udev/rules.d/50-x-resize.rules
sudo mkdir /var/log/autores
sudo curl "https://gist.githubusercontent.com/3lpsy/4cc344ae031bf77595991c536cbd3275/raw/4965f04913626eb94485a5e6a67938b16c16b6e0/x-resize" -o /usr/local/bin/x-resize
sudo chmod +x /usr/local/bin/x-resize
sudo udevadm control --reload-rules
sudo systemctl enable --now spice-vdagentd

erro ao entrar no tinkercad

[ 1058.759]
X.Org X Server 1.21.1.16
X Protocol Version 11, Revision 0
[ 1058.759] Current Operating System: Linux administrador-hpcompaqdc7800psmallformfactor 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64
[ 1058.759] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.12.43+deb13-amd64 root=UUID=0a5a8695-8694-4d2f-9ef5-a45bd58b474f ro quiet splash resume=UUID=59c9fcd9-a1ed-411c-bf42-32c382970e00
[ 1058.759] xorg-server 2:21.1.16-1.3 (https://www.debian.org/support)

Subscrever xfce4