LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-06-2004, 02:05 AM   #16
n0xvb
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware 13; openSUSE 11.2
Posts: 255

Rep: Reputation: 34

DOH! I just re-read your post and saw the problem. /linux/etc/X11 is correct. (the X must be capitalized)
 
Old 11-06-2004, 02:05 AM   #17
gbdavidx
Member
 
Registered: Oct 2004
Location: Sac, Calif
Distribution: Slackware 10.0
Posts: 123

Original Poster
Rep: Reputation: 15
lol, i'm such a newb, how would i edit the inittab?
vi inittab?
 
Old 11-06-2004, 02:08 AM   #18
gbdavidx
Member
 
Registered: Oct 2004
Location: Sac, Calif
Distribution: Slackware 10.0
Posts: 123

Original Poster
Rep: Reputation: 15
ok sweet that worked... i forgot to make it caps, but when i got into x11.conf i wasn't able to edit it...
 
Old 11-06-2004, 02:18 AM   #19
n0xvb
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware 13; openSUSE 11.2
Posts: 255

Rep: Reputation: 34
Yes do the command

vi inittab

If you've never used vi before it can be a little daunting...

to move your cursor use the following keys:
h = left
l = right
k=up
j=down

use the "j" key to go down until you find the corect line

use the "l" key (yes that's the lower case L) until the cursor is hilighting the number 4

press these keys: i3

then hit escape.

your cursor should still be on the number 4. If it is not on the number 4, use the h or l keys to move the cursor over it. If it is, press the d key then the spacebar then hit escape.

Now your line should look like:

id:3:initdefault:

Then save the file by entering these keys:


:q!
 
Old 11-06-2004, 02:20 AM   #20
n0xvb
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware 13; openSUSE 11.2
Posts: 255

Rep: Reputation: 34
Exclamation

Man it must be late, sorry, but when you exit that won't save your file!

Actually to save and exit (after your editing) do this command!

:wq

That will work much better!

If you put in :q! vi will exit without saving.
 
Old 11-06-2004, 02:28 AM   #21
gbdavidx
Member
 
Registered: Oct 2004
Location: Sac, Calif
Distribution: Slackware 10.0
Posts: 123

Original Poster
Rep: Reputation: 15
it keeps saying the 'q' is not implemented... or something

EDit: how do you do a command? this program sucks

Last edited by gbdavidx; 11-06-2004 at 02:30 AM.
 
Old 11-06-2004, 02:29 AM   #22
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Use vim instead of vi, if you don't like moving with letters you can use arrows too. I also recommend to copy /usr/share/vim/vim63/vimrc_sample.vim to ~/.vimrc

Last edited by gbonvehi; 11-06-2004 at 02:30 AM.
 
Old 11-06-2004, 02:35 AM   #23
gbdavidx
Member
 
Registered: Oct 2004
Location: Sac, Calif
Distribution: Slackware 10.0
Posts: 123

Original Poster
Rep: Reputation: 15
i don't have vim, i can only use vi, i don't have nano or that other one either, pico
 
Old 11-06-2004, 02:36 AM   #24
n0xvb
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware 13; openSUSE 11.2
Posts: 255

Rep: Reputation: 34
Yes, vi is a little rough! It is older than I am I think..

Anyway look at my last post, I gave you the incorrect command.

*But*

When you type in that last command:

:wq

you have to put the colon in first.
 
Old 11-06-2004, 02:40 AM   #25
gbdavidx
Member
 
Registered: Oct 2004
Location: Sac, Calif
Distribution: Slackware 10.0
Posts: 123

Original Poster
Rep: Reputation: 15
sweet, i got it thanks for the help dude! you saved me!
 
Old 11-06-2004, 02:47 AM   #26
n0xvb
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware 13; openSUSE 11.2
Posts: 255

Rep: Reputation: 34
No problem. Now, at this point you can reboot your system and it will allow you to log into the console.

After you log in as root, you can use whatever editor is easier for you.

I prefer to use mc (midnight commander). It's like xtree for dos from many moons ago. You can navigate your directory tree and to edit a file, just highlight it and hit the F4 key. Editing is *much* easier, when you're done, hit F10 to exit (and save or discard changes)

You still need to fix your xorg.conf file.

eelriver had a great suggestion:

less /var/log/Xorg.0.log

will show you the log file from the last time X attempted to start.

After you edit your xorg.conf file you can start X by using the command

startx

And finally! (whew!) when everything looks right, edit the inittab and change the 3 back to a 4.

You should be good to go at that point.
 
Old 11-06-2004, 10:58 AM   #27
DaWallace
Member
 
Registered: Feb 2004
Location: Southern Maine, United States
Distribution: Slackware Ubuntu Debian FreeBSD
Posts: 418

Rep: Reputation: 31
Quote:
Originally posted by gbdavidx
EDit: how do you do a command? this program sucks
A little premature don't you think?...



....MAN PAGES DUDE!!!!
 
  


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
edit a .conf file master Linux - General 7 10-13-2005 06:49 PM
How to edit grub.conf? zeroz52 Linux - Newbie 27 03-02-2005 01:58 PM
Can't edit /etc/X11/XF86Config file in ANY editor under root! please help Fear58 Mandriva 6 12-12-2004 02:19 AM
edit /etc/syslog.conf wedgeworth Linux - Software 3 04-08-2004 02:58 PM
Edit grub.conf NoviceW Linux - General 1 11-11-2003 06:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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