Spice second display black screen for Kali guest VM

obitori

New Member
Jan 4, 2023
11
0
1
UPDATE: Updating to Proxmox v8 did not fix this.

I can open a SPICE session on a Kali guest VM no problem, but I cannot get a second screen to work since I reinstalled my guest. I get a black screen for display #2 although Display #1 continues to work. Sometimes, when I resize the second screen, the desktop flickers on for a second before going to noise and then black again.

SETUP:
Proxmox 7.3-3 running on Dell 620 (124G ram // 12 cores of Intel I forget)

Relevant Guest settings:
Spice dual monitor (qxl, mem=64)
kvm 64-bit
virtio scsi

GUEST VM SETTINGS:

Code:
─$ sudo lshw -c display
  *-display               
       description: VGA compatible controller
       product: QXL paravirtual graphic card
       vendor: Red Hat, Inc.
       physical id: 2
       bus info: pci@0000:00:02.0
       logical name: /dev/fb0
       version: 05
       width: 32 bits
       clock: 33MHz
       capabilities: vga_controller rom fb
       configuration: depth=32 driver=qxl latency=0 resolution=1024,768
       resources: irq:10 memory:c0000000-dfffffff memory:e0000000-efffffff memory:f0650000-f0651fff ioport:f160(size=32) memory:c0000-dffff


Code:
└─$ systemctl status spice-vdagent       
● spice-vdagentd.service - Agent daemon for Spice guests
     Loaded: loaded (/lib/systemd/system/spice-vdagentd.service; indirect; pres>
     Active: active (running) since Sun 2023-09-24 09:43:50 EDT; 13min ago
TriggeredBy: ● spice-vdagentd.socket
    Process: 1168 ExecStart=/usr/sbin/spice-vdagentd $SPICE_VDAGENTD_EXTRA_ARGS>
   Main PID: 1176 (spice-vdagentd)
      Tasks: 3 (limit: 9428)
     Memory: 900.0K
        CPU: 1.200s
     CGroup: /system.slice/spice-vdagentd.service
             └─1176 /usr/sbin/spice-vdagentd

Tried with fresh Kali installs of default XFCE as well as separate fresh installs of Gnome (X11) and KDE Plasma (Wayland--doesn't allow dual monitors)

All of them create a second (even third) display (Virtual-2), but screen is black for Virtual-3. Below command does nothing:

Code:
xrandr --auto --output Virtual-2

Running above with sudo only causes an error about authentication, but the above (without sudo) works for Virtual-1, rezizing the first "monitor" to fit the display box size.

Ubuntu 22.04 install with same VM config works out of the box (even screen resizing).

Any suggestions welcome.

Obitori
 
Last edited:
UPDATE: No luck raising this with Spice Forums.
UPDATE: Updating to Proxmox v8 did not fix this.

I can open a SPICE session on a Kali guest VM no problem, but I cannot get a second screen to work since I reinstalled my guest. I get a black screen for display #2 although Display #1 continues to work. Sometimes, when I resize the second screen, the desktop flickers on for a second before going to noise and then black again.

SETUP:
Proxmox 7.3-3 running on Dell 620 (124G ram // 12 cores of Intel I forget)

Relevant Guest settings:
Spice dual monitor (qxl, mem=64)
kvm 64-bit
virtio scsi

GUEST VM SETTINGS:


Code:

─$ sudo lshw -c display
*-display
description: VGA compatible controller
product: QXL paravirtual graphic card
vendor: Red Hat, Inc.
physical id: 2
bus info: pci@0000:00:02.0
logical name: /dev/fb0
version: 05
width: 32 bits
clock: 33MHz
capabilities: vga_controller rom fb
configuration: depth=32 driver=qxl latency=0 resolution=1024,768
resources: irq:10 memory:c0000000-dfffffff memory:e0000000-efffffff memory:f0650000-f0651fff ioport:f160(size=32) memory:c0000-dffff




Code:

└─$ systemctl status spice-vdagent
● spice-vdagentd.service - Agent daemon for Spice guests
Loaded: loaded (/lib/systemd/system/spice-vdagentd.service; indirect; pres>
Active: active (running) since Sun 2023-09-24 09:43:50 EDT; 13min ago
TriggeredBy: ● spice-vdagentd.socket
Process: 1168 ExecStart=/usr/sbin/spice-vdagentd $SPICE_VDAGENTD_EXTRA_ARGS>
Main PID: 1176 (spice-vdagentd)
Tasks: 3 (limit: 9428)
Memory: 900.0K
CPU: 1.200s
CGroup: /system.slice/spice-vdagentd.service
└─1176 /usr/sbin/spice-vdagentd

Tried with fresh Kali installs of default XFCE as well as separate fresh installs of Gnome (X11) and KDE Plasma (Wayland--doesn't allow dual monitors)

All of them create a second (even third) display (Virtual-2), but screen is black for Virtual-3. Below command does nothing:


Code:

xrandr --auto --output Virtual-2

Running above with sudo only causes an error about authentication, but the above (without sudo) works for Virtual-1, rezizing the first "monitor" to fit the display box size.

Ubuntu 22.04 install with same VM config works out of the box (even screen resizing).

Any suggestions welcome.

Obitori
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!