LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-25-2013, 05:01 AM   #1
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
Not able to get past login screen


I recently installed CentOS. The installation was smooth but on booting (the very first time) I am not able to get past the login screen. If the password is incorrect, it mentions "authorization failure". But if it is correct the login screen disappears for a second but returns to ask for login again. It is a login recycling. I also tried control-alt-F1 and F2 etc. I get a terminal but there also the login is coming back every time. It happens even if I try to login as root. I have not been able to login to this newly installed distro even once, though I can access it through another distro installed on the same computer. Any help will be appreciated.
 
Old 05-25-2013, 05:26 AM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Have you tried chrooting to that install from the other one? I installed debian from within an already running distro, and the guide skips the step where you set a root password. And a few other admin steps that actual installers normally handle for you. So you could chroot to that distro and run `passwd` as root to set a root password. And then see if you can login with the new password.
 
Old 05-25-2013, 06:14 AM   #3
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
The password is correct. It is not a password problem.

I changed the password but still it is returning to login screen immediately (both in gui and in terminal).

Last edited by rng; 05-25-2013 at 07:04 AM.
 
Old 05-25-2013, 03:15 PM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Have you checked the /var/log/ elements from the other distro for that one to see if there's any hints as to why it does what it does?

Normally when I get things like that I start questioning hardware. A spot on the disk that didn't write what it was supposed to write? Bad ram that causes random behavior and other things. Did the install go flawlessly? No power blinks or overheating influences? Integrity checks of the storage medium before installation? It could be any one of a thousand different things or a combination of them. And unless you happen upon the one thing that fixes the issue you'll never really know for sure. Most times it's just faster to do the install again than to troubleshoot the issue.

Are we talking something old or with relatively low available RAM? Without swap it is possible to trigger the kernels defenses even during an install. Not everything plays that well in confined spaces these days.
 
Old 05-25-2013, 11:32 PM   #5
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
var/log/messages and Xorg.0.log are large files. The system is fairly recent with one Tb hard disk, 4gb RAM and nvidia graphics card. I see nouveau in log files. Swap is there on the hard disk. Installation was uneventful.
 
Old 05-26-2013, 12:53 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Odd , did you by chance pick and choose what programs to install
as in remove some default programs and add other non-default programs

that can mess up the anaconda installer

if so

Then do a new install with the default desktop
 
Old 05-27-2013, 02:23 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Check the source cd or dvd for defects. That alone may not prove it will work on your system.

Get a new disk and try a new install. Burn the disk at the very slowest speed and use high quality disk.
 
Old 05-27-2013, 02:45 PM   #8
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Sounds to me like the password is correct and the user account logs in, but is immediately kicked back out again. Is this a graphical or text based login? If graphical, try logging the user in from a text based console (Ctrl+Alt+F1) and see if any error messages are displayed. If this is a text based login, check what shell the user has in /etc/passwd (last field of the /etc/passwd line for that user account).
 
Old 05-27-2013, 08:06 PM   #9
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
The system boots normally till login screen. It is graphical login. However, on going to terminal (control-alt-F2) the same problem is repeated: as soon as the password is entered, it immediately clears the screen and returns to login prompt. If incorrect password is entered, then error message is displayed, otherwise there is no error message.

The shell is /bin/bash, both for root and for user.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot get past login screen Blowfischer@yahoo.com Linux - Newbie 3 05-05-2013 12:52 PM
[SOLVED] i cant get past login screen jordanjw Linux - Newbie 13 06-02-2012 12:21 AM
Get past login screen Noodlez910 Linux - Newbie 11 04-29-2010 09:55 AM
Can't get past login screen ChristopherJ Linux - Newbie 2 12-23-2008 01:41 PM
Can't get past login screen plind Mandriva 2 02-20-2007 10:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:01 PM.

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