Win7 VNC CentOS

Source: Internet
Author: User
Configure VNC, provided Linux has a graphical interface installed.
1. Whether Vncserver service is installed on CentOS
Rpm-qa | grep Tigervnc
Self-installing
Yum Install Tigervnc tigervnc-server-y
2, modify the Vncserver configuration file (here to pay special attention)
VI etc/sysconfig/vncservers

Configuration file modification is not possible this error may occur

This is caused by not listening on the local TCP port, so you need to delete-nolisten tcp-localhost in the configuration file, and then save exit after the modification.
3. Restart the Vncserver service to make the configuration effective.
Services Vncserver Resstart
4, see Vncserver Start port number (configuration file Delete-nolisten Tcp-localhost, will not see 6001 port, you can try OH)
[Email protected] ~]# NETSTAT-NUTLP | grep ' Xvnc '
TCP 0 0 0.0.0.0:5901 0.0.0.0: LISTEN 3171/xvnc
TCP 0 0 0.0.0.0:6001 0.0.0.0:
LISTEN 3171/xvnc
TCP 0 0::: 6001:::* LISTEN 3171/xvnc
5, set Vncserver boot
Chkconfig--level 2345 Vncserver on
6, Firewall release port number
Vi/etc/sysconfig/iptables
-A input-p tcp-m tcp--dport 5901-j ACCEPT
-A input-p tcp-m tcp--dport 6001-j ACCEPT
7, test VNC link, obl, eat chicken tonight.

Win7 VNC CentOS

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.