Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-25-2003, 02:43 AM   #1
Registered: Jan 2003
Location: EU (UK)
Distribution: Ubuntu 14.x, Raspbian, Kali
Posts: 226

Rep: Reputation: 30
Switch to console mode from GUI in RH8?

Hi all,

Can anyone tell a newbie how to switch from the GUI to console mode in RH8?

My XF86Config is screwed and my monitor can't display the logon gui. I need to get to a console mode to fix this but don't know how.

Ctrl-Alt-F2 doesn't seem to work in RH (but does in SuSe).

I can't see how to change boot preferences in RH (using GRUB as a bootloader) unlike LiLo where I can manually enter a screen mode.

Old 04-25-2003, 03:49 AM   #2
LQ Guru
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
Try ctrl-alt-f1

if that doesn't work then X might have frozen, try ctrl-alt-backspace.
Old 04-25-2003, 05:24 AM   #3
Registered: Dec 2002
Posts: 39

Rep: Reputation: 15
you can configure the boot in the file /etc/inittab
just change the number 5 to 3 in the line
/*5 is for x11
3 for console*/
save and restart
Old 04-25-2003, 01:21 PM   #4
Registered: Jan 2003
Location: EU (UK)
Distribution: Ubuntu 14.x, Raspbian, Kali
Posts: 226

Original Poster
Rep: Reputation: 30
Thanks for your replies guys.

No joy on the Ctrl-Alt-Backspace I'm afraid.

Unfortunately I can't see anything on my screen to allow me to edit my config files......somehow I need to get to a console!
Old 04-25-2003, 01:24 PM   #5
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
What exactly happens when it goes wrong?
What booting options do you have? Any other OSs?
Old 04-25-2003, 01:26 PM   #6
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Hm. Try top from a term - or ktop or whatever your environment is - and check out the pids. If X is 50, do 'kill 50'. I suppose that would drop you out, though I'm not sure if I've ever tried to kill X from in X.

Yeah - that worked for me - I don't have X in CORE, but fired up BasicLinux - and, weirdly, X was 50.

Crap. Sorry - I misread. The problem is you couldn't see how to do all that. Lemme think. *smoke pours out*

Okay - maybe 4th edit's the charm. I assume you have your installation disks/floppies? Just use those. It's Red Hat - there's got to be an option for you to use them to boot, stop the installation process, and go to a 'fix' mode, right? Or you have some kind of boot disk? Or can download one? Any good rescue disk ought to boot directly to console, anyhow.

(Incidentally, first thing I do, when I have X is change the default runlevel - I *don't* like booting into anything graphical.)

Last edited by slakmagik; 04-25-2003 at 01:36 PM.
Old 04-25-2003, 01:34 PM   #7
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
He he, what I usually do is hit an open console, alt-F1 or whatever, then kill X from there (while X session is still open). This probably isn't the best idea but it does work.

In reality I run a little command that kills all processes owned by a certain user, so If I have an X session as user 'bulliver' I run "dieuserdie bulliver" and I get dropped at a console ready to login again. Here's the script:
pgrep -u $1 bash | xargs kill -9
# die user die!!!!
Old 04-25-2003, 01:56 PM   #8
Registered: Jan 2003
Location: EU (UK)
Distribution: Ubuntu 14.x, Raspbian, Kali
Posts: 226

Original Poster
Rep: Reputation: 30
Thanks guys, I really appreciate the help.

I finally managed to get back to X by removing and replacing my video card. RH detected it and reset my XF86Config to the new card.

Not a solution to recommend but......

Good advice to stop short of the graphical interface I think.....


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change from GUI mode to text mode alexr186 Linux - Software 4 01-08-2009 06:56 AM
How do i swith from GUI mode to CLI mode in fedora core 3 tinfocoms Fedora 5 09-08-2005 07:23 AM
instant switch from GUI to text mode? mr_a_ali Linux - General 1 08-17-2004 02:01 PM
Mandrake 9.2's boot process entirely done in console mode before loading in X mode... mishmash Mandriva 6 02-17-2004 09:19 PM
Graphical mode to GUI Mode mikeshn Linux - General 5 04-10-2002 01:38 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration