Resolve CentOS installation vncserver and solve the black screen problem

Source: Internet
Author: User

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 ~

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.