Here are steps to reproduce the issue. Confirmed on a fresh Ubuntu 20.04 install in a VM.
sudo apt install keychain mkdir ~/.ssh cd ~/.ssh ssh-keygen -t rsa -b 4096 -C "user@domain" # -- Enter a passphrase when asked. vi ~/.bash_profile # -- Add the following text. Replace "user" with the actual user name. #!/bin/bash set autologout=0 # Setup password-less SSH [ -z "$HOSTNAME" ] && HOSTNAME=`uname -n` keychain /home/user/.ssh/id_rsa source /home/user/.keychain/${HOSTNAME}-sh Reboot. On the login screen, click on the user, then select "Ubuntu on Wayland" in the Gear icon. Enter password and login. Result: login screen hangs indefinitely. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878275 Title: wayland session hard freezes on login from GDM (X11 session works fine) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1878275/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs