• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 293
  • Last Modified:

undoing runlevel set to auto start X at bootup

I have the runlevel set so it launches the graphical (X) login when I boot. I was messing with the display settings yesterday and crashed the system. I had to hard reboot. When the system came up, the graphical parameters were invalid so it couldn't boot into X but I can't get a text login prompt. I tried hitting Ctrl-Alt-Fx keys but nothing. The screen just keeps flickering.

i'm not on a network so I can't login remotely and change the runlevel. Is there any way when I'm booting up to break out before it tries to start the X login? I tried ctrl-alt-backspace but it doesn't kill the X server.

1 Solution
Have you tried your boot disk?  It should bring you to a text based system login for root, where you could change the runlevel that way.
If you are using LILO, you can send the bootloader the following command to boot into single user mode:

LILO: linux 1
Or you can use "linux single" at the lilo prompt. The graphical login is most likely being started from /etc/inittab and once up in single user mode you can comment out that line (probably looks something like "x:5:respawn:/etc/X11/prefdm -nodaemon") and then be able to all the way to multi user mode, if need be.

You ought to be able to fix the X config problem in single user mode with Xconfigurator o xf86config... But you probably already knew that...
nicholsoAuthor Commented:
Thanks, jharding. That's what I needed to know. Also thanks for the help jlevie, yeah I already knew about inittab, I'm familiar with how the runlevel stuff works but just needed to get a text prompt.

Post a dummy answer jharding and i'll give you the points.
You are welcome.
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.

Join & Write a Comment

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now