x server trouble ?

  While opening an  icon file (.xpm) that I just saved, my pc crashed & restarted until it got to where the x  server starts. It keeps trying to start but fails, over & over. How can I boot to a command line (runlevel 2) before the x server starts so I can remove the offending file.  I'am using Linux-Mandrake 6.1 with KDE.         Thanks in advance
Daddy101399Asked:
Who is Participating?
 
crojasCommented:
After a few failed starts the system will wait for 5 min, if you press CRTL+ALT+F1 you can go to console mode, edit the file /etc/inittab, change the init level from 5 to 3 and after reboot your system won't start X. Change the settings with Xconfigurator or direct editing /etc/X11/XF86Config and use 'startx' to try X. When you get the X working OK change again the inittab file to runlevel 5.
0
 
crojasCommented:
In X press Ctrl+Alt+F1 to go to console number 1, then you'll need to edit the 'inittab' file in /etc. Change the runlevel from 5 to 3(Full network in text mode).
RunLevel 2 is without network in text mode.
0
 
Daddy101399Author Commented:
X never starts, it perpetually keeps trying to but fails (the monitor keeps flashing). Is there a linux equivalent to "safe mode" or some way to boot to a shell without  it trying to start x.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
antoziCommented:
Have you tried with a linux boot diskette? that boots to the command line?
0
 
Daddy101399Author Commented:
I Tried using the rescue Boot floppy I created during the install. Lilo started  & after it found the devices & partitions, it asked for a Root floppy. If I continue with the boot floppy I get kernel panic.  I suppose its looking for the root file system. I don't recall making a Root floppy. This is beginning to look like a format & reinstall.
0
 
Daddy101399Author Commented:
I let it keep trying for about 15 minutes without success. Fortunately I backed up my important data previously. After considering my lack of time, I decided to format & reinstall.
Thanks for your help.... Steve
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.