Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
I would like the computer to automatically startx upon login. This worked well with the default bash shell, but now with the mksh shell, it just brings me to the tty, and I have to manually issue a 'startx' command myself to start it.
debiman wrote:did op edit their post after you answered?
No.
afaics no bash is involved.
If the OP has configured bash to work as described but the configuration does not work for mksh then they must have used ~/.bash_profile — ~/.profile is read by all shells (including bash, as long as ~/.bash_profile does not exist) but ~/.mksh_profile is a figment of the OP's imagination, AFAICT.
if [ $(tty) = "/dev/tty1" ]; then
startx &> /dev/null
### without exec stay logged in after X
fi
And this...
And it works now. Thanks guys!
I did look around the web. It seems that there is not nearly as much info on mksh as for zsh and bash; I didn't find much. I guess I just had to dig into the man pages.
The maintainer of the Debian package happens to be the upstream developer in this case so the mksh package is especially excellent — it even supplies a statically-linked version which is built against klibc (*much* lighter than bloated old glibc) but I prefer to re-link it to the musl version:
I'll do that. It's good to see an example file around.
The maintainer of the Debian package happens to be the upstream developer in this case so the mksh package is especially excellent — it even supplies a statically-linked version which is built against klibc (*much* lighter than bloated old glibc) but I prefer to re-link it to the musl version: