Win7 VNC remote connection to the CentOS desktop

Source: Internet
Author: User

One, install the Linux desktop:

    1. Yum-y Groupinstall Desktop
    2. Yum-y groupinstall "X window System"
    3. Yum-y Groupinstall Chinese-support
    4. vi/etc/sysconfig/i18n
      Change en_US to ZH_CN

Two. To install the Vncserver Service pack:

1. Install the Vncserver service-side package.

#yum-y Install VNC *vnc-server*


2. Change the vncserver master configuration file

#vim/etc/sysconfig/vncservers

Copy the last two lines and remove the line gaze, then change to

Vncservers= "1:root"

vncserverargs[1]= "-geometry 1920x1080"


3. Set Password

#vncpasswd


4, Start Vncserver service

#/etc/init.d/vncserver start


5. Open Xstartup Configure desktop

#vim/root/.vnc/xstartup

Change the last line to

Gnome &

6. Set up a firewall

#vim/etc/sysconfig/iptables

In "-a input-m State--state new-m tcp-p TCP--dport 22-j ACCEPT" Add one row below-a input-m state--state new-m tcp-p TCP--dpo RT 5901-j ACCEPT

Restarting the Iptables service

#/etc/init.d/iptables restart



7, using a VNC connection (: http://www.realvnc.com/download/)

Password for the password set above.


Complete!



Win7 VNC remote connection to the CentOS desktop

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.