gnome-remote-desktop leads to a session crash inside qemu with virtio-vga
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-remote-desktop (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
Jeremy Bícha |
Bug Description
Impact
======
A minimal QEMU image of Ubuntu Desktop will fail to start after installing. This is because of a gnome-remote-
We worked around this bug before the Ubuntu 22.04 LTS release by updating osinfo-db so that installs using GNOME Boxes and Virt Manager would do the right thing by default. But that didn't help for this particular test case.
Test Case
=========
1. On a jammy host, create a jammy guest:
$ qemu-img create -f qcow2 vm.qcow2 50G
$ qemu-system-x86_64 -accel kvm -cpu host -smp cpus=4 -m 3072 -device virtio-vga -display gtk,grab-
2. Install Ubuntu in that VM (minimal install), no problems are expected yet.
3. After the installation is concluded and the VM reboots, try to login using the Wayland session (it should be the default, no need to select anything). It will fail and bring you back to the login screen (apparently due to a gnome-shell crash; I don't think the details are relevant to the problem here).
What is expected: that both the Wayland and X11 sessions work out-of-the-box.
Workaround
===========
remove gnome-remote-
Extra information
=================
1. gnome-shell starts as expected if the X11 session is selected instead.
2. Alternatively, using the OpenGL enabled virtio-vga driver also makes it work in both the X11 and Wayland sessions:
$ qemu-system-x86_64 -accel kvm -cpu host -smp cpus=4 -m 3072 -device virtio-vga-gl -display gtk,gl=
What Could Go Wrong
===================
See the master update bug report at LP: #1970662
description: | updated |
description: | updated |
Changed in gnome-remote-desktop (Ubuntu Jammy): | |
importance: | Undecided → High |
assignee: | nobody → Jeremy Bicha (jbicha) |
status: | New → Triaged |
Changed in gnome-remote-desktop (Ubuntu): | |
status: | Confirmed → Fix Committed |
tags: | removed: rls-jj-incoming |
Changed in gnome-remote-desktop (Ubuntu Jammy): | |
status: | Triaged → In Progress |
description: | updated |
Thank you for your bug report. Could you add the 'journalctl -b -<n>' log from a session which showed the issue? where <n> is the number of system restarts since you triggered the bug