Nvidia driver/CUDA installation causes centos 7 to hang on boot. unable to access user interface.

Hi, Everyone! I have resolve this problem.
Please run the following commands.

yum install xorg-x11-server-Xorg

Xorg -configure :0

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

I have entered my X windows successfully!

Good luck!