Article Title: Build VNC remote control software in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
VNC introduction:
Although VNC still lacks the ability to call Chinese Input by Hot Key in Linux, it still cannot block its position in Linux. Let's take a look at its charm. First of all, it's very casual to copy and paste it. Copy the local machine and paste it directly in the remote machine. Very convenient.
Network remote control technology refers to a computer (master) to control another computer (controlled), and when the master is on the control end, just as users sit in front of the controlled terminal, they can execute the controlled application and use the system resources of the controlled terminal.
VNC (Virtual Network Computing) is a set of software developed by the AT&T lab that can control remote computers. It adopts the GPL authorization terms and anyone can obtain the software for free. The VNC software consists of two parts: VNC server and VNC viewer. You must first install the VNC server on the computer on the controlled end before you can execute VNC viewer on the control end to control the controlled end.
(In windows, is a well-known network remote control software ?? Symantec released pcAnywhere.
VNC server and VNC viewer support multiple operating systems, such as Unix, Linux, Solaris, windows, and MacOS, therefore, you can install the VNC server and VNC viewer in different operating systems for control. If the current master computer does not have VNC viewer installed, you can control the control end through a general web browser.
The workflow for running the entire VNC is as follows:
(1) connect the VNC client to the VNC Server through a browser or VNC Viewer.
(2) The VNC Server sends a dialog window to the client, requiring that you enter the connection password and access the VNC Server display device.
(3) After the client enters the online password, the VNC Server verifies that the client has access permissions.
(4) If the client passes the VNC Server verification, the client requires the VNC Server to display the desktop environment.
(5) The VNC Server uses X Protocol to require X Server to assign control of the display to the VNC Server.
(6) The VNC Server will be sent to the client using the VNC communication protocol in the desktop environment of X Server in the future, and allow the client to control the desktop environment and input device of the VNC Server.
Installation and Use of VNC
My operating environment: Redhat9.0 on the control side and Windows XP on the control side.
1. Download VNC Server and VNC viewer.
VNC Server: http://www.Linuxeden.com/download/softdetail.php? Softid = 744
VNC viewer: http://download.pchome.net/php/dl.php? Sid = 1, 2603
2. install.
Rpm? Uvh VNC-3.3.6-2.i386.rpm (if the source code please see the instructions in the package)
After downloading the Linux version of VNC, you can extract the file to a folder, such as/home/VNC, and then copy the file VNCserver, VNCpasswd, and XVNC to the/usr/bin directory. If you want to remotely control the Linux computer through the integration of the Java interface of the VNC server, you also need to create a sub-directory/usr/local/VNC/classes. copy VNCJava. class file to this directory. (Generally, redhat 9.0 comes with the above files, so you can directly use the terminal to execute it ).
Under YUM on Fedora 8, click the giant. I have never looked at how to install it.
3. Start VNC Server on Linux
Run the VNCserver command:
[Root @ Linux root] # VNCserver
You will require a password to access your tops.
Password: -- to prevent anyone from remotely controlling the computer. Therefore, when you start the VNC server for 1st times, you must set a remote control password. This is your login VNC password must be safe enough. It seems that users can be configured in any article. However, 80% of users are not used to distinguishing users. Because VNC can Virtualize N desktops. Hooko, with Linux users, is very good and powerful.
Creating default startup script/root/. VNC/xstartup
Starting applications specified in/root/. VNC/xstartup
Log file is/root/. VNC/Linux: 1.log
(After the preceding steps, the VNC Server has been started. If you want to change the VNC Server password, you only need to execute the VNCpasswd command .)
[1] [2] [3] Next page