SSHLogin to server and restart VNC service with command line.
$service vncserver start
The following are the following:
Starting VNC server: no displays configured [FAILED]
Solve:
$vim /etc/sysconfig/vncservers
View configuration files and modify the following two lines of configuration file parameters as follows:
VNCSERVERS=”2:shim”
VNCSERVERARGS[2]=”-geometry 1360×768 -nolisten tcp -localhost”
$source /etc/sysconfig/vncservers
Restart service, client connection server is normal.