Exiting x-server and completing a command
What is the best way to exit x-server and install the following program using a terminal? the program: NVIDIA-Linux-x86-304.88.run located in the home folder.
Advice elsewhere suggests I do: ./NVIDIA-Linux-x86-304.88.run after exiting x-server and becoming root or using sudo or su-? I seem to be getting close, but still am missing something and have been unable to install the NVIDIA program. I appreciate any suggestion. My system is Linux Debian and I am running a GeForce 6200 pci graphics card. jb rivers |
If you have kdm (for example you are using KDE), then in menu on logon screen you can choose option to exit X server. If you are using gdm (or GNOME), then switch to virtual console by CTRL+ALT+F1, login and invoke command
Code:
sudo service gdm stop Quote:
Code:
sudo chmod +x /home/someusername/NVIDIA-Linux-x86-304.88.run Code:
sudo reboot |
Is there a reason you want to install from the nVIDIA package rather than the repositories? Otherwise the easiest way to get nVIDIA drivers is use the packages in the repositories:
http://wiki.debian.org/NvidiaGraphic...n-free_drivers The basic method being install the kernel headers and DKMS then install the nVIDIA drivers. If you must use the download from nVIDIA for some reason then to stop X press Ctrl+Alt+F1 and log in as root, then if you run Gnome type Code:
/etc/init.d/gdm3 stop Code:
/etc/init.d/kdm stop |
Thanks for the responses. I have printed everything out and will try again to install the package from the NVIDIA website. Perhaps repositories would have been a better option, but since I've gone this far by one method, I will try to see it through. I didn't know you could get NVIDIA packages from repositories.
In terms of error messages, I have trouble with terminals and knowing where I'm at in directories, so I get messages like: not in this directory or no such command. Sometimes, I get nothing or once I crashed my computer; thank God for Clonezilla. When I get time to follow-up on this, I will post my experience, but thanks anyway. |
When using a terminal the command
Code:
pwd Code:
cd <path> Code:
cd Run the following command as root or use sudo: Code:
updatedb Code:
locate <filename> It's not exactly rocket science. jdk |
As I was having trouble logging into root after exiting x-server, I was able to locate the following script on the internet which allowed me to make the changes following the script and rebooting, which avoided the necessity of exiting x-server. I just had to answer "y" a couple of times to complete the installation. The script is named as follows:
nvidia-installer-squeeze.sh and the procedure is as follow: Download debian 6.0 nVidia drivers shell Script: http://www.debianadmin.com/how-to-in...0-squeeze.html Once you have nvidia-installer-squeeze.sh script, login as root Change the script permissions using the following command chmod +x nvidia-installer-squeeze.sh Run the script using the following command ./nvidia-installer-squeeze.sh That was all I had to do to complete the process. |
I think it worth mentioning that the script you used is imply following the procedure I linked to to install the drivers "the Debian way" using the drivers in the non-free Debian repository.
Not saying it's not useful, as I think it is, just letting you know in case you weren't aware. |
All times are GMT -5. The time now is 08:05 AM. |