SLiM "failed to execute login command"
If you are using SLiM login manager, you can meet troubles with “failed to execute login command”. This is because of SLiM awaits .xinitrc in your home directory, and it seems you don't have it there.
So put a copy of default .xinitrc to your home directory, or create your own, and that's it.
Location of default .xinitrc depends on distro you are using. Try /etc/skel, or root's home directory. But you can always create your own.