nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Stuck in login loop

This is a discussion on Stuck in login loop within the Ubuntu / Debian forums, part of the Linux Distribution category; I'm running Ubuntu 9.04 on an ASUS laptop. A couple of days ago my /home partition filled up. Then, while ...


Go Back   nixCraft Linux Forum > Linux Distribution > Ubuntu / Debian

Linux answers from nixCraft.


Ubuntu / Debian Discussion about Debian or Ubuntu Linux related problems.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-07-2009, 04:37 AM
Junior Member
User
 
Join Date: Jul 2009
OS: Ubuntu
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
NathanaelCulver is on a distinguished road
Default Stuck in login loop

I'm running Ubuntu 9.04 on an ASUS laptop. A couple of days ago my /home partition filled up. Then, while cleaning it out, I lost power. When I restarted the computer I found I couldn't log in -- any login attempt just got me a black screen, a quick flicker, and then threw me back to the login screen. It's not a credentials problem, as I don't get the "login failed" message.

I can open a console (Ctrl-Alt-F2) and log in to any of my user accounts from there; just not from the GUI login.

I have the following session types: Default, GNOME, GNOME/Openbox, KDE, KDE/Openbox, Openbox Session, Secure Remote Connection, Window maker, and Failsafe. Doesn't matter which one I choose (except for SRC, which gives me "Login failed"), I get the same loop.

I thought maybe some config file got messed up, but since it doesn't appear to be Gnome or KDE specific, I'm not sure where to look.

Help, please.

Nathanael Culver
Reply With Quote
  #2 (permalink)  
Old 10-07-2009, 06:57 PM
jaysunn's Avatar
Powered By Linux
User
 
Join Date: Apr 2009
Location: 41.332032,-73.089775
OS: RHEL - OSX
Scripting language: BASH - Learning Ruby
Posts: 600
Thanks: 61
Thanked 78 Times in 70 Posts
Rep Power: 10
jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold
Default

Hello,

Since you are able to get to the command line. Give this a try:

please enter:
Code:
PROMPT#>sudo dpkg-reconfigure xserver-xorg
Keep the default answers, if you do not know what to answer. Pay attention to your screen settings, this is probably what makes your graphical session not available. Once you're done, enter:

Code:
PROMPT#>sudo reboot
Hopefully you session will return.

Also did you get the files cleaned from your home folder before power loss? If not make sure you clean them. This could have a harmful affect on starting.

Good Luck,

Jaysunn
__________________
Have a look at what I have been working on
http://www.shellasaurus.com
Reply With Quote
  #3 (permalink)  
Old 10-07-2009, 07:06 PM
raj's Avatar
raj raj is offline
Senior Member
User
 
Join Date: Jun 2005
Location: Hyderabad
OS: Fedora, Debian Linux
Posts: 307
Thanks: 42
Thanked 8 Times in 8 Posts
Rep Power: 6
raj will become famous soon enough raj will become famous soon enough
Default

Make sure you have enough space in both /tmp and /home. Run df to get idea
Code:
df -H
Remove unwanted files or move 'em to pen drive.
__________________
Raj
Linux rulz.
I have never turned back in my life ; I shall not do so today.. haha
Reply With Quote
  #4 (permalink)  
Old 11-07-2009, 08:48 AM
Junior Member
User
 
Join Date: Jul 2009
OS: Ubuntu
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
NathanaelCulver is on a distinguished road
Default

Code:
PROMPT#>sudo dpkg-reconfigure xserver-xorg
Did this, and it rewrote xorg.conf.

Quote:
Pay attention to your screen settings, this is probably what makes your graphical session not available.
I didn't see anything in the above about screen settings. Here's the resulting xorg.conf:

Code:
Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
After rebooting, same problem.

Quote:
Also did you get the files cleaned from your home folder before power loss? If not make sure you clean them. This could have a harmful affect on starting.
I've cleaned out some of my /home partition. df -H now reports root (/) 9.2gb free and /home 4.9gb free. I've also cleaned out /tmp. But I can't find any .Trash directories, either in my home directory or off root.

BTW, I've several user accounts on the machine; all exhibit the same behavior.

NathanaelCulver
Reply With Quote
  #5 (permalink)  
Old 11-07-2009, 07:09 PM
jaysunn's Avatar
Powered By Linux
User
 
Join Date: Apr 2009
Location: 41.332032,-73.089775
OS: RHEL - OSX
Scripting language: BASH - Learning Ruby
Posts: 600
Thanks: 61
Thanked 78 Times in 70 Posts
Rep Power: 10
jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold
Default

Have you enabled compiz? This may be causing your issue. Please try this:

Code:
PROMPT>sudo chmod a-x /usr/bin/compiz
Worth a try.

Also post your xorg.log file if that does not work:

/var/log/Xorg.0.log

Jaysunn
__________________
Have a look at what I have been working on
http://www.shellasaurus.com

Last edited by jaysunn; 11-07-2009 at 07:11 PM.
Reply With Quote
Reply

Tags
login jaunty laptop


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
cacti login in infinite loop irado Linux software 4 17-02-2010 07:12 PM
stuck in file permissions Raj K Yadav Linux software 0 09-11-2008 01:33 AM
How to increase loop device satimis XEN 0 25-09-2008 12:12 PM
mount -o loop .... PeterGib Linux software 3 17-08-2007 06:03 AM
for do loop in solaris one line Solaris/OpenSolaris 1 09-01-2006 01:35 PM


All times are GMT +5.5. The time now is 07:40 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38