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

problema num contentor LXC

Job for systemd-sysctl.service failed because the control process exited with error code.

systemctl --failed --all

UNIT LOAD ACTIVE SUB DESCRIPTION
* sys-kernel-config.mount loaded failed failed Kernel Configuration File System

a resolução.
echo 'lxc.cap.drop: "sys_rawio audit_read"'>>/etc/pve/nodes/xana-w530/lxc/999.conf

Subscrever proxmox