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.
So far everything I've read, nothings worked! Sudo, sh, synaptic manager thingy, nothings worked! I have the package downloaded to my desktop (NVIDIA-Linux-x86_64-100.14.19-pkg2.run) and I've tried
'sh NVIDIA-Linux-x86_64-100.14.19-pkg2'
- says cannot run
'sudo apt-get install linux-restricted-modules-generic'
-went though the steps but it didnt work
and all the sudo install combinations I've seen on numerous sites, and nothings worked! And I'm tired of switching over to vista to surf the net since my screen can't be any larger than 640x480 with half my desktop off my monitor. I need help! >.<
The reason it cannot run is that you can't run that script while you're inside of X, and you also have to run that as root (or use sudo, i.e. sudo sh NVIDIA-blahblahblah). From things you've typed, I assume you're trying to use Ubuntu. To kill X, hit CTRL+ALT+F1. Then login as your user. Then run sudo /etc/init.d/gdm stop to kill X. Then you can navigate to your desktop (cd ~, then ls (list contents), then cd desktop (or whatever name the desktop is given). Then run the sh command with sudo.
You also might need to install kernel headers or build-essential.
i can get it to start unpacking it but this is what happens...
'greg@ubuntu:~$ sudo sh /home/greg/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1.run
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 100.14.19........................................................................................... .................................................................................................... .......................................................................................
ERROR: You appear to be running an X server; please exit X before
installing. For further details, please see the section
INSTALLING THE NVIDIA DRIVER in the README available on the Linux
driver download page at www.nvidia.com.
'
How do i exit X?
This is a long way of doing it, but it should work.
Open your terminal.
Type
Code:
su -c vim\ /etc/inittab
Find the line
Quote:
id:5:initdefault:
You need to change this line to
Quote:
id:3:initdefault:
To save and exit, type
Code:
:wq!
The 'w' means 'write', the 'q' means 'quit', and the '!' ignores any fuss given by vim.
Then, restart your computer. Once it reboots, you should be in text mode. Login as your user. Then follow the instructions for installing the nVidia drivers (should be something like 'su -c sh\ nvidia-blahblahnumbersetc')
Once that's finished and you've run the nvidia-xconfig (I believe) script, you'll need to open inittab again and reverse what you've just done. That is, change the runlevel to 5 instead of 3. Then simply type
Code:
startx
and you'll be good to go.
EDIT:
I didn't see that you had typed 'ect' instead of 'etc'. Two totally different things (mostly because one doesn't exist). Try the methods of the posters before me. If they still don't work, try what I suggested.
Last edited by LinuxCrayon; 11-19-2007 at 05:57 PM.
Reason: Missed something...
Are you absolutely positive the password is correct? Did you just try it once, or did you try multiple times, slowly pressing each character as applicable? And I probably don't need to say this, but remember that it is case-sensitive. If you're positive it fails, you might have a serious problem. However, seeing as how 'sudo' didn't fail to authenticate, I'd wager you didn't enter the password correctly. If you're sure you did, try what I told you to do, but with 'sudo' instead.
Are you absolutely positive the password is correct? Did you just try it once, or did you try multiple times, slowly pressing each character as applicable? And I probably don't need to say this, but remember that it is case-sensitive. If you're positive it fails, you might have a serious problem. However, seeing as how 'sudo' didn't fail to authenticate, I'd wager you didn't enter the password correctly. If you're sure you did, try what I told you to do, but with 'sudo' instead.
my PWs 1 letter so yes im sure
@pljvaldez heres what i get now
'sudo /etc/init.d/gdm stop
OK
sudo sh /home/greg/Desktop/NVIDIA-Linux-x86-100.14.19-pkg1.run
(the little accept/do not accept terms thing pops up)
Accept
No precompiled kernel interface was found to match your kernel;
would you like the installer to attempt to download a kernel interface
for your kernel from the nvidia ftp site?
Yes/No
Yes
No matching kernel, this means the installer will need to compile
a kernel interface for your kernel.
Ok
Error: you do not appear to have libc header files installed on your
system. Please install your distro's libc development package.
Ok'
goes back to the beginning...and saying No does the exact same thing.
Any ideas?
Error: you do not appear to have libc header files installed on your
system. Please install your distro's libc development package.
Open your package manager and install your libc package? Also (again I don't recall...been a while since I installed nVidia drivers) you might need to have the kernel source.
Success! It's installed...now to figure out to switch it to my 22" WS monitor and not my 17" LCD...I see where I'd go about doing that but I can't hit the apply button...it's below the little bar at the bottom and it won't let me move the window up past the top bar! >.< Thanks for all your help guys!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.