LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-01-2003, 02:30 PM   #1
goosegg
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Rep: Reputation: 0
Ok, maybe I'm not cut out for linux...


First, I want to learn linux. I'm sick of microsoft eventhough the box set mandrake 8 (my previous aborted attempt at linux) is the only OS I have ever paid for.

Second, its the installation of drivers and proggies that stumps me. I have been trying to update my nvidia drivers and cannot do it. I have the sticky and faq, etc. I know I need I edit the inittab replacing the 5 with a 3. What I do know is, and I know its simple, how in the crap do I edit it? What is the command in the terminal? I have googled the question but it is apparently too basic for anyone to actually waste webspace on.

SO your challenge, if you choose to accept it, is to wirte a tutorial that can train a chimp to change this:
x:5:respawn:/etc/X11/prefdm -nodaemon

to this:
x:3:respawn:/etc/X11/prefdm -nodaemon

with me being the chimp of course.
 
Old 09-01-2003, 02:40 PM   #2
goosegg
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Original Poster
Rep: Reputation: 0
HA! Its an age old trick ! Post a stupid question, then figure it out 2 minutes later. Must be in su...must be in su...
 
Old 09-01-2003, 03:01 PM   #3
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
1.Turn on computer
2. Login

Xwindows starts and you are in a "windows-like" screen with icons and stuff to click

3. Click on the "start button"
-this will look like either a K (KDE) or a footprint (GNOME)

4. Select "System Tools" from the menu, then "Terminal"
-that will cause a little window to appear with a command line and a prompt. Like: [goosegg@localhost goosegg]$

5 Type: su -
-linux will then prompt you for a password

6. Enter the root password
-now the prompt will look something like this:
[root@localhost root]#

7. type:
cd /etc/

8. type:
vi inittab

9. Using the down arrow key, move down to the file to the line that says: x:5:respawn:/etc/X11/prefdm -nodaemon
-For me (redhat 8.0) this was at the bottom of the file and I had to press the down arrow 56 times.

10. Using the right arrow key, move over 2 spaces so that the "5" is under the cursor (highlighted)

11. Press the "r" key
-this will put vi in the "replace mode"; doesn't really matter what this means.

12. Press the "3" key
-this will magically swap the "5" with a "3"

12. Press the SHIFT and colon-semicolon( key, so that you see a : appear at the bottom left hand corner of the screen

13. Type:
wq
and hit enter.

14. Type:
more inittab
and make sure that the edit worked.

15. Spin around in you chair yelling "w000t, w000t, I am a linux GOD!" over and over.

Just checked the post and it looks like you figured it out, but since I went through the trouble, I'll post it anyway.
 
Old 09-01-2003, 03:07 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Still using Mandrake? Midnight Commander makes the command line so much less mysterious.

# Mandrake links
Mandrake home page
Mandrake Users website
Easy urpmi config for Mandrake
urpmi mini-HOWTO
Easy software management: Red Carpet
Maximum RPM
rpmfind
You didn't install the developmental packages? As root, command:
urpmi gcc
An Introduction to the Midnight Commander. You can install it by commanding:
urpmi mc
Midnight Commander home page
 
Old 09-01-2003, 03:38 PM   #5
goosegg
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for posting!

Man was I getting frustrated. Imagine trying to figure something out in a new OS with a 3 year old on your lap that only wants to play Kasteroids!!

I'm currently using Redhat 9. My previous experiences were with mandrake 8 and 9, slackware, an abortive week of trying to compile a gentoo kernal, and now redhat. Oh, and Knoppix.

I think my core competency is downloading!
 
Old 09-01-2003, 03:43 PM   #6
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
You want apt4rpm, I believe.

Try this then to change your runlevel:

To change to the full root account (system administrator), open an x terminal and use these commands from your user account. Note the change in the prompt.
Code:
[fancy@tinwhistle fancy]$ su -
Password: 
[root@tinwhistle root]# pico -w /etc/inittab
#
# inittab	This file describes how the INIT process should set up
#               the system in a certain run-level.
#
# Author:	Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
#               Modified for RHS Linux by Marc Ewing and Donnie Barnes
#

# Default runlevel. The runlevels used by RHS are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
#
id:3:initdefault:
<snip>
If pine is installed (it is in RH7.3), you should have that file to pop up and you can edit it.

# Red Hat links
Red Hat Linux Manuals
Get your mp3 support here
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
Red Hat 8.0 Tips & Tricks

# Red Hat 7.3 down configuration commands
setup leads to several configuration tools

# Red Hat 7.3 up configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network
Manage software:
redhat-config-packages
Red Hat 9.0 Package Management Tool

# Handling NTFS
New Technology FileSystem (NTFS) HOWTOs
Linux NTFS project

Last edited by fancypiper; 09-01-2003 at 03:55 PM.
 
  


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
Intel to cut Linux out of the content market Garda Linux - News 5 09-14-2005 06:07 PM
Intel to cut Linux out of the content market! :( Ausar Linux - News 20 08-08-2005 07:59 PM
Cut the cord... Linux only! :) But could use help with external drive linuxted Linux - Hardware 2 05-11-2005 01:41 AM
Cut price XP to 'halt the rise of Linux' pongmaster General 48 08-24-2004 04:18 PM
Does anything similar to Apple's Final Cut Pro exist for Linux? lorengd Linux - Software 11 02-09-2004 12:36 PM

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

All times are GMT -5. The time now is 12:36 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