Comment 130 for bug 1845801

Revision history for this message
jeremyszu (os369510) wrote :

I'd confirmed the regression with enabling Wayland.
Due to nvidia-driver (nvidia-driver-440) disable wayland as default, I'll separate the verification to two scenarios.

1. Make sure the new gdm3 fixes this issue.
2. Make sure the new gdm3 without the regression (https://gitlab.gnome.org/GNOME/gdm/-/issues/602)

---

* Make sure the new gdm3 fixes this issue *

[Summary]
Here are two scenario of auto login with groovy (20.10) daily build[1]:

1. Checked "Install third-party software" (e.g. nvidia-driver) with enabling "Login automatically".

2. Install with default options
2.1 Install nvidia-driver-440 (450.66-0ubuntu2) from ubuntu-archive.
2.2 Enable "Login automatically" from system settings.

After reboot, the system won't login automatically even can not login manually.

[Environment]
HP 800 G6 DM + GeForce GTX 1660 [10de:2191]

[Solution]
Backport the solution from comment#119 as a debian package[2] (commit ID from upstream: f843233a, 690b3c01). The problem is solved. (Verified in scenario 2)

The debdiff as attachment, please help to review.

[1] sha256sum
```
$ sha256sum ~/Downloads/groovy-desktop-amd64.iso
bf4359114660504ad3f6fbde5e0c3edbc67a4101e4480f576d3cbd4f59acf822 /home/jeremysu/Downloads/groovy-desktop-amd64.iso
```
[2] gdm3 from https://launchpad.net/~os369510/+archive/ubuntu/gdm3-1845801/+packages

---

* Make sure the new gdm3 without the regression (https://gitlab.gnome.org/GNOME/gdm/-/issues/602) *

This issue is happens when switching user under Wayland.
I'd verified gdm3#602 issue when using intel graphic in the same machine because nvidia-driver disable Wayland as default.

Steps to reproduce gdm3#602 issue:
1. Login a user "test" under x11
2. Create a user "test2"
3. Press "switch user ..." to "test2" under wayland
4. Switch back to "test" under x11
5. Switch to "test2" under wayland (then the running session be killed immediately)
6. Login again and then the mouse won't work.

After applying commit 690b3c01, above problems are solved. Repeat to switch user and everything goes well.