After installing the CUDA, the CentOS 7 cannot enter the X window, only the command line is avialable.

I followed the instructions for installing CUDA, the installation (with package managee method) goes smoothly until I restart the computer. Upon restart a boot log check list is displayed, and the computer hangs there indefinitely. However, it can enter the system when I set the systemctl set-default multi-user.target. Anyone have resolved it?