Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 04-17-2008, 09:13 AM   #1
Registered: Aug 2007
Posts: 39

Rep: Reputation: 15
slackware GUI login


i'm using slackware 12... i edited the /etc/inittabb file so that the system asks for the login in GUI rather than normal command prompt. I've two users on my system (root and a user). When i try to login through the GUI as a normal user, even though i give a correct username and password it's giving an error as entry not present in /etc/shells... what's the problem and also what is the solution..

thanks in advance...

Last edited by warun; 04-17-2008 at 09:18 AM.
Old 04-17-2008, 09:33 AM   #2
Registered: Mar 2008
Location: Malta
Distribution: Slackware and Debian
Posts: 520

Rep: Reputation: 110Reputation: 110
Hi warun,

This happened to me as well.

In Slackware you have to specify your shell.

Next time use the adduser script to add users:-

# adduser
and choose the default shell, or:

# adduser -m user -s /bin/bash

As you already have defined a user:

# usermod -s "bin/bash" user

P.S. I strongly recommend reading the slackbook
P.P.S. I think that for other distros this would not be necessary
Old 04-17-2008, 01:45 PM   #3
+Alan Hicks+
Registered: Feb 2005
Distribution: Slackware
Posts: 72

Rep: Reputation: 54
Let me guess. You used KDE's kuser to create the user right? You should have paid better attention as kuser defaults to an "Empty Shell", probably for "security" reasons. Since no shell is added to /etc/passwd for that user, KDM (or whatever you're using for your login manager) is complaining.

I tested a patch for kuser that made it default to whatever shell in finds first in /etc/shells, but AFAICT it hasn't been merged upstream and isn't present in -current.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 6 CHAR login to GUI login kallimathp1 Linux - Newbie 4 04-24-2007 04:03 AM
Text Login to GUI Login stakhous Linux - Newbie 6 02-14-2005 09:11 PM
slackware login problem - starts wrong GUI darksmiley Slackware 17 10-10-2004 04:37 PM
GUI Login gone??? thiamhong Linux - General 5 12-12-2002 10:42 AM
login without X GUI mkhan Linux - Software 3 07-01-2001 09:37 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration