Modified arch iso changes shell to bash when launching kde

I’m trying to make a custom iso with archiso, currently I just have the standard profile with plasma-meta, kitty, and xorg-xinit installed. When booting the iso the shell is zsh as expected, but when I launch kde with startx it changes the shell to bash.

I’m not sure if this is because I’m using the root account rather than a normal user, or if it’s something weird to do with using startx as I usually use SDDM on an actual install, I’m not having much luck with Google as I just keep getting results telling me how to automatically run startx when logging into bash/zsh.

The shell for root is listed as /usr/bin/zsh in /etc/passed so chsh makes no difference, but echo $SHELL returns /bin/bash

11 points · 2 comments · view on lemmy.world

2 Comments

taaz@biglemmowski.win · 3 pts · 1y (1 reply)

If you exit KDE is the passwd shell of the root user actually changed to /usr/bin/bash ?
Or is it just $kde_terminal_emulator running bash directly instead of respecting the shell selection (and possibly not opening a login shell) ?

(Jerboa does not seem handle bad data signal too well, ignore the duplicates)

Infernal_pizza@lemmy.world · 1 pts · 1y

If I switch to another tty and run echo $SHELL it returns /usr/bin/zsh so it looks like it’s just kde. I also just tried konsole and it does the same thing so it’s not an issue with kitty

taaz@biglemmowski.win · 0 pts · 1y
[ removed ]
taaz@biglemmowski.win · 0 pts · 1y
[ removed ]
taaz@biglemmowski.win · 0 pts · 1y
[ removed ]