Re: No X shell?

Rudolf Leitgeb (leitgeb@variable.stanford.edu)
21 Mar 1997 00:01:09 GMT


Randy Edwards (redwards@together.net) wrote:
: Ctrl-Alt-Backspace just recycles X. I'm stuck and locked out of my own
: system. :-(
:
: A couple of questions. First, does anyone know what I might've done
: wrong so I might avoid it again? Any ideas on this score? Secondly, does
: anyone know how I might fix this problem short of reinstalling? Thanks in
: advance.

I don't have the debian installation but here's what I recommend:

1. Build a set of "emergency rescue" disks. Don't worry, your system isn't
in an emergency but it's a good idea to have these disks anyway. They are
a boot disk and a root disk and you can down load them from

ftp://sunsite.unc.edu/pub/Linux/distributions/slackware/

Find an appropriate bootdisk in the subdirectory bootdsks.144 and
get rescue.gz from the rootdsks subdirectory. The Readme files tell
you how to make boot disks and root disks.

2. Use these two disks to boot your system. Mount the linux partition on
the harddisk as /mnt . Make sure, you know, what partition that is, before
you screw up the hard disk. You can check with fdisk if you are not sure.

3. You are now master over the linux partition. Go in /mnt/etc and edit
the file inittab. Modify the runlevel, so that linux does not run X
at boot up but that you get a number of text terminals. Consult your
linux book or post your inittab file, so I can tell you what to do.

4. After successfully changing your inittab file you should be able to boot
from your hard disk normally and get a number of text consoles.

5. From there you can try to fix the problems. It sounds like X was not
happy and died prematurely. From a text shell you can try to call startx,
which in turn will give you all the error messages.

Good luck

Rudi