wayland session hard freezes on login from GDM (X11 session works fine)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdm3 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
When I login to my laptop running Ubuntu 20.04, after entering my username, when I choose the "gear" button and select Ubuntu on Wayland as the session type, my laptop freezes hard. Mouse and keyboard do not respond, and the first three times I hit this issue I had to forcibly power off. The normal (X11) Ubuntu session works fine.
However, I realized that I could still ping and ssh in, and doing that gave me some clues to the issue.
I have keychain installed for password-less SSH, and my bash_profile has:
---
#!/bin/bash
# Get the aliases and functions
if [ -f $HOME/.bashrc ] ; then
source $HOME/.bashrc
fi
# Setup password-less SSH
[ -z "$HOSTNAME" ] && HOSTNAME=`uname -n`
keychain $HOME/.ssh/id_rsa
source $HOME/.
---
When I login via SSH from another machine after hitting the issue, I get:
[johnjaco@
Welcome to Ubuntu 20.04 LTS (GNU/Linux 5.4.0-29-generic x86_64)
* Documentation: https:/
* Management: https:/
* Support: https:/
0 updates can be installed immediately.
0 of these updates are security updates.
Your Hardware Enablement Stack (HWE) is supported until April 2025.
Last login: Mon Apr 27 19:41:17 2020 from 192.168.1.3
* keychain 2.8.5 ~ http://
* Waiting 5 seconds for lock...
* Found existing ssh-agent: 2086
* Adding 1 ssh key(s): /home/john/
Enter passphrase for /home/john/
* ssh-add: Identities added: /home/john/
[john@andromeda: ~] pstree
systemd─
├─acpid
├─cron
├─cupsd
│ │ │ └─2*[{gdm-
│ │ └─2*[{gdm-
│ ├─gdm-session-
│ │ │ └─2*[{gdm-
│ │ └─2*[{gdm-
│ └─2*[{gdm3}]
├─ssh-agent
│ ├─at-spi-
│ │ └─3*[{at-
│ ├─at-spi2-
│ ├─dbus-daemon
│ ├─dconf-
│ ├─gjs───10*[{gjs}]
│ ├─gnome-
│ ├─gnome-
│ ├─gnome-
│ ├─gnome-
│ │ ├─ibus-
│ │ │ ├─ibus-
│ │ │ └─2*[{ibus-daemon}]
│ │ └─16*[{
│ ├─goa-daemon─
│ ├─goa-identity-
│ ├─gsd-a11y-
│ ├─gsd-color─
│ ├─gsd-keyboard─
│ ├─gsd-media-
│ ├─gsd-power─
│ ├─gsd-print-
│ ├─gsd-printer─
│ ├─gsd-rfkill─
│ ├─gsd-smartcard
│ ├─gsd-sound─
│ ├─gsd-usb-
│ ├─gsd-wacom─
│ ├─gsd-wwan─
│ ├─gsd-xsettings
│ ├─gvfs-
│ ├─gvfs-
│ ├─gvfs-
│ ├─gvfs-
│ ├─gvfs-
│ ├─gvfsd─
│ ├─gvfsd-
│ ├─ibus-
│ ├─ibus-
│ ├─pulseaudio─
│ ├─tracker-
│ └─xdg-permissio
│ ├─dbus-daemon
│ ├─goa-daemon─
│ ├─goa-identity-
│ ├─gvfs-
│ ├─gvfs-
│ ├─gvfs-
│ ├─gvfs-
│ ├─gvfs-
│ ├─gvfsd─
│ ├─gvfsd-
│ ├─pulseaudio─
│ └─tracker-
This makes me think that gdm-wayland-session is somehow stuck on trying to add the SSH key.
This issue is consistently reproducible, so let me know what additional information is needed and I shall provide it.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gdm3 3.34.1-1ubuntu1 [modified: usr/share/
ProcVersionSign
Uname: Linux 5.4.0-29-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Tue May 12 15:14:35 2020
ExecutablePath: /usr/lib/
InstallationDate: Installed on 2020-04-23 (19 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, no user)
LANG=en_US.UTF-8
XDG_RUNTIME_
SourcePackage: gdm3
UpgradeStatus: No upgrade log present (probably fresh install)
Thank you for taking the time to report this bug and helping to make Ubuntu better. It sounds like some part of the system has crashed. To help us find the cause of the crash please follow these steps:
1. Look in /var/crash for crash files and if found run:
ubuntu-bug YOURFILE.crash
Then tell us the ID of the newly-created bug.
2. If step 1 failed then look at https:/ /errors. ubuntu. com/user/ ID where ID is the content of file /var/lib/ whoopsie/ whoopsie- id on the machine. Do you find any links to recent problems on that page? If so then please send the links to us.
3. If step 2 also failed then apply the workaround from bug 994921, reboot, reproduce the crash, and retry step 1.
Please take care to avoid attaching .crash files to bugs as we are unable to process them as file attachments. It would also be a security risk for yourself.