Article title: network OS: Understanding Linux remote desktop control. 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.
What I want to talk about here is not remote control tools such as telnet and rsh, but remote control of desktop applications.
X window is more advanced than MS windows. X window is a network-based graphical windows system with powerful remote control functions. log on to the remote system and run the X application. then, the Xclients execution result is returned to the local host. this is the Remote X
I. Remote X
Assume that the local host ip address is 172.16.1.1 and the remote host ip address is 172.16.1.2.
Step 1: execute xhost in any xterm on the local host to allow remote hosts to connect to the X server on the local host:
Xhost + 172.16.1.2
If you do not specify any IP address, it means that the permission is completely open, which may cause security problems. be careful!
Step 2: Check whether the xfs of the local host is running. Use ps to check the process.
Step 3: log on to the remote host 172.16.1.2 through the network on the local host (172.16.1.1). you can use telnet, ssh, or rsh to set the DISPLAY variable.
Export DISPLAY = 172.16.1.1: 0
Step 4: Now you can use the X application on the remote host.
This is convenient, but you still have no control over the entire desktop environment. you can leave this job to vnc! Remote X works very well on the LAN. you don't need to try dialing a common phone. the speed is too slow.
II. vnc
I believe many people have used pcanywhere in windows, but do not want to use a free pcanywhere which can be used in linux, win9x/nt. this is vnc.
Vnc is short for vitual network computing. it supports many operating platforms and can even be operated in browsers.
I will introduce the usage of vncviewer and use linux to remotely control linux or nt.
The vnc client communicates with the vnc server through the vnc protocol in the TCP/IP architecture. after authentication, the desktop environment, input devices, and X resources of the X server are handed over to the vncserver for control, the vnc server sends the desktop environment to the vnc client through the vnc protocol. allows the vnc client to manipulate the vnc server desktop environment and input devices.
First download to the linux and windows versions of vnc.
The current linux version is vnc-3.3.3r1_x86_linux_2.0.tgz
The current Windows environment is vnc-3.3.3r7_x86_win32.zip.
[1] [2] Next page