I spent a week trying to resolve the error generated by X.org Server and Nvidia drivers, and I think I've finally solved.
This is the solution for my Nvidia GT540M & Intel i7-2670QM (ASUS X53SV-SX598V)
1. Download NVIDIA driver from here: http://www.nvidia.com/object/unix.html.
I use Linux x86_64/AMD64/EM64T (NVIDIA-Linux-x86_64-285.05.09.run) for my system at 64bit
2. Install system updates
Code:sudo apt-get update && sudo apt-get upgrade
Code:sudo apt-get install linux-headers-$(uname -r)
Code:sudo apt-get install dkms build-essential
Code:vi /etc/modprobe.d/blacklist.conf
Code:blacklist vga16fb blacklist nouveau blacklist rivafb blacklist nvidiafb blacklist rivatv
8. Make grub.cfg writable
Code:chmod +w /boot/grub/grub.cfg
Code:vi /boot/grub/grub.cfg
Code:text splash nouveau.modeset=0 vga=791
12. Disable writable mode to grub.cfg file
Code:chmod -w /boot/grub/grub.cfg
Code:update-grub
15. Login and don’t write startx
16. Remove all previous Nvidia drivers
Code:sudo apt-get --purge remove nvidia-*
Code:sudo apt-get --purge remove xserver-xorg-video-nouveau
Code:chmod a+x NVIDIA-Linux-x86_64-285.05.09.run
Code:sh ./NVIDIA-Linux-x86_64-285.05.09.run
20. Reboot
If you have a problem like this:
Code:X.Org X Server 1.7.6 Release Date: 2010-03-17 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.24-28-server x86_64 Ubuntu [...] Fatal server error: no screens found
It means that the automatic writing of xorg.conf (nvidia-xconfig command) during installation is not successful., but the driver has been installed correctly.
To solve this problem just delete the xorg.conf file:
Code:rm /etc/X11/xorg.conf
Reebot and type
Code:startx
Thursday, 4 April 2013
HOW TO Solve issue Nvidia & X.org Server Problems on Linux or BackTrack5
Subscribe to:
Post Comments (Atom)
How to check for open ports on Linux
Checking for open ports is among the first steps to secure your device. Listening services may be the entrance for attackers who may exploit...
-
How To Hide and unhide the hard disk Volumes using CMD Commands : First check how many drives are there in my computer and then s...
-
VMware on Linux: Promiscuous Mode When VMware Workstation is hosted under Linux, by default it doesn't allow VM Guests to acce...
-
VMWare Workstation doesn't ship in a deb, so it isn't registered in dpkg (which is why you can't find it in the software center...
No comments:
Post a Comment