Solved

x server trouble ?

Posted on 2000-05-08
6
247 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Oracle 10g standard edition server with 4 processors 3 67
Can't ping New Linux Servers 40 90
php56-php-mcrypt for rhel7 php56 1 50
Disabling security updates Ubuntu 3 30
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

856 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