Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-30-2003, 11:43 AM   #1
LQ Newbie
Registered: Jun 2003
Posts: 2

Rep: Reputation: 0
Stuck in a loggin loop

I recently installed a newer version of XFree86, when i rebooted, it went strate into an xwindows sesion, with 3 terminals open in it. I wanted it to start in KDE so i loaded it usin startkde.
I then changed the settins in kde do it would load instead and also so that it wouldn't auto login.

Now when i restart it goes to the graphical login, i put in my password etc and click login, the screen goes dark for a second, then i'm back at the same graphical login screen
It doesn't work when i login as root either.
I can get to a text login screen using cntrl alt F1, but cand get into kde coz the Xserver is already running.
I'm using Mandrake 8.1 and now XFree86 4.2.1

Any help would be gratly appreciated.


Old 07-09-2003, 01:19 PM   #2
Registered: Jun 2003
Location: Currently Denmark
Distribution: Ubuntu 11.10
Posts: 334

Rep: Reputation: 30
Try setting runlevel 3 in the /etc/fstab file - that got me onto the command line in stead of into the endless gui/login loop i was in and you sound like you're in.

To edit the fstab file you might need to start your Linux with the boot CD-Rom and type rescue at the prompt before hitting enter.

This will start Linux in a very basic mode allowing you to explore your system settings etc.

After editing the fstab reboot your machine without the CD-Rom in your drive.

Once you got the regular command line of your box up and running again you might just be able to get a clue of whats happening :-)

See the post caught in the loop for more info on my very similar boot loop problem.
Old 07-09-2003, 01:22 PM   #3
Registered: Jun 2003
Location: Currently Denmark
Distribution: Ubuntu 11.10
Posts: 334

Rep: Reputation: 30

BTW I know I'm using Red Hat! But changing the runlevel setting in your fstab should enable you to get out of the loop nevertheless, you can then work from there....
Old 07-09-2003, 04:18 PM   #4
Registered: Feb 2002
Location: Denver, CO US
Distribution: Arch
Posts: 453

Rep: Reputation: 30
uh...runlevel isn't in fstab. Isn't in init.d or something? fstab is for mount points and run level has nothing to do with mount points.
Old 07-09-2003, 04:32 PM   #5
Jose Muņiz
Registered: Jul 2003
Location: Mexico City
Distribution: Slackware 9.1, SuSE 9.1
Posts: 248

Rep: Reputation: 32
/etc/inittab (There you change your runlevel settnigs)
Old 07-09-2003, 04:36 PM   #6
Registered: Jun 2003
Location: Currently Denmark
Distribution: Ubuntu 11.10
Posts: 334

Rep: Reputation: 30
Talking OOPS!!!

You're right - half asleep here - the trick is setting runlevel 3 in the /etc/initab

# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)

Good catch - TY very much!!!!!!!!!


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
system stuck in loop after improper shutdown dr_zayus69 Linux - General 8 08-21-2005 02:30 PM
Grub stuck in an endless loop. dikadika Linux - General 4 02-27-2005 07:46 PM
Another ? from a newbie - stuck in a while loop azucarmom Programming 2 12-05-2004 08:41 PM
stuck in drakconf (mcc) loop fbennett Mandriva 6 09-14-2004 03:46 PM
fetchmail stuck in infinite loop Prommy Linux - Software 0 02-17-2004 08:15 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:53 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