Hi @ all
Since switching from Debian 10 to Debian 11, I've had a new small unsolved
problem... with essentially the same customizing as before.
It all takes place on my local Desktop-PC, where I have set up a
restricted VM for actions in the internet.
After I started the VM locally on my PC, I can operate the VM with the
virtviewer without any errors. If I then open the second monitor via
the Menu 'View->Display', a blank white window appears with the message
"Waiting for display 2".
xrandr correctly shows the second display as disconnected and also all
available display-modes.
After the following command
xrandr --output Virtual-2 --auto --right-of Virtual-1
both (!) displays are white and both are waiting for a display.... and
nothing works anymore.
A previously started SSH connection to the VM from the PC shows the
following for this moment:
tom@pc:~
$ ssh 192.168.100.10
$ tom@vm:~
$su-
Password:
root@vm:~
# journalctl -f
Apr 29 16:24:34 internet kernel: [drm] driver is in bug mode
Apr 29 16:24:44 internet spice-vdagent[809]: Unable to find a display id for output index
2)
Apr 29 16:24:44 internet spice-vdagent[809]: Unable to find a display id for output index
3)
Apr 29 16:24:44 internet spice-vdagent[809]: Unable to find a display id for output index
2)
Apr 29 16:24:44 internet spice-vdagent[809]: Unable to find a display id for output index
3)
Apr 29 16:24:44 internet kernel: input: spice vdagent tablet as
/devices/virtual/input/input7
It is no longer possible to restart the VM via "systemctl reboot",
the VM is probably stuck in some systemd-timeouts, only
"systemctl reboot -ff" leads to a reboot as a hard intervention.
Does anyone know this problem? Is there a solution for this, to get the second display
working?
Below some relevant system-informations of my PC and the VM.
root@pc:~
$ lsb_release -a
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
root@pc:~
# uname -a
Linux pc 5.10.0-13-amd64 #1 SMP Debian 5.10.106-1 (2022-03-17) x86_64 GNU/Linux
root@pc:~
# cat /etc/libvirt/qemu/internet.xml | grep '<video' -A 3
<video>
<model type='qxl' ram='65536' vram='65536'
vgamem='16384' heads='2' primary='yes'/>
<address type='pci' domain='0x0000' bus='0x00'
slot='0x02' function='0x0'/>
</video>
tom@vm:~
$ lsb_release -a
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
tom@vm:~
$ dpkg -l | grep -i spice
ii spice-vdagent 0.20.0-2 amd64 Spice agent for Linux
tom@vm:~
$ systemctl status spice-vdagent.service
● spice-vdagentd.service - Agent daemon for Spice guests
Loaded: loaded (/lib/systemd/system/spice-vdagentd.service; indirect; vendor preset:
enabled)
Active: active (running) since Fri 2022-04-29 16:00:56 CEST; 16min ago
TriggeredBy: ● spice-vdagentd.socket
Process: 847 ExecStart=/usr/sbin/spice-vdagentd $SPICE_VDAGENTD_EXTRA_ARGS
(code=exited, status=0/SUCCESS)
Main PID: 849 (spice-vdagentd)
Tasks: 2 (limit: 4702)
Memory: 944.0K
CPU: 1.918s
CGroup: /system.slice/spice-vdagentd.service
└─849 /usr/sbin/spice-vdagentd
Thanks and Best Regards
Tom