Linux - NewbieThis 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.
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.
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!
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.
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.
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.
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.
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.
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.
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.
"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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.