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-24-2007, 11: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 11:19 AM. Reason: f
 
Old 10-24-2007, 11:41 AM   #2
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
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, 11: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, 11: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, 11:46 AM   #5
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

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

Rep: Reputation: 50
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, 04: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


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


All times are GMT -5. The time now is 04:04 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration