LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-24-2004, 07:30 PM   #1
Jeff_G_1974
LQ Newbie
 
Registered: Feb 2003
Location: Belleville, Ontario, Canada
Distribution: Fedora
Posts: 14

Rep: Reputation: 0
ummm, I screwed up again


Ok, I really know nothing about Linux and I'm in deep right now. I didn't know about the xkill command and my system had frozen up (well, that's not true, but applications were crashing left, right and center and I couldn't log out or shut down the machine). I ended up doing a reset on the PC and now when I boot into Linux, I won't let me boot into KDE, GNOME or even X for that matter. I'm stuck at a command prompt and I really don't know what to do from here on in. Am I looking at having to format my PC and reinstalling Linux again? Please advise.
 
Old 02-24-2004, 07:32 PM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
what does the command prompt say? is it a login prompt or a command prompt?
 
Old 02-24-2004, 07:34 PM   #3
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
just another thought, if it's a command prompt

[root@localhost root]#
then type runlevel.... and tell me what it says...
 
Old 02-24-2004, 08:01 PM   #4
Jeff_G_1974
LQ Newbie
 
Registered: Feb 2003
Location: Belleville, Ontario, Canada
Distribution: Fedora
Posts: 14

Original Poster
Rep: Reputation: 0
Ok, this is what happens. Linux goes through the boot process and it shows what all services are running. Then, instead of booting into GNOME, it goes to a command prompt screen asking me to login. Before I get the chance though, there is an error that comes up right away. The error is as follows......INIT: Id "x" respawning too fast: Disabled for five minutes. If you wait the five minutes, the same error message comes back. However, with that error message up, I was still able to login simply by typing my username and password. I did the runlevel check like you said and the runlevel check was N 5. I also checked out additional documentation and the documentation mentioned running fsck with the -y option. Seeing as to how it also mentioned that if this is done it can potentially corrupt and further damage the file system, I politely declined. Maybe Linux just isn't meant for an idiot like me........

Last edited by Jeff_G_1974; 02-24-2004 at 08:08 PM.
 
Old 02-24-2004, 08:23 PM   #5
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 220

Rep: Reputation: 32
Dude, don't be so hard on yourself. Linux isn't all that hard to get after using it a week (or less).

What happens if you type:

telinit 5

or

gdm

or

startx?

And what do you mean when you said you reset your pc?
 
Old 02-24-2004, 10:14 PM   #6
Jeff_G_1974
LQ Newbie
 
Registered: Feb 2003
Location: Belleville, Ontario, Canada
Distribution: Fedora
Posts: 14

Original Poster
Rep: Reputation: 0
well, if I type in startx, I get errors saying that files are either corrupted or missing. I never tried gdm or telinit 5 because I didn't know about those commands. I did try something that someone suggested about trying to reinstall all the rpms that I had downloaded. That didn't work either as one of the rpms was corrupted too. Damn, I only wish that there was a rollback feature with Linux. The command I tried was rpm -U /var/spool/up2date/*.rpm. So, I'm finding things out about Linux which is a good thing, but I've got a funny feeling I'm going to have format the drive and I'll have to format the master boot record to get rid of the boot loader. This is going to be a lot of fun.......I'm still rather hopeful that I can undo what I did. And by resetting my PC, I mean I had to hit the reset button on my tower. That's how bad my PC froze in Linux.
 
Old 02-24-2004, 10:33 PM   #7
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
na sence in linux everything is a added on program, all you need to do at worst is delet your GUI and every file thats linked to the libs it uses, then reinstall, i get those respawn errors to but sence you cant start x with startx, then id recomoend a full reinstall of xfree86 (also be sure to delet xfree86 (the GUI) completly before installing, this include, (especialy) includes the libaries, dont be suprised if you ahve to reinstall the programs taht use the GUI to, but i doupt you will need to
 
Old 02-25-2004, 12:13 AM   #8
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
ok, i think i see a solution.. ignore the error message for now and try logging as root in and typing
init 3
then run
redhat-config-xfree86 and give it the necessary information, it should test your settings for you then when done (when it works) type
init 5
 
Old 02-25-2004, 02:44 PM   #9
Redeye2
Member
 
Registered: Feb 2004
Posts: 489

Rep: Reputation: Disabled
By the way, check which processes are running. You might be wanting to start X when a faulty copy is running. Do so by typing ps. If you see anything that should not be running, look at the process id or pid (it's a 4 digit number) and then type kill pid where pid is the number.
 
  


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
ummm...is there a compiler? murrowman789 Ubuntu 6 10-22-2005 12:08 PM
ummm ya so i made a mistake lucky.1 Slackware 6 05-14-2005 08:34 PM
Updating to KDE 3.4. Ummm....HOW? Morbid Linux - Software 14 03-19-2005 12:35 PM
k3b ummm...just doesn't burn Crashed_Again Linux - Software 3 12-04-2003 06:59 AM
Ummm...not sure what to do... TheGreatWang Linux - Newbie 1 06-21-2003 12:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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