Public bug reported:
Steps to reproduce:
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-on-hover=on -hda vm.qcow2 -cdrom [jammy ISO]
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-desktop, and the Wayland session will
work just fine in the conditions described above. This is why I'm
reporting this issue in gnome-remote-desktop instead of Wayland or
gnome-shell or qemu. I might be wrong though...
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=on,grab-on-hover=on -hda vm.qcow2
** Affects: gnome-remote-desktop (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
Steps to reproduce:
1. 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-on-hover=on -hda vm.qcow2 -cdrom [jammy ISO]
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-desktop, and the Wayland session will
work just fine in the conditions described above. This is why I'm
reporting this issue in gnome-remote-desktop instead of Wayland or
- gnome-shell. I might be wrong though...
+ gnome-shell or qemu. I might be wrong though...
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=on,grab-on-hover=on -hda vm.qcow2
** Description changed:
Steps to reproduce:
- 1. Create a jammy guest:
+ 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-on-hover=on -hda vm.qcow2 -cdrom [jammy ISO]
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-desktop, and the Wayland session will
work just fine in the conditions described above. This is why I'm
reporting this issue in gnome-remote-desktop instead of Wayland or
gnome-shell or qemu. I might be wrong though...
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=on,grab-on-hover=on -hda vm.qcow2
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971195
Title:
gnome-remote-desktop leads to a session crash inside qemu with virtio-
vga
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-remote-desktop/+bug/1971195/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs