Blame Arnon

X crashes after installing Nvidia driver on CentOS or RHEL


Recently I’ve been having trouble with the Nvidia driver on CentOS 6.

Opening any kind of app that uses the GPU like Google Chrome, Firefox or even Nvidia’s own nvidia-settings causes X to crash and restart.

Luckily, I’ve found the solution, and it has to do with

Navigate to




pre> and have a look at the contents with

ls -al


You’ll likely see something like this:

u@Host151 /usr/lib64/xorg/modules/extensions $ ls -al
-rwxr-xr-x  1 root root   148120 Jan 24  2013
-rwxr-xr-x  1 root root   467513 Feb 10 12:55
-rwxr-xr-x  1 root root 12258728 Feb 10 11:33
-rwxr-xr-x  1 root root    31248 Jan 24  2013

What you’ll now want to do is remove the smaller of the, and create a symbolic link so that the operating system will use the correct version.
In my case, the Nvidia driver is 346.46 so the filename has that extension.


$ sudo mv
$ sudo ln -s

Now, reload X and enjoy using all your apps as usual!

Leave a Reply