Slim won't login non-root user

I added a user account according to the handbook, but when I try to log into xfce4 through slim it displays this:
Code:
failed to execute login command

What do I use to trouble shoot this problem?

Thank you
 
(from slim.conf)
Code:
# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
#
# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
login_cmd           exec /bin/sh - ~/.xinitrc %session
#login_cmd           exec /bin/bash -login ~/.xinitrc %session

You might have some error in the login command.
 
Thanks mix,
I created the user with the csh shell and did
Code:
login_cmd exec /bin/sh - ~/.xinitrc %session
instead. Serves me right for checking the thread at 6am with no glasses because I should have followed your instructions and used sh. Now loggin in with root gets the same message.
Typing "console" in the login box with my usual password should get me a terminal box open to change it back right?
 
Solved

The config file for slim wasn't the problem. I didn't have a separate .xinitrc file in the new user's home file. Learned it on a related thread. Thanks for your help though.
 
Back
Top