Windwos7 vnc connection centos6.6, windwos7centos6.6

Source: Internet
Author: User
Tags download vnc viewer

Windwos7 vnc connection centos6.6, windwos7centos6.6

1. First configure centos6.6 vnc (desktop installed)

# Yum install fontforge-y prevent font garbled characters

# Yum tigervnc-server-y install the vnc package

# Chkconfig vncserver on

# Vncpasswd set the vnc logon Password

# Rpm-qc tigervnc-server View the location of the vnc configuration file

    

# Vim/etc/sysconfig/vncservers modify the configuration file

Add the following statement to the last line (two desktops are added here)

    

Start desktop 1 and desktop 2 as the root user and set the resolution.

# Vncserver: 1. Start the desktop. 2. The desktop is the same as 1.

# Vim ~ /. Vnc/xstartup modify the following line. If GNAME is used for the graphic desktop environment, this file will be generated only after the vnc service is started.

    

# Vncserver-kill: 1 disable 1 desktop service

# Vncserver: 1. It will be OK when the vnc log file is started again.

    

The most direct method for setting the last firewall is to disable the firewall and set it to not restart after it is started.

Or add the vnc port to the firewall policy as follows:

#iptables -I INPUT -m state --state NEW -m tcp -p tcp --dport 5901 -j ACCEPT

    #iptables -I INPUT -m state --state NEW -m tcp -p tcp --dport 5902 -j ACCEPT

    #service iptables save

2. Download vnc viewer from windwos7 (or other vnc tools)

When using vnc viewer to connect, do not forget to add a desktop number after the ip address, for example, connect to desktop 1:

  

 

 

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.