LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-30-2003, 08:16 PM   #1
miica
LQ Newbie
 
Registered: Oct 2003
Location: Malaysia
Distribution: Red Hat 7.2
Posts: 3

Rep: Reputation: 0
how to switch to console login?


i am using redhat 7.2 and have problem login through X display, i want to switch to console mode and login. how to do that?

my linux will start X everytime, but i cannot login because of the X display problem, i need to do this through console mode.

Thanks
 
Old 10-30-2003, 08:25 PM   #2
frandalla
Member
 
Registered: Oct 2003
Location: Tokyo - Japan
Distribution: Slackware
Posts: 348
Blog Entries: 1

Rep: Reputation: 37
go to /etc/inittab
you'll find something similar to this:
# These are the default runlevels in Slackware:
# 0 = halt
# 1 = single user mode
# 2 = unused (but configured the same as runlevel 3)
# 3 = multiuser mode (default Slackware runlevel)
# 4 = X11 with KDM/GDM/XDM (session managers)
# 5 = unused (but configured the same as runlevel 3)
# 6 = reboot

# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:

Change your id:xx:initdefault to 3 (like mine)
reboot and you'll login through text
 
Old 10-30-2003, 08:26 PM   #3
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
ctrl + alt + F1-6
if that's what you're looking for.
 
Old 10-30-2003, 08:59 PM   #4
miica
LQ Newbie
 
Registered: Oct 2003
Location: Malaysia
Distribution: Red Hat 7.2
Posts: 3

Original Poster
Rep: Reputation: 0
thanks for all replying,

frandalla's suggestion might work, but i need to be able to login to edit some files. i cannot login through X, linux tries run X at the login, but failed everytime because of some display problems, so the screen flash everytime, i can't type anything, i need to stop linux from trying to run X and then i login through the console mode.

sorry, i should have tell that i am running my redhat in vmware 4.0.5, i want to login to install vmware-tools, before that, my video driver couldn't work.

Demonbane's suggestion doesn't work, i press ctrl + alt + F1 to F6, but it doesn't stop linux's attempts to run X. the screen is flashing between the console mode and X mode.

i do not intend to confuse you all by not explain clearly, but my english is really that sucks.

any other ways? Thanks again.

Last edited by miica; 10-30-2003 at 09:01 PM.
 
Old 10-30-2003, 09:46 PM   #5
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 65
Try booting to failsafe. It sounds like you x is messed up or the video drivers. Not sure which though.

If that fails do this, ctrl alt backspace. That will usually kick x's but right out the door.

If you get it to a command line, make sure you change the inittab file so it will boot to command line instead of x. If you need to test a setting just type in startx and see if it smokes or not. If not it should come back to a prompt and tell you what went wrong, sort of.

Hope that helps.

 
Old 10-30-2003, 10:45 PM   #6
miica
LQ Newbie
 
Registered: Oct 2003
Location: Malaysia
Distribution: Red Hat 7.2
Posts: 3

Original Poster
Rep: Reputation: 0
just now, i realized that i can reboot my computer and login to my redhat, but not boot it in my XP's vmware. so all of the above actually works and i already found what i want. thanks you all. :>

Thanks.
 
  


Reply


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
console switch problem fireflyanant Linux - Newbie 3 04-06-2005 10:20 PM
Switch from X to console wizard7423 Programming 13 12-29-2004 09:11 AM
How to switch to Gnome under console? explorer1979 Debian 1 08-27-2004 07:09 PM
Cant switch to console from X sepppel Linux - Newbie 2 07-18-2004 12:57 PM
to switch from X window to console: go_sooner Linux - General 2 02-03-2004 09:36 AM


All times are GMT -5. The time now is 01:41 PM.

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