Display gone after installation GeForce 940M driver in centos 6.7

Display gone after installing “NVIDIA-Linux-x86_64-352.55.run” or “NVIDIA-Linux-x86_64-343.13.run” driver as follows in My HP PAV AB32TX with “0a:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940M] (rev a2)”


yum groupinstall “Development Tools”

yum install kernel-devel kernel-headers dkms

lspci (to check the hardware)

edit “/etc/modprobe.d/blacklist.conf” and add a line “blacklist nouveau”

mv /boot/initramfs-(uname -r).img /boot/initramfs-(uname -r).img.bak

dracut -v /boot/initramfs-(uname -r).img (uname -r)

reboot (init 3)


X -configure (

cp /root/xorg.conf.new /etc/X11/xorg.conf

init 5

But No display… After that reboot using init 5 … do not get the graphical mode …

Is there any problem during installation or what ???