LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Login error, kde on slackware 13 (https://www.linuxquestions.org/questions/linux-newbie-8/login-error-kde-on-slackware-13-a-761543/)

gerryd 10-13-2009 03:14 AM

Login error, kde on slackware 13
 
helllo, i recently installed slackware alongside windows on my laptop and i love it. i've run into a little bump. i recently tried changing the default run level to 4 by editing the inittab file. it seems to work fine but when i get to the login screen i am only able to log in as root. i try to login with my user account and i get this error "Your login shell is not listed in /etc/shells" i had no problems with kde by logging in from the terminal and using startx. can someone explain how to fix this? or point me in the right direction? thank you.

gerryd 10-13-2009 01:21 PM

i'm not a fan of "bumping" posts but my personal search for an answer has been less than fruitful, just not sure where to start. thank you for literally any little bit of help/advice

markush 10-13-2009 01:31 PM

Hello gerryd,

which login shell are you using? please post the output of
Code:

cat /etc/passwd | grep "your user name"
and the output of
Code:

cat /etc/shells
Markus

brianL 10-13-2009 01:35 PM

When you created your normal user did you use useradd or adduser? I've always used adduser, since it's interactive, including asking you what shell you want to use (default is bash). I think with useradd you have to enter the options yourself.

gerryd 10-13-2009 03:24 PM

thank you guys for your responses. i just feel stupid now, as it turns out i had no login shell. set it to bash and everything works fine.


All times are GMT -5. The time now is 02:17 AM.