Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for fish and gnome-shell gkr-pam: unable to locate daemon control file #1

Open
igo95862 opened this issue Aug 3, 2021 · 1 comment

Comments

@igo95862
Copy link

igo95862 commented Aug 3, 2021

I saw you linked an bug report on Arch Wiki fish shell with an issues between the bashrc fish launch script and gnome shell.

I debugged it a little bit and came up with the fix:

if [[ $(ps --no-header --pid=$PPID --format=cmd) != "fish" && -z ${BASH_EXECUTION_STRING} ]]
then
	exec fish
fi

For some reason gnome shell launches the bash with -c commands and manually sources bashrc. BASH_EXECUTION_STRING will indicate that bash was launched with -c arguments.

@igo95862
Copy link
Author

igo95862 commented Aug 3, 2021

I believe this is a Fedora problem. I never had an issue with this on Arch even though I have been running GNOME for quite some time.

Might be different PAM configuration as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant