virt-viewer crashes in Wayland session - kvm-qemu

Bug #1923380 reported by tea for one
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
virt-viewer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Terminal output as follows:-

(virt-viewer:17150): Gdk-CRITICAL **: 22:30:44.680: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed
Killed

I expected virt-viewer to display the grapical console of my vm, but it crashed as indicated by the terminal output.

Ubuntu 20.04
Gnome Shell 3.36.7
virt-viewer 7.0-2build1
/usr/bin/qemu-system-x86_64
virtual machine manager 2.2.1

Using the built in graphical console of virtual machine manager in a wayland session, the display is fine but full screen display is missing, hence the requirement for virt-viewer.

Virt-viewer is perfect in an X11 session

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in virt-viewer (Ubuntu):
status: New → Confirmed
Revision history for this message
tea for one (markexhome) wrote :

Following the release of Ubuntu 22.04, I can confirm that virt-viewer now does not crash in a Wayland session. Details as follows:-
Ununtu 22.04
Gnome Shell 42.0
Virt-viewer 7.0-2build2 (jammy)
qemu-system-x86 1:6.2+dfsg-2ubuntu6 (jammy)
Virtual Machine Manager 4.0.0

Revision history for this message
Mark Hurenkamp (mark-hurenkamp) wrote (last edit ):

I just found this issue while looking for a solution for the same problem, however i too am running virt-viewer on Ubuntu Jammy, but still seem to be haunted by this bug.
The VM however is running on a remote machine running proxmox 7.3

Client:
Ubuntu 22.04.1
Gnome Shell 42.5
virt-viewer 7.0

Host:
Proxmox 7.3-4
qemu-system-x86_64 7.1.0 (pve-qemu-kvm_7.1.0-4)

Guest:
Ubuntu 20.04.5

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.