Installing VNC under Linux

Source: Internet
Author: User
Tags ssh secure file transfer

Vnc-viewer in the Linux installation and configuration under

Vnc-viewer

http://www.realvnc.com/download/get/1795/details/just fill it with the * number and you can download it.

Operation Purpose:1, realize Win7- shaped remote CentOS
2. Implement Win7 and CentOS data transfer

installation:yum–y intsll VNC *vnc-server*


Configuration:vi/etc/sysconfig/vncservers


[Email protected] ~]# vim/etc/sysconfig/vncservers

Modify to the following form:

# The Vncservers variable is a list ofdisplay:user pairs.
#
# Uncomment the lines below to start a VNC server on Display:2
# as my ' myusername ' (adjust this to your own). You'll also
# need to set a VNC password; Run ' man vncpasswd ' to see how
# to does that.
#
# do not RUN the this SERVICE if your the local area network is
# untrusted! For a secure-to-a-to-a using VNC, see this URL:
# http://kbase. RedHat. com/faq/docs/doc-7028

# use '-nolisten tcp ' to PREVENTX connections to your VNC server via TCP.

# use "-localhost" to preventremote VNC clients connecting except when
# Doing so through a secure tunnel. See the "-via" option inthe
# ' Man vncviewer ' manual page.

Vncservers= "2:root"
vncserverargs[2]= "-geometry 800x600-nolisten tcp-localhost"

step three, set up the VNC link password

[[email protected] ~]# vncpasswd/admin123 # Enter password two times

Fourth step, restart Vncserver

[Email protected] ~]# service Vncserver restart

fifth step, or set firewall rules , or shut down the firewall

[[Email protected] ~]# service iptables stop

Or

[Email protected] ~]# iptables-i input-ptcp--dport 5901-j ACCEPT

[Email protected] ~]# iptables-i input-ptcp--dport 5902-j ACCEPT

Sixth step, download vnc-viewer in Win7

download good run and enter IP: Desktop number eg:192.168.0.6:1 then prompt for password OK.

This allows the Win7 interface to access the CentOs desktop.


2. Implement Win7 and CentOS data transfer

when using the SSH Secure File Transfer Client

Open and enter : Host Name : 192.168.0.6

User name :Your Name

Click the link  prompt to enter a password Ok


so far two features have been implemented in the beginning of the article!


This article is from the "Yellow Leaves" blog, please be sure to keep this source http://wenyilin523.blog.51cto.com/7671384/1834719

Installing VNC under Linux

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.