VNC remote connection under Windows7 rhel6.1

  

1. Introduction to VNC: VNC (Virtual Network Computing) is a software developed by AT&T Lab that can control remote computers. It adopts GPL license terms, any The software is available free to anyone.

VNC is mainly composed of two parts: VNC server and VNC viewer.

After the VNC server is installed on the computer of the controlled terminal, the VNC viewer can be controlled on the host to control the controlled terminal.

The main working principle of vnc is to run the vncserver service on the server side, and then you can remotely connect to the server desktop on the client.

2. Installation (Server): Linux: $ sudo yum install tigervnc-server (Of course linux remote linux can also be achieved through this software: $ sudo yum install tigervnc)

3. Configure vnc-server: 3.1 Add the usernames available for login to the following configuration file: $ sudo vim /etc/sysconfig/vncservers Add two lines at the end of the file: VNCSERVERS="2:tony" # Tony is the user name of the user VNCSERVERARGS[2]="-geometry 1024×768 -nolisten tcp -localhost"

3.2 Setting the login password: $ vncpasswd

3.3 Setting the startup vnc-server $ Sudo chkconfig vncserver on $ sudo /etc/init.d vncserver start

4. Open the response port: $ sudo netstat -ntlp #Find the corresponding port, here is 5901 $ sudo vim /etc/sysconfig /iptables #Open the port $ sudo /etc/init.d/iptables restart

5. windows7 install realvnc: VNC Viewer uses the enterprise version (using the enterprise version, only the client, does not need money, Enterprise Edition Added a bit of functionality, more convenient and fast)

6. Login: Input: 172.17.13.65:1 (172.17.13.65 is the author's ip, but the latter one thinks it is the port, ie 5901=5900+1 )

Author"greybeard”

Copyright © Windows knowledge All Rights Reserved