PDA

View Full Version : [ubuntu] 8.04.2 Logon Loop



Teresta
February 5th, 2009, 02:10 PM
I just finished installing 8.04.2 and went to logon and I seem to be stuck in somewhat of an infinite logon loop. I type in my username hit enter, type in my password and hit enter. screen goes to a tan screen then black then my monitor cuts off, cuts back on, and I'm back at the logon screen.:confused: I can get out of the loop (like I am now) if at the logon screen I go to Options-> Select Session -> Failsafe GNOME. It seems that something may have failed during the installation? Is there a way I can/should fix it in Failsafe or since the installation is about 10 minutes old should I just reinstall?

Thanks In advance for any help!

xopher_mc
February 5th, 2009, 02:14 PM
If it really is a new install

just delete the config files but

or to be on the safe side

mkdir oldconfig

mv .* oldconfig/

It should then respawn all the config files.

Teresta
February 5th, 2009, 02:18 PM
This is the first time I've used Ubuntu or Linux, could you be a bit more specific as to how I could go about doing that? Thanks again.

xopher_mc
February 5th, 2009, 02:33 PM
goto applications > Accessories > Terminal

type in the commands from previous post. :)

i.e.

mkdir oldconfig

mv .* oldconfig/



let us know if that is not enough info

dabl
February 5th, 2009, 02:38 PM
xopher's instruction should work.

FYI, there are at least 3 known causes of the infamous "login loop":

1. full filesystem
2. root privileges attached to a user configuration file (don't ever do root operations in your user folder).
3. corrupted .iceauthority, .kde, .config, or other user session configuration files. This is most common, and will be fixed by the recommended procedure. :)

Teresta
February 5th, 2009, 03:11 PM
Thanks for the reply's I did as you said and it has come up with this

mv: cannot move `.' to `oldconfig/.': Device or resource busy
mv: cannot move `..' to `oldconfig/..': Device or resource busy
mv: cannot move `.cache' to `oldconfig/.cache': Directory not empty
mv: cannot move `.config' to `oldconfig/.config': Directory not empty
mv: cannot move `.fontconfig' to `oldconfig/.fontconfig': Directory not empty
mv: cannot move `.gconfd' to `oldconfig/.gconfd': Directory not empty
mv: cannot move `.gnome2' to `oldconfig/.gnome2': Directory not empty
mv: cannot move `.gstreamer-0.10' to `oldconfig/.gstreamer-0.10': Directory not empty
mv: cannot move `.gvfs' to `oldconfig/.gvfs': Device or resource busy
mv: cannot move `.local' to `oldconfig/.local': Directory not empty
mv: cannot move `.nautilus' to `oldconfig/.nautilus': Directory not empty

any suggestions?

edit:

after a restart and deleting the oldconfig folder I did the mkdir oldconfig again and did mv .* oldconfig/ and this time what popped out was

mv: cannot move `.' to `oldconfig/.': Device or resource busy
mv: cannot move `..' to `oldconfig/..': Device or resource busy
mv: cannot move `.gvfs' to `oldconfig/.gvfs': Device or resource busy


after both I've tried logging in normally out of failsafe gnome but still have to logon under failsafe gnome.

xopher_mc
February 5th, 2009, 03:51 PM
Looks like it not broken config files?

try adding a new user and see if you get the same problem

sudo adduser what-ever-name-you-want


log in with that user and see if you get the same errror

Teresta
February 5th, 2009, 04:09 PM
I got the same logon issues with the second user and after trying to delete the config files on that user I got.
mv: cannot move `.' to `oldconfig/.': Device or resource busy
mv: cannot move `..' to `oldconfig/..': Device or resource busy
Thanks for the suggestions so far. I have a few other distributions I can try if this doesn't work out I was just hoping it would.

dabl
February 5th, 2009, 04:20 PM
You have to shut down the X server to do that maneuver -- those files are actively supporting your GUI login session.

Ctrl-Alt-F1 to open a tty console.


sudo /etc/init.d/gdm stop


mv .* oldconfig/

When it is done ...


sudo /etc/init.d/gdm start

Log in and all should be beautiful. :)

xopher_mc
February 5th, 2009, 04:38 PM
I assume as the second user didn't work its not the config files.

could you type


sudo df

into terminal and paste back what it says

Teresta
February 5th, 2009, 05:40 PM
sorry for the long delay, when i am logged in and hit ctrl+alt+f1 my computer freezes but if i am at the logon screen i can get into it fine. when i was in the logon screen and was in the tty console I still got "directory not empty" or "drive or resource busy" I will try again in a moment though
as for sudo df this is what came up

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 149215160 2255696 139439440 2% /
varrun 1004840 100 1004740 1% /var/run
varlock 1004840 0 1004840 0% /var/lock
udev 1004840 68 1004772 1% /dev
devshm 1004840 12 1004828 1% /dev/shm
lrm 1004840 39792 965048 4% /lib/modules/2.6.24-23-generic/volatile


edit: If I have logged in at all and hit ctrl+alt+f1 I freeze.
Also I have kubuntu 8.04 and was able to install it on a separate partition and it worked fine ubuntu still doesn't work so I am not sure if that helps any.

Teresta
February 5th, 2009, 06:36 PM
I just wanted to let everyone know that I did get it working finally. I used a suggestion from the Linux forums and it worked it seems that the problem was caused by my video card( ATI Raedeon Xpress 200) Thank you everyone for your help!