Look at the office of the colleague Big Li every day after work time to clock home early, in the warm home through remote control software to continue to work, but also in the cold office of the small Zhang secretly determined: No, I also want to go home early, Meimei eat a meal again overtime! But can you achieve remote control under Linux?
"Of course you can!" Just like I do with VNC. Big Lee patted small Zhang's shoulder, "brother A, I will teach you!" ”
VNC (Virtual network Computing) is a well-known set of remote control software that consists of two parts. Part of the client's application VNC Viewer, and the other part is the server-side application VNC server.
"Come on, open your Redhat Linux 9.0 system, and I'll show you how to get started." ”
Start server side to prepare for home on time
RedHat Linux 9.0 has a built-in "vnc-3.3.3r2-47", so users can use the Rpm-q VNC command to query the installed version of VNC server without further downloading.
To start VNC server on the server side, execute the vncserver command (Figure 1):
Now, you have started VNC Server. If you want to change the password for VNC server, you only need to perform the VNCPASSWD command.
Run the VNC Viewer and work overtime after a relaxing meal
After the launch of the office machine VNC server, Xiao Zhang also clocked in early home, a good meal to eat a home-cooked meal, a cup of hot tea, slowly sat in front of the study computer.
The machine in Xiao Zhang's home is installed in Windows, can you control the Linux machine in the office by VNC? Will big Lee be a deluded?
"No matter how much it is!" I'll go to http://www.uk.research.att.com/vnc/dist/vnc-3.3.3r9_x86_win32.zip to download the VNC Viewer's Windows version. "Xiao Zhang began to work for the future every day at home easy overtime step groping."
First untie the downloaded compressed file, run the client program Vncviewer.exe, the system will appear in Figure 2 of the "Connection Details" dialog box.
In the VNC server text box in the Connection Details dialog box, enter the IP address (or hostname) of VNC server and the display unit number, if VNC server IP address is: 211.158.*.*, and start VNC After the server used the display device number 1, that is, enter 211.158.*.*:1, click the "OK" button, VNC server will begin to check the information entered, if the information is wrong, the system will appear "Failed to connect to the server" prompts If the information is correct, the "VNC Authentication" dialog box appears as shown (Figure 3).
Xiao Zhang entered in the "VNC Authentication" dialog box is correct, haha, finally successfully opened the office of the Linux Desktop (Figure 4) window. What are you waiting for, hurry up and finish the things you didn't do!
remote control of Web pages, a more relaxed approach
The next day early in the morning, Xiao Zhang was excited to tell the other colleagues: "Home on time, after dinner side of tea side overtime, than in the big and empty and cold office overtime, more efficient!" ”
"Your method is too old-fashioned, I now do not use the VNC viewer, directly with the Web browser on the line." "The Office of Jay Disagree," Come, look at the highest level of master, the complexity of the simple! ”
Open a Web browser on a Windows operating system computer (you must support Java applets), enter the URL of the remote computer in the address bar, Http://VNC Server IP address or host name: 5800+ Display Appliance number.
For example, the IP address of VNC server is: 211.158.*.*, and the display device used after launching VNC server is numbered 1, the URL to enter is: http://211.158.*.*:5801, after input, VNC The server will first appear in a window (Figure 5) requiring an input validation password.
When you enter a password and click the OK button, the system opens the remote system's desktop.
"Originally there is such a simple method, it seems that big Lee yesterday left a hand ah, hehe." Xiao Zhang laughed, and the lunch had fallen.
Tip: Using a browser to connect to VNC server can support multiple users connecting at the same time, and using the VNC Viewer only allows one user to connect at the same time.