Solved

x server trouble ?

Posted on 2000-05-08
6
252 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Fine Tune your automatic Updates for Ubuntu / Debian
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

707 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