How to implement remote control in Linux

Source: Internet
Author: User

I watched my colleague Da li go home early every day when he got off work, and continue working in warm home through remote control software, zhang, who is still working overtime in the cold office, secretly made up his mind: No, I also want to go home early. Meimei has a meal before working overtime! But can remote control be implemented in Linux?

"Of course! What if I use VNC like me ?" Da li patted Xiao Zhang on the shoulder and said, "Let me teach you one by one !"

VNC (Virtual Network Computing) is a famous remote control software, which consists of two parts. One is the client application VNC Viewer, and the other is the Server application VNC Server.

"Come on, open your RedHat Linux 9.0 system. I'll teach you how to get started first ."

  Start the server and prepare for returning home on time

RedHat Linux 9.0 has a built-in "vnc-3.3.3r2-47", so users do not need to download, you can use the rpm-q vnc command to query the installed VNC Server version.

To start the VNC Server on the Server side, run the vncserver command (Figure 1 ):

Now you have started the VNC Server. To change the password of the VNC server, you only need to run the vncpasswd command.

  Run VNC Viewer to work overtime easily after meals

After starting the VNC Server of the office machine, John punched in early and went home. After eating a regular meal, she made a cup of hot tea and sat down in front of the study.

John's home machine is installed with Windows. Can I use VNC to control Linux machines in the office? Will Da li be masked?

"No matter how many! Go to http://www.uk.research.att.com/vnc/dist/vnc-3.3.3r9_x86_win32.zipto download the Windows version of VNC Viewer ." Zhang started his step-by-step exploration for easy overtime at home in the next day.

Open the downloaded file and run the client program vncviewer.exe. The "Connection details" dialog box shown in Figure 2 appears.

In the Connection details dialog box, enter the IP address (or host name) of the VNC server and the display device number in the "VNC Server" text box. If the IP address of the VNC Server is 211. 158. *. * The display device number used after the VNC Server is started is 1, that is, enter 211. 158. *. *: 1. After you click "OK", the VNC Server starts to check the entered information. If the information is incorrect, the system prompts "Failed to connect to server; if the information is correct, the "VNC Authentication" dialog box appears (Figure 3 ).

John entered the correct password in the "VNC Authentication" dialog box. Haha, he finally successfully opened the office's Linux Desktop (figure 4) window. What are you waiting for? Hurry up and finish what you haven't done!

  Remote webpage remote control, easier way

Early in the morning the next day, Mr. Zhang excitedly told other colleagues about this method: "I went home on time and worked overtime while drinking tea after dinner. I worked overtime in a big, empty, and cold office, high Efficiency!"

"Your method is too old. I don't need VNC Viewer now. Just use a web browser ." Jay in the Office does not agree. "Come and see the highest realm of the experts and simplify it !"

Open a Web browser on a Windows computer (Java Applet must be supported), and enter the remote computer URL in the address bar, http: // VNC Server IP address or Host Name: 5800 + display device number.

For example, the IP address of the VNC Server is 211. 158. *. *. If the display device number used after the VNC Server is started is 1, the URL to be entered is http: // 211. 158. *. *: 5801. Enter the verification password in the VNC Server window (figure 5.

After entering the password and clicking the "OK" button, the system will open the desktop of the remote system.

"There was still such a simple method. It seems that Da li left a hand yesterday ." Xiao Zhang laughed and lost his lunch.

Tip: using a browser to connect to the VNC Server supports simultaneous connection by multiple users, while using VNC Viewer allows only one user to connect at the same time.

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.