Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Linux and Unix Linux and Unix
Search Search
Search for:
Tech Support Guy > > >

Closing X Windows to get to command line(or boot into command line)


(!)

hitman_et's Avatar
hitman_et hitman_et is offline
Junior Member with 2 posts.
THREAD STARTER
 
Join Date: Oct 2004
Experience: Intermediate
31-Oct-2004, 06:00 AM #1
Closing X Windows to get to command line(or boot into command line)
Can someone plz tell me how to get into command line. can i just close x windows somehow or so i have to boot into it

i have linux 9
tsunam's Avatar
Senior Member with 1,240 posts.
 
Join Date: Sep 2003
Experience: Linux~su
31-Oct-2004, 06:11 AM #2
umm..unlike windows linux doesn't have a version...Distro's do. Now assuming you have redhat or suse or mandrake you can get a command line in any graphical enviroment thru a terminal. (this actually goes for any distro around...just a 9.0 version is limited to those 3 afaik)

If you want to just boot into the console then you could most likely do a rc-update del xdm
hitman_et's Avatar
hitman_et hitman_et is offline
Junior Member with 2 posts.
THREAD STARTER
 
Join Date: Oct 2004
Experience: Intermediate
31-Oct-2004, 06:15 AM #3
i have red hat, and i am trying to install nvidia drivers. it says i need to close x server. it does not work in terminal, or in ctrl+alt+f1

Edit: i think i have to edit /etc/inittab

Last edited by hitman_et; 31-Oct-2004 at 07:01 AM..
saikee's Avatar
Member with 3,748 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
31-Oct-2004, 07:49 AM #4
Ctrl+Alt+F1 is the standard method to drop into the command mode.

From command mode the equivalent standard of going back to GUI is to type "startx"

Editing /etc/inittab cantrols your boot-up-to level. Levels 4 & 5 are usually for GUI.
Whiteskin's Avatar
Senior Member with 1,964 posts.
 
Join Date: Nov 2002
Location: Alberta, Canada
Experience: Windows: Decent. Unix/Linux: Advanced +1
31-Oct-2004, 07:22 PM #5
If you log out, and come right back to a login screen, type in, as root /etc/init.d/xdm stop

That should kick you to the console.

I think that should work. I can't remember if redhat uses SysV style init.
utanja's Avatar
utanja utanja is offline
Computer Specs
Member with 312 posts.
 
Join Date: Oct 2003
Location: Europe:Salzburg Austria;USA:Fl
Experience: a little education can be
31-Oct-2004, 08:10 PM #6
Quote:
Originally Posted by hitman_et
i have red hat, and i am trying to install nvidia drivers. it says i need to close x server. it does not work in terminal, or in ctrl+alt+f1

Edit: i think i have to edit /etc/inittab
i used to run RH.....you need to edit /etc/inittab to change the runlevel to 2...

reboot and you should be at the console prompt...

when you want X...just type startx.....
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
WELCOME TO TECH SUPPORT GUY!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.


(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑