SUMMARY When setting my user's login shell to fish and logging out and logging back in, Konsole continues to use bash regardless of my shell setting. This behavior is only exhibited on Wayland. With X11, Konsole does the right thing. STEPS TO REPRODUCE 1. Login into Wayland session 2. Open Konsole 3. Run `chsh -s /bin/fish` after installing fish 4. Log out and log back in 5. Open Konsole OBSERVED RESULT Konsole opens with Bash prompt EXPECTED RESULT Konsole opens with Fish prompt SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 32 KDE Plasma (available in About System) KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.70.0 Qt Version: 5.14.2 ADDITIONAL INFORMATION
What does your profile Command: have in it? That's what Konsole uses.
In Wayland: /bin/bash In X11: /bin/fish
Wait, the profile is unique, you are saying that it has different contents depending on wayland and x11?
Yes, that's what I'm saying.
Ok, I'll try to pinpoint the error.
Please include "env" from both. See also /usr/share/sddm/scripts/Xsession
Created attachment 131606 [details] env output on Wayland
Created attachment 131607 [details] env output on xorg
Created attachment 131608 [details] sddm Xsession file
Created attachment 131609 [details] sddm wayland-session file
I've attached all the requested files, plus the wayland-session file as well.
Created attachment 132622 [details] pstree output on Wayland Per the suggestion of someone, I attached the output of pstree run on my machine shortly after logging in. It doesn't seem particularly enlightening to me, but maybe it might be to someone else...?
I have just upgraded to Fedora 33 everywhere, and this is still reproducible... SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 33 KDE Plasma (available in About System) KDE Plasma Version: 5.19.5 KDE Frameworks Version: 5.73.0 Qt Version: 5.15.1
(In reply to Neal Gompa from comment #13) > I have just upgraded to Fedora 33 everywhere, and this is still > reproducible... > > SOFTWARE/OS VERSIONS > Linux/KDE Plasma: Fedora 33 KDE Plasma > (available in About System) > KDE Plasma Version: 5.19.5 > KDE Frameworks Version: 5.73.0 > Qt Version: 5.15.1 Can you please confirm if your /etc/passwd contains the changed fish prompt before and after restart?
(In reply to Justin Zobel from comment #14) > (In reply to Neal Gompa from comment #13) > > I have just upgraded to Fedora 33 everywhere, and this is still > > reproducible... > > > > SOFTWARE/OS VERSIONS > > Linux/KDE Plasma: Fedora 33 KDE Plasma > > (available in About System) > > KDE Plasma Version: 5.19.5 > > KDE Frameworks Version: 5.73.0 > > Qt Version: 5.15.1 > > Can you please confirm if your /etc/passwd contains the changed fish prompt > before and after restart? It does. /etc/passwd says my shell is '/bin/fish'.
I upgraded to Plasma 5.20 on Fedora 33 now, and the issue is still present. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 33 KDE Plasma (available in About System) KDE Plasma Version: 5.20.3 KDE Frameworks Version: 5.75.0 Qt Version: 5.15.1
So I've narrowed down the issue to being a problem with SDDM. I was able to pinpoint the issue by sacrificing a computer to having both GNOME and Plasma installed, and using GDM as the display manager. With GDM, Konsole gets the correct shell set on Wayland. I've transferred the issue to SDDM: https://github.com/sddm/sddm/issues/1351