LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-24-2007, 10:15 AM   #1
intheshadows
Member
 
Registered: Sep 2007
Location: United Kindom
Distribution: Fedora 11, Yellow Dog Linux (PS3 Version)
Posts: 39

Rep: Reputation: 15
can only load terminal up from startup


hi i tried to install some new drivers for my geforce 6200 graphics card but i followed a thread and it told me to change

/ect/inittab
"INIT:5: to INIT:3:"

so the xserver wouldnt load but now i cant get out of the terminal i dont know how to edit the file from the terminal or load the desktop its just stuck can anybody tell me how to load the desktop or edit a file through the terminal please

im using fedora 7

thanks

Last edited by intheshadows; 10-24-2007 at 10:19 AM. Reason: f
 
Old 10-24-2007, 10:41 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
You can use vi to edit from terminal, but if you're not experienced with it, better trying to start the X server by the command startx.
 
Old 10-24-2007, 10:43 AM   #3
intheshadows
Member
 
Registered: Sep 2007
Location: United Kindom
Distribution: Fedora 11, Yellow Dog Linux (PS3 Version)
Posts: 39

Original Poster
Rep: Reputation: 15
ok ill try startx thanks ill let u know wat happens
 
Old 10-24-2007, 10:45 AM   #4
intheshadows
Member
 
Registered: Sep 2007
Location: United Kindom
Distribution: Fedora 11, Yellow Dog Linux (PS3 Version)
Posts: 39

Original Poster
Rep: Reputation: 15
it worked thanks i can sort things out from here thanks alot
 
Old 10-24-2007, 10:46 AM   #5
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
You're welcome!
 
Old 10-24-2007, 10:58 AM   #6
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 59
Yes as colucix said you can use vi to edit, at the command line type vi /path/to/file.name I don't mean literally just vi and a space then the path to what ever file you want to edit. After vi opens the file use the arrow keys to move the curser to the spot you need to edit. Press i for insert, to insert text, when you are done press the Esc key to take you out of insert mode. To save the changes you made press Shift colon at the same time, this will alow you to enter a command in the lower left side of the screen. Now type wq w=write q=quit and press enter, that should do it.

My advice is to learn how to get around using vi for just such a time as now.

NOTE: WARNING I think you will need to be logged in as root to make the changes to that file.
 
Old 10-24-2007, 03:41 PM   #7
igor.R
Member
 
Registered: Mar 2004
Location: Atlanta
Distribution: Redhat 9.0
Posts: 49

Rep: Reputation: 16
Quote:
My advice is to learn how to get around using vi for just such a time as now.
Or Emacs (it is better than vi).
 
  


Reply

Tags
terminal



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
startup in a terminal chrisbhall Linux - Newbie 6 10-07-2004 02:20 PM
terminal window on startup? zeviddalop Linux - General 4 09-21-2004 02:38 PM
How to load program from terminal into X vincebs Linux - Software 7 01-07-2004 04:10 AM
Load on Startup ShadowPeo Linux - Newbie 1 02-01-2003 07:53 PM
terminal at startup? lyinghappyeyes Linux - Newbie 2 08-27-2001 02:40 PM

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

All times are GMT -5. The time now is 02:44 AM.

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