funtoo / keychain

keychain ssh-agent front-end
http://www.funtoo.org
GNU General Public License v2.0
750 stars 104 forks source link

Blank screen after login #129

Open ianchanning opened 3 years ago

ianchanning commented 3 years ago

I'm using Fedora 34 with keychain 2.8.5.

After I installed keychain via dnf and added

eval `keychain --eval --agents ssh id_rsa`

to my .bashrc I could no longer properly log in.

I could get to the log in screen, but after entering my password the screen shows a grey background and then typically loads the fedora desktop. However with keychain enabled they grey background shows but it never loads the desktop.

Once I removed the keychain line from my .bashrc by first switching into a terminal login via Ctrl + Alt + F3 I could then log in normally again.

This 'blank screen' fedora forum post described what was my likely problem as I had only recently installed keychain:

Had similar problem with fedora 31 update. After entering the user credentials gnome froze on a gray screen.

Googled, managed to switch to terminal.

In my case I commented out the ssh agent lines in ky bash_profile. It seems an incompatibility between the way terminal and gnome handle ssh keys load in agent.

maximlomans commented 2 years ago

Have been seeing the same thing, it doesn't happen on the Raspberry Pi, only on the Win10/Ubuntu20.04 dual booting tower, I think, actually I'm pretty sure it's the secure boot that has active encryption, only after login and running : $ source ~/.profile again it relaunches
try it

hubertbanas commented 2 years ago

I'm seeing identical behavior on Pop!_OS 21.10

$ dpkg -l | grep keychain
ii  keychain                                2.8.5-2                                                all          key manager for OpenSSH

$ gnome-shell --version
GNOME Shell 40.5

$ cat /etc/os-release
NAME="Pop!_OS"
VERSION="21.10"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 21.10"
VERSION_ID="21.10"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=impish
UBUNTU_CODENAME=impish
LOGO=distributor-logo-pop-os
rylancates commented 2 years ago

Seeing the same behavior on Fedora 35 with Gnome/Wayland. Unable to log in with a password encrypted ssh and gpg key

mrl5 commented 2 years ago

hello @ianchanning - if you'd like to report a bug kindly use https://bugs.funtoo.org/

you can also reach us on Discord - for more info check https://www.funtoo.org/Welcome