ZSH shells break Login screen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-keyring (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
There's a bug that affects gnome-keyring, and i'll describe the steps i've done to reproduce it twice, although i don't have
full details as to what exactly is causing it.
Issue can be summarized as follows:
On Ubuntu 19.10, but not at least 18.04 (another computer i have using the older release), there's an issue that prevents the user to login to a gnome session
The issue shows up when checking the session manager:
```
service gdm3 status
Process: ExecStartPre: /usr/share/
Process: ExecStartPre: /usr/lib/
...
gdm-password: gkr-pam: unable to local control file
```
Relevant components:
* gdm3 3.34.1-1
* gnome-shell 3.34.1-1
* gnome-keyring 3.34.0-1
* zsh 5.77.1-ubuntu2
This does not occur on a fresh installation of Ubuntu. It only happens once some of these tools are installed:
* zsh (ubuntu package https:/
* oh-my-zsh (brings in lots of plugins, although only git was sourced) - https:/
* powerlevel10k (shell theme ) - https:/
The tools would appear to work fine, until you reboot the machine, and are asked to login, at which point gkr-pam complains that it can't locate control file.
Unfortunately i don't have better details because eventually i broke so much my login that i decided to reinstall the system from scratch.
Upon installation, i started from fresh, with no zsh, and everything worked. Once zsh was installed, it will no longer work.
A fix for this was to revert to bash shell.
The key change was to no include this line at the top of .bashrc
```
#exec zsh
```
So i can confirm the issue is there, but that's as far as i got after several hours of investigations.
I appreciate that this bug may not be a gnome-keyring specific bug, but seems that its the one been affected anyways.
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
I've cross-posted this issue in the related tools since it's unclear which one causes it, but it's severe enough to make it worth triaging it.
https:/ /github. com/robbyrussel l/oh-my- zsh/issues/ 8296 /github. com/romkatv/ powerlevel10k/ issues/ 280
https:/