Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-27-2002, 09:52 PM   #1
LQ Newbie
Registered: Jun 2002
Distribution: Red Hat 7.1, Slackware 7.0/8.1
Posts: 13

Rep: Reputation: 0
HELP!!! can't log in as anything but root!!!

my computer boots automatically to a graphical login and when I type a username other than root it seems to do the whole password thing, screen goes black, a couple of flashes and then I'm back at the login screen. I have Red Hat 7.1 and I installed both GNOME and KDE so I could try them both. The default was apparently GNOME and it boots to the GNOME graphical login, from which I can choose between GNOME and KDE. I recently changed to KDE (using switchdesk) but it still boots to the GNOME login. I have a feeling that it was that switching that messed things up but of course you guys are the experts, not I! I would also perfer to use the KDE login (I used it in a class at skool), so how would I go about getting that to come up instead of the GNOME one? Thanks for your help guys!
Old 06-27-2002, 10:13 PM   #2
LQ Newbie
Registered: Jun 2002
Distribution: Red Hat 7.1, Slackware 7.0/8.1
Posts: 13

Original Poster
Rep: Reputation: 0
....and I'm an idiot!

I figured out what was stopping me from logging in under a name other than root. Apparently if your home directory is full (i.e. you didn't partition your hard drive wisely because you didn't know what you were doing and only gave 100MB to a separate partition for /home) you cannot log in under anything except root (since /root has its own partition - somewhere around 30GB)

But now that that part is sovled, I'm still wondering how to boot to the KDE graphical login and how the hell do I kill x windows? I tried Ctrl-Alt-Backspace but that just makes the screen go blank and flicker like I described for the failed login attempts and just brings me back to the GNOME login. I think there is a script somewhere running at startup that tells it what to do, but I don't know where it would be, how I would find it, or what I would do to it if I found I'm open suggestions along those lines as well.
Old 06-27-2002, 11:19 PM   #3
LQ Addict
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
When your computer boots into the graphical login, pressing Ctrl-Alt-Backspace just restarts x window. You can have the computer boot up into a text login by editing your /etc/inittab file. Look for this line:


Change the 5 to a 3 and the next time you boot up, it will be a text login. Login and run startx to start x window. Then when you press Ctrl-Alt-Backspace, x window will be killed and you'll go back to the console screen that you started it from.

I don't have red hat, but I think there is a line near the end of the /etc/inittab file that starts the graphical login screen. Look to see if you see something like prefdm in one of the lines.

Last edited by linuxcool; 06-27-2002 at 11:21 PM.
Old 06-28-2002, 04:16 AM   #4
Senior Member
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
KDE login manager is called KDM so if you can't find the line to change login manager in inittab you can do it this way too.
Edit inittab to go to text mode as suggested before. Then in a startup script (i dont know what they are in RH) but a line "/usr/bin/kdm" (or where ever kdm binary is) at the end, and then Linux will boot into a text mode, get to the line you added and start KDM. You can switch between text mode and graphical mode with Ctrl+Alt+F(1-7)
Hope that helps


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
Cannot log into root! Nox_hand Linux - Security 3 09-21-2005 01:01 AM
How do I log in as the root? nighthawk15 Linux - Newbie 7 03-01-2005 05:21 AM
Cant only log in as root after user log-in. ADJenkins Linux - General 2 11-17-2004 04:18 PM
Log Out root Then Log In As Other User xtremcoder Linux - General 4 10-04-2004 11:01 PM
Log on as Root, or switch to Root, in MDK 9.1 - KDE 3.1.0 snorky Mandriva 3 09-01-2003 12:07 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:38 PM.

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