LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-05-2006, 03:45 PM   #1
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
Can't login into linux even as a root


Okay, I'm using Gentoo and just installed Gnome desktop into it.

Now after few successfull runs with it I can't get in the system. Last thing I made was to make the linux start straigt into gnome. Now it does that but doesn't approve any user logon or even root logon. It just states that login name or password is wrong. I tried to change root password by chrooting using CD but I still couldn't login. Any idea what's the problem?

Also for little extra question. Why does gnome have low color amount in it? I spesified in xorg.conf that it shall use only 24bit colors.... Should I change it in somewhere else also... like some gnome specific file?
 
Old 02-05-2006, 03:50 PM   #2
Netizen
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Slackware and Ubuntu
Posts: 355

Rep: Reputation: 30
Did you create a normal account? You said it doesn't work with any user account or even root, so I would assume you tried another but i wanted to check. Lots of times root is not allowed to login to X be default for security reasons.

Perhaps the driver being used in xorg.conf doesnt support 24 bit... not real sure on that one.

Last edited by Netizen; 02-05-2006 at 03:51 PM.
 
Old 02-05-2006, 03:51 PM   #3
peter_89
Member
 
Registered: Jan 2006
Distribution: Microsoft Windows XP Professional SP2; Slackware Linux 10.2
Posts: 215

Rep: Reputation: 30
I'm unsure regarding your password issue, but sometimes with color quality the screen resolution is too high.
 
Old 02-05-2006, 11:40 PM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
root-login into X might be blocked for security reasons. Go to a terminal (ctrl-alt-F1..6) and try to login as normal user and as root.
You definitely should be able to login as root. If you can't login as a normal user, this can be as you have tried a couple of times and the account is now locked.
Let root reset the user account.
 
Old 02-06-2006, 12:45 AM   #5
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Original Poster
Rep: Reputation: 37
Okay,

One thought occured. I didn't write the command "source /etc/profile" because my keyboards numpad isn't working. I don't even know what exactly that command does. Important?

I have another user, zmyrgel which is in wheel,video,audio and portage groups. I've tried to login as both, I tried uppercase, lowercase and such.

I could login to gnome perfectly until I added it to default runlevel so it would start straight in to gnome at boot. Now I can't login at all, even after changing root password with the CD.

The same thing occured when I installed KDE on Gentoo. (I have formated the hard drive after that). I couldn't login into that also .

It's somehow related to adding any desktop environment to default runlevel...
 
Old 02-06-2006, 02:57 AM   #6
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Forget about your 'normal' user, as I mentioned the account is probably blocked. Can you still get into a virtual terminal? Can you still login as root in a virtual terminal?

How did you add gnome (startx) to the default runlevel? Usually you change the runlevel in /etc/inittab and it will start X so what did you do?

You can use the CD to undo the latest changes that you made.
 
Old 02-08-2006, 06:36 AM   #7
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Original Poster
Rep: Reputation: 37
Okay, problem solved. It seems that KDE has root login disabled by default so that explains that and my keyboard used wrong layout so the root password given in terminal was wrong. This has been solved now.
 
  


Reply



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
Util-linux update. Can't login as anyone except root rconan Fedora 0 07-28-2005 03:20 PM
Linux Host no Root login allowed or so it says? Other Linux Distros? mattnedgus Linux - Newbie 6 02-24-2005 03:22 PM
Redhat Linux login problem with non-root user wxxg Linux - Security 1 09-03-2003 03:38 AM
Redhat Linux login problem with non-root user wxxg Linux - Software 0 09-01-2003 11:27 PM
Mandrake Linux Root Pswd/Login HELP ElZora Linux - Security 5 12-26-2002 01:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:36 AM.

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