My server defaults to minimal installation, so there is no vncserver. Install one using Yum.
# yum Install Tigervnc-server
Then start up:
# vncserver:1
Try to use the Vncviewer connection under Windows, and find that the same server as the company, is a black screen interface.
Check the log ~/.vnc/localhost.localdomain:0.log
The following error was found:
/home/cake/.vnc/xstartup:line 27:xsetroot:command not found
/home/cake/.vnc/xstartup:line 28:xterm:command not found
/home/cake/.vnc/xstartup:line 29:twm:command not found
Xio:fatal IO Error One (Resource temporarily unavailable) on X server ": 0″^m
After the requests (140 known processed) with 0 events Remaining.^m
It looks as if the XSETROOT/XTERM/TWM was not caused by the installation.
Then use the Yum installation:
# yum Install Xsetroot
# yum Install xterm
# yum Install Twm
Then kill the Vncserver process and reboot.
# vncserver-kill:1
# vncserver:1
Then again with the Vncviewer connection, the discovery has been able to show the normal ~