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