LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-31-2004, 04:31 AM   #1
hitman_et
Member
 
Registered: Oct 2004
Location: Queensland, Australia
Distribution: Fedora Core 4
Posts: 67

Rep: Reputation: 15
True Command Line...arrrgh help


can someone plz tell me how to boot into command line, or how to close x server.

i am trying to install nvidia drivers and it says i need to close x server.
i have red hat linux 9
 
Old 10-31-2004, 04:42 AM   #2
n0sr
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware 13; Ubuntu Raspberry Pi OS
Posts: 255

Rep: Reputation: 34
I'm not that familiar with RH so you should verify the correct setting here, but you can check for the file /etc/inittab

Edit the file as root and find that looks similar to:

id:4:initdefault:

The important part of the line is the initdefault portion, that is the default runlevel for your system when you boot.

On my system (slackware 10.0) I change the 4 to a 3 and then run:

shutdown -rfn -t5 now

This will reboot your system in multi muser mode, but with standard TTY type console.

Log in with your normal userid/password, and then you can su into root. To start X just type

startx

and x windows will start as normal. When you exit x windows you'll go back to the console.
 
Old 10-31-2004, 04:53 AM   #3
hitman_et
Member
 
Registered: Oct 2004
Location: Queensland, Australia
Distribution: Fedora Core 4
Posts: 67

Original Poster
Rep: Reputation: 15
umm how do u exit x
 
Old 10-31-2004, 04:59 AM   #4
n0sr
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware 13; Ubuntu Raspberry Pi OS
Posts: 255

Rep: Reputation: 34
I'm not sure I understand the question...

You don't want to edit x at all. Just the file inittab

I do most of my editing from xterm, using midnight commander It's a tty based filemanager. If that's not installed you can use JED, jove VIM or even VI.
 
Old 10-31-2004, 05:33 AM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Hit ctrl-alt-fn, where n is one of your function keys - this will switch to another screen which is not running X. You can then do the install and reboot.
 
Old 10-31-2004, 05:51 AM   #6
hitman_et
Member
 
Registered: Oct 2004
Location: Queensland, Australia
Distribution: Fedora Core 4
Posts: 67

Original Poster
Rep: Reputation: 15
Quote:
and x windows will start as normal. When you exit x windows you'll go back to the console.
how do u exit x windows?

thx for the help i got it working
 
Old 10-31-2004, 05:56 AM   #7
n0sr
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware 13; Ubuntu Raspberry Pi OS
Posts: 255

Rep: Reputation: 34
Good deal. If you edited your inittab file you can go back and change the number back to its original value and you will be back to normal.

FYI to exit x windows, you would do the same as if you wanted to log off your system.

Cheers
 
Old 10-31-2004, 06:10 AM   #8
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Or:
<Ctrl> + <Alt> + <Backspace>
 
  


Reply



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
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 07:19 PM
Command to output file content line by line aznluvsmc Programming 2 09-12-2004 07:45 PM
51 characters only in the 1st Line of command line eggCover Linux - General 2 07-29-2004 01:28 PM
finger command shows never logged on...but its not true falconxlc Linux - General 4 12-09-2002 10:26 AM
arrrgh, what the ? zhenwu Linux - Networking 1 08-01-2001 03:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:37 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration