vdagent delaying DE startup when using -x option : failed to call GetCurrentState from mutter over DBUS
I'm using Arch linux with Cinnamon and I tried both spice-vdagent versions from the official repo :
extra/spice-vdagent 0.22.1-3
Spice agent for Linux guests
As well as the git version (there's not much change)
yay -Qi spice-vdagent-git
Name : spice-vdagent-git
Version : 0.22.1.3.gaa08162-1
I'm able to replicate consistently a problem whenever I have -x in to the CLI :
[qacicd@arch ~]$ cat /etc/xdg/autostart/spice-vdagent.desktop
[Desktop Entry]
Name=Spice vdagent
Comment=Agent for Spice guests
Exec=/usr/bin/spice-vdagent -x --file-xfer-save-dir=/home/qacicd/
Terminal=false
Type=Application
Categories=
X-GNOME-Autostart-Phase=WindowManager
NoDisplay=true
X-systemd-skip=true
This is what happens during the boot : vdagent-cinnamon-mutter-timeout
And this is the log :
Aug 07 13:21:34 arch spice-vdagent[693]: display: failed to call GetCurrentState from mutter over DBUS
Aug 07 13:21:34 arch spice-vdagent[693]: error message: Cannot invoke method; proxy is for the well-known name org.gnome.Mutter.DisplayConfig without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
This happens until the timeout :
Aug 07 13:22:03 arch cinnamon-session[437]: WARNING: t+30.15880s: Application 'spice-vdagent.desktop' failed to register before timeout
As a sidenote, the -x was added trying to have the file transfer working reading stuff on the internet but it's not needed, and I already have my setup working without that option but I'm reporting this nevertheless since there's little to no info online.