Configure the VNC server in CentOS6

Source: Internet
Author: User
1, currently commonly used vnc is tigervnc, in the server we only need to install tigervnc-server, that is, the vnc server: yuminstalltigervnc-server-y2, check whether tigervnc-server is successfully installed: rpm-qtigervnc-server if the installation is successful it will show: tigervnc-server-1.1.0-5.el6_4.1.i686, of course I'm currently using tigervnc-

1. Currently, tigervnc is commonly used. on the server side, we only need to install tigervnc-server, that is, the vnc server:

yum install tigervnc-server -y

2. check whether tigervnc-server is successfully installed:

rpm -q tigervnc-server

If the installation is successful, the tigervnc-server-1.1.0-5.el6_4.1.i686 will be displayed, of course, the version of the tigervnc-server I am currently using is 1.1.0-5. el6_4.1

3. modify the/etc/sysconfig/vncservers configuration file and add the following content:

VNCSERVERS="1:root"VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp"

Note that VNCSERVERS is followed by 1. the default port number of the vnc service is 5900. when logging on to vnc, the following port number should be: 5900 + n (that is, 1 mentioned above)


4. restart the service after modification:

service vncserver restart


5. if the firewall is enabled, allow the specified port number to access the local machine in the firewall, or disable the firewall.


Then, use vncviewer.exe to remotely access vnc in Windows,

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.