Login depends on fish

zsh and fish uninstalled, after recenct updates, common user login failed (kde plasma, plasma login manager), luckily root login on tty still works, after reinstall “cachyos-fish-config“, common user login works again. For testing, “cachyos-fish-config“ uninstalled again, login failed again, installed again, login succeeded again.

Better if login doesn’t depend on fish.

Did you change your shell FROM fish before uninstalling it ?

yes, changed to bash before uninstalling cachyos-zsh-config and cachyos-fish-config

Interesting, since I typically change my shell to bash and experience no loss of functionality. I would posit that either something changed (don’t really think so), or you missed something.
To clarify, you are talking direct login to the console, correct?
And did you use ‘chsh’ to change your shell?

Edit: However, I did not uninstall fish…I only stopped using it…Hmmm…I believe I might have read somewhere that there are forgotten snippets of fish shell code somewhere.
I’ll wait on your reply, then if all seems well, I’ll remove fish from my system to see if login fails for me as well.

Got tired of waiting on your reply. I tested it, no problems here. Apparently either I made up reading about issues with fish or it has changed since.
Edit: Actually glad to have gone down this rabbit hole, and expunged a concern that I shared.

To clarify, you are talking direct login to the console, correct?
And did you use ‘chsh’ to change your shell?

direct, when login with common user failed, use ctrl+alt+f2 to switch to tty, then login with common user also failed, but login with root succesfully, with root did `paru -S cachyos-fish-config`, reboot, problem solved.

BTW `cachyos-fish-config` also uninstalled.

I also removed (just now) cachyos-fish-config. No issues.

sorry, typo, `cachyos-zsh-config` also uninstalled

Removed that too (since I’m not using zsh nor are any system accounts) now. VTYs still allow login.

no idea now

To add all possible info to the mix. My installation which I tested this on, is about 16 months old I think (Jan 2025 time frame). It could be important (but shouldn’t be).

My cachyos installer is “cachyos-desktop-linux-260308.iso”.

You probably need to manually change the default shell. How To Change Default Shell In Linux - GeeksforGeeks

*I ran into a similar problem when I removed fish, I forget (it was soon after I started using CachyOS) which of the above procedures I used, but I do know at least of them will work.

After change the default shell, it works without fish, thanks.

$ chsh -s /usr/bin/bash username
$ paru -Runs cachyos-fish-config

BTW, I only changed the default shell in konsole settings, not in /etc/passwd, so it fails to login without fish.

Yes, I asked specifically if you had used chsh, didn’t I ? I did notice you gave no answer:(

I think I’ve changed it, but only in konsole settings, my wrong.

You can switch between the different shells. For example: If you’re using Fish (the default) but something works better in Bash, you can temporarily switch to Bash by typing “bash”!!! I also find Fish a bit too rigid sometimes. I prefer Bash or the old Unix shell (sh)!!!