Solved

x server trouble ?

Posted on 2000-05-08
6
245 Views
Last Modified: 2010-04-20
  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
0
Comment
Question by:Daddy101399
  • 3
  • 2
6 Comments
 
LVL 1

Expert Comment

by:crojas
ID: 2790987
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
 

Author Comment

by:Daddy101399
ID: 2797813
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
 

Expert Comment

by:antozi
ID: 2798104
Have you tried with a linux boot diskette? that boots to the command line?
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:Daddy101399
ID: 2798345
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
 
LVL 1

Accepted Solution

by:
crojas earned 50 total points
ID: 2798643
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
 

Author Comment

by:Daddy101399
ID: 2808976
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

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question