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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-18-2005, 05:33 PM
|
#1
|
LQ Newbie
Registered: Feb 2005
Location: Irvine, Ca
Posts: 5
Rep:
|
Redhat 9, few newbie questions
Just installed Redhat 9 last night. I cannot seem to get my screen resolution above 800x600 as of now. I have a Nvidia ti4200 128mb card. I downloaded the newest drivers but the install instructions mention typing something like "sh nvidia-linux-x86-1-0-6629-pkg1.run" however since I am totally new I have no idea where to type that!
I was also trying to network my printer (installed on my windows xp) machine but the utility says I need samba installed. I downloaded samba but once again I have no idea where to get it running.
Any help (even if its a link to another website for instructions) would be greatly appreciated!
|
|
|
02-18-2005, 06:50 PM
|
#3
|
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Rep:
|
How to install the nvidia driver
samba guide
good luck,any questions ask away and welcome to LQ
|
|
|
02-18-2005, 06:56 PM
|
#4
|
Member
Registered: Dec 2002
Distribution: Slackware
Posts: 927
Rep:
|
you will want to run the nvidia installer in console - you may have to change default runlevels and kill X - the docs linked above should help you do that.
Last edited by Genesee; 02-18-2005 at 06:57 PM.
|
|
|
02-18-2005, 06:57 PM
|
#5
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Before you run the nvidia setup program, you will need to install the kernel-source package for the kernel you are using.
You can use the command 'uname -r' to get the version. Actually, this is the same command that the installer uses.
Also, make sure that there is a link from /lib/modules/build to the source in /usr/src/<source-code directory with version number at end>
The README file explains this.
When you run the installer, you can't be running X-windows. If you are running the GUI, go to one of the virtual terminals. First logout, then Enter [Ctrl]-[Alt]-[F2] to bring up the second virtual terminal.
Then log in as root, and enter the command 'init 3' to shutdown xwindows and the windows manager.
Now to answer your first question, you will enter the command in the console, but first, CD to the location were you downloaded the driver file.
Using autocompletion will save you some typing.
enter:
sh nvidia
and press the tab key to complete the line.
|
|
|
02-18-2005, 08:18 PM
|
#6
|
LQ Newbie
Registered: Feb 2005
Location: Irvine, Ca
Posts: 5
Original Poster
Rep:
|
Thanks for the help. I loaded to the GUI (x-windows?) hit ctrl+alt+f1 and it when to a command screen. I typed in my username then my password. Afterwards I typed sh NVIDIA-Linux-x86-1.0-6626-pkg1.run hit enter then the program started to run. It halted and said ERROR: nvidia-installer must be run as root. Had to hit Ok to exit. I guess this is slightly harder to learn then I originally thought it was going to be.
|
|
|
02-18-2005, 08:24 PM
|
#7
|
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Rep:
|
You were almost there just login as root
su
password (roots password)
|
|
|
02-18-2005, 08:32 PM
|
#8
|
LQ Newbie
Registered: Feb 2005
Location: Irvine, Ca
Posts: 5
Original Poster
Rep:
|
ok now I logged into root but when I type init 3 is says command not found. When I try to run the insatller it tell me I still have a X server running.
|
|
|
02-18-2005, 08:37 PM
|
#9
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Try doing ctrl-alt-f1, then login as root and do "init 3" (telinit 3), and try the installation.
|
|
|
02-18-2005, 08:41 PM
|
#10
|
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Rep:
|
Before you do the init do this first cd then try init 3
|
|
|
02-18-2005, 08:45 PM
|
#11
|
LQ Newbie
Registered: Feb 2005
Location: Irvine, Ca
Posts: 5
Original Poster
Rep:
|
Same problem as mentioned before. It does show [root@localhost klumze]# but init 3 give the message: bash: init: command not found. I might be waaay to newbie for this and Im going to go look for some kind of book to help me on this also. Any suggestions? I would consider myself very knowledgable with Windows and ok with command prompt but this is like learning how to re-ride a bike to me.
Last edited by klumze; 02-18-2005 at 08:47 PM.
|
|
|
02-18-2005, 08:58 PM
|
#12
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
Try /sbin/init instead of just init. If you log in as root (or use "su -" instead of just su) you get root's environment which by default has the administration commands in the shell's search path.
|
|
|
02-18-2005, 11:59 PM
|
#13
|
Member
Registered: Dec 2002
Distribution: Slackware
Posts: 927
Rep:
|
did you try "telinit 3" instead?
|
|
|
02-22-2005, 06:18 PM
|
#14
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
If you change the default init level to 3 in your /etc/inittab file, then you don't need to use 'init 3' or 'telinit 3' to start with, because you are already in that run level, and the X server will not be running.
If you still get a message about the X server running, I'll bet there is an orphaned lock file that you need to delete. I think it would have a name similar to .Xauth-<something>.
Look in the /tmp and /var/lock direrctories. I'm not at my linux computer so I can't check the exact details.
|
|
|
02-22-2005, 10:19 PM
|
#15
|
LQ Newbie
Registered: Feb 2005
Location: Irvine, Ca
Posts: 5
Original Poster
Rep:
|
"If you change the default init level to 3 in your /etc/inittab file, then you don't need to use 'init 3' or 'telinit 3' to start with, because you are already in that run level, and the X server will not be running."
Ok, logged in under root. Typed init 3 hit enter and got this message.
INIT: SWITCHING TO RUNLEVEL:3
INIT : SENDING PROCESSES THE TERM SIGNAL
[ROOT@LOCALHOST ROOT]# STRATING PCMCIA: [OK]
STRTAING AUTOMOUNT: NO MOUNTPOINTS DEFINED: [OK]
System stays in this window until I turn it off.
Maybe I didnt configure the OS correctly from the start?
|
|
|
All times are GMT -5. The time now is 09:33 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|