Package: spice-vdagent
Version: 0.22.1-4+b1
Severity: important
X-Debbugs-Cc: [email protected]

Dear Maintainer,

* What led up to the situation?
Installed Debian Bookworm 12.5 XFCE VM within Debian 12.4 + Proxmox 8.1.4 XFCE
workstation. On the VM installed spice-vdagent. Noticed that the Debian VM's
desktop would not automatically resize to the client screen size on boot or to
the client window size if running in a window after rebooting VM. Checked
settings of client machines Virtual Machine Viewer 11. Auto resize is set.
Checked spice-vdagent was running on the VM with "sudo systemctl status spice-
vdagent", it was. Checked that the copy and paste between the client OS and VM
was functional. It was.

* What exactly did you do (or not do) that was effective (or ineffective)?
Opened the VM XFCE display settings from the graphical XFCE desktop. Noticed
that a VM window resize or switch to full screen was being picked up by the VM
display settings manager but was not being selected and activated
automatically. The pictoral "Virtual-1" window representation would change
shape however the display settings "Resolution" drop down box would become
blank. On selecting the "Resolution" drop down box, the display window setting
required is shown at the very top of the list with an asterix (*) against it.
Selecting this option and then apply correctly resizes the desktop resolution
to match the VM window size. However this behavior should be automatic and not
require user intervention.

The issue was googled. Indication that the issue was affecting MATE but not
Cinnamon desktops was found. MATE and Cinnamon desktops were also installed
into a cloned instance of the VM to test. This was confirmed. Cinnamon works
correctly and auto resizes. MATE does not and also was found to not take on the
settings into the Display manager unlike XFCE.

The affected test VM was updated to Trixie and the same tests carried out
again. The same behaviour was found as with Bookworm 12.5.

The logs available for spice-vdagent were searched for within the Gnome Logs
application. Errors were found with each resizing the VM display window:

14:06:31 spice-vdagent:    error message: Cannot invoke method; proxy is for
the well-known name without an owner, and proxy was constructed with the
G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
14:06:31 spice-vdagent:    error message: Cannot invoke method; proxy is for
the well-known name without an owner, and proxy was constructed with the
G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
14:06:31 spice-vdagent: display: failed to call GetCurrentState from mutter
over DBUS
14:06:31 spice-vdagent:    error message: Cannot invoke method; proxy is for
the well-known name without an owner, and proxy was constructed with the
G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
14:06:31 spice-vdagent: display: failed to call GetCurrentState from mutter
over DBUS

* What was the outcome of this action?
Automatic window resize not working XFCE and MATE desktops (Cinnamon works
correctly)

* What outcome did you expect instead?

Automatic window resizing.


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.6.15-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages spice-vdagent depends on:
ii  init-system-helpers  1.66
ii  libasound2           1.2.10-3
ii  libc6                2.37-15
ii  libdbus-1-3          1.14.10-4
ii  libdrm2              2.4.120-2
ii  libglib2.0-0         2.78.4-1
ii  libgtk-3-0           3.24.41-1
ii  libpciaccess0        0.17-3
ii  libsystemd0          255.3-2
ii  libx11-6             2:1.8.7-1
ii  libxinerama1         2:1.1.4-3
ii  libxrandr2           2:1.5.2-2+b1

spice-vdagent recommends no packages.

spice-vdagent suggests no packages.

-- no debconf information

Reply via email to