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 - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-17-2005, 02:07 PM   #1
zimzam
LQ Newbie
 
Registered: Dec 2004
Posts: 6

Rep: Reputation: 0
FC2 startx endless loop


Hi!

I want to apologize first off if this has been covered before, and I'm sure it has, because this is too stupid a problem to have as of yet have lurked in the shadows of ignorance-ity (sp?). I tried searching, but the keywords my feeble brain comes up with are obviously not up to the standard that the forum robot demands - so I came here instead.

I just had a power failure - I'm fine, in case you were worrying - and when I tried to boot up my FC2 box, (which has been running fine, it's all I need), it gets past all the checks and normal bootup, and then attempts to drop to the GUI login screen that you normally see.

However, my box seems to have forgotten what normal is, since the screen flickers like normal seemingly about to show me the light-blue screen where I get to happily answer some skill-testing questions about my name and password, but never gets that far. In shock, I watch in horror as the screen flickers again, and shows me the non-GUI console login prompt for about 1 second before trying again to load the GUI login screen. And it then does it again. And again. ...And yes, again. Annnnd again. You get the idea.

To give you an idea how desperate I am, I've attempted to type my login/pass at the console during the 1 second out of 10 that I see it during this monitor cycling. It actually worked, but I rapidly became enraged of having to wait 10-15 seconds each time to correct typos in my commands only to have the screen whisked away from me yet again as my computer laughed at my pathetic attempt at using it.

I've rebooted like 10 times, I don't think this helped. What my box needs is a good smack, but that solution never seems to work out well for me (or my wallet...).

Any ideas?

Thanks in advance!
 
Old 07-17-2005, 02:25 PM   #2
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
Try CTRL + ALT + F1. Its a commandline with no X what so ever. You may be able to switch over to that tty and edit your inittab to boot into level 3 instead of 5. From here, you may be able to either startx and diagnose the problem, or (as I would try first - it really can't hurt) to reconfigure the X server's config file. You neglected to mention if you are using Xorg or XFree86, but the commands are "xorgconfig" and "xf86config" - they the same thing.

Good luck!
 
Old 07-17-2005, 05:38 PM   #3
zimzam
LQ Newbie
 
Registered: Dec 2004
Posts: 6

Original Poster
Rep: Reputation: 0
OK, an update, for all those who shall follow...

The CTRL-ATL-F1 tip actually worked wonders. For reasons I cannot fathom, hitting that key combo once did nothing to interrupt the evil cycle of X attempting to start. However, getting angry and hitting CTRL-ALT-F1 repeatedly, and most importantly, with a lot of force caused the cycling to stop, and an box appeared telling me that try as it might, it couldn't get X to start. Knowledge is power.

Anyways, after asking for more info and stuff, I read through a error log where it stated (among other things) that:
"Could not init font path element unix/:7100, removing from list!

Fatal server error:
Could not open default font 'fixed'

Please consult http://wiki.X.Org for help
Please also check the log file "/var/log/Xorg.0.log for additional info"

So, armed with an error message, I attacked the internet.

I found that for some reason, my FontPath variable in the XOrg config file had changed to that unix:7100 thing, and I had to change it back to its default:
FontPath "/usr/11R6/lib/X11/fonts"
instead of
FontPath "unix/:7100"

Since I was still in the tty, I simply used vi to do this:
$vi /etc/X11/xorg.conf

Magically, $startx now worked! I didn't actually have to mess with the runlevels (init 3), but that would have been a necessary next step if keyboard shortcut didn't work.

Afterwards, when I tried logging in with my normal user accounts, I found out that my entire / partition was full, and there was no room left to write the the authorization file - I got the message "GDM could not write to your authorization file. This could mean that you are out of disk space or that your home directory could not be opened for writing. In any case, it is not possible to log in. Please contact your system administrator."

Fortunately I was able to download a copy of xdiskusage to tell me what was eating up all the space, and I was able to delete unecessary things and solve the GDM problem.

Abadee-Abadee That's All, Folks! Thanks for the tip, xpromisex.

Last edited by zimzam; 07-17-2005 at 05:39 PM.
 
Old 07-18-2005, 01:08 AM   #4
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
Good to hear that it worked.


Even if it did work in a way I didn't imagine it would.
 
Old 08-01-2005, 11:17 AM   #5
goolsnok1
LQ Newbie
 
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
same issue...

Hey there,

I had the same issue after a power outage, and thanks to this thread I was able to get X11 started again... after that I also ran into the having no disk space issue, and I was able to delete a few large files that I knew I was done with... but I'm having trouble pinpointing what else is eating away at my hard drive. Could you maybe point out a few of things you deleted? I figure it's things like overgrown error logs, but I'm new enough at linux/unix that I wouldn't know what logs to go looking for...
 
Old 08-01-2005, 01:02 PM   #6
zimzam
LQ Newbie
 
Registered: Dec 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Hi goolsnok,

I recommend trying the xdiskusage program that I linked to in my previous post. It's nothing spectacular, but it does show you which folders are eating up the most room, and you can use that to decide what you want to delete. In my case I noticed that OpenOffice.org was eating a large amount of space, and since I never use it on that computer, I mercilessly removed all traces of it. After that, I had enough room (apparently) to log into my normal user accounts.

Hope this helps!
 
  


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
Hotplug endless loop AzCoder Ubuntu 4 04-30-2005 01:56 PM
Bizarre endless login loop CelticWhisper Slackware 6 04-06-2005 06:39 PM
Grub stuck in an endless loop. dikadika Linux - General 4 02-27-2005 07:46 PM
Mandrake 10.1 Install endless loop SteveI Mandriva 2 12-30-2004 09:56 AM
HELP- endless loop contrasutra Linux - Software 2 04-26-2003 11:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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