I have a nice shiny new Linux system set up on my machine, but it has a problem, to get X to run, I have to login from a getty and then type "startx" which probably requires root access. This kindof sucks a lot.
So I have installed SLiM as a login manager. I can run it from inittab and then I get a nice graphical login window.
However, when I actually login (with correct username and password) it tells me: "failed to run the login script" or something like that and restarts.
I ran into this problem before, and I remember what causes it. I am using busybox ash instead of bash. My system does not have bash at all, and I do not want to install it.
SLiM has a config file allowing you to change the command that gets run upon a successful login, which is tailored to bash by default.
The line looks like this:
exec /bin/bash -login ~/.xinitrc %session
busybox ash doesn't accept the -login argument.
So, basically, my question is, how can I replicate this bash behavior with busybox ash?
What should this line be to make slim work with busybox ash?