The use of vnc is detailed in

  

vnc (virtual network computing), a lightweight remote control program used to display the entire desktop of a remote computer. 1. Download: RealVNC v4.2.6 Enterprise Chinese version http://www.crsky.com/soft/5953.html2. Usage: 1) Server: #vncserver$vncserver notice that each user can start their own vncserver Each user can start multiple vncservers, which are identified by the display port number: 1, 2, 3, etc. 2) Client: a) Under linux, run the vncviewer command, the server address is written like 192.168.3.119:1b) Under windows, run the windows version of vncviewer, the usage is similar to linux. c) Use the browser (platform-independent), as a java applet to achieve, in the form of http://192.168.3.119:5801 to start 3) Password modification: the first time you start vncserver will prompt for a password, you need to modify later If not, run: #vncpassword4) Stop vnc server: #vncserver -kill :1#vncserver -kill :2 Note that vncserver can only be closed by the user who started it. Immediately, root can not close the vncserver opened by other users, unless The kill command kills the process violently. 5) Specify the display port number to start vnc server: #vncserver :3$vncserver :66) Set the vnc server resolution: #vncserver -geometry 800×600#vncserver -geometry 640×4807) Set the color depth of the vncserver: 8 bits to 256 Color, 16-bit is 64k color #vncserver -depth 8#vncserver -depth 168) Stability setting: vncserver defaults when multiple clients connect to the same vncserver display port, vncserver port is old, but for new connection service, Keep the old connection by rejecting the new connection request with -dontdisconnect. 9) Set the same display port of vncserver to connect multiple clients #vncserver -alwaysshared10) Reverse connection of vnc In most cases, vncserver is always listening, and vnc client actively sends a request to the server to establish a connection. However, in some special cases, the vnc client needs to be in the listening state, and the vncsrever actively sends a connection request to the client, which is the reverse connection of the vnc. Main steps: a) Start vnc client, make vncviewer in listening state #vncviewer -listenb) Start vncserver#vncserverc) Execute vncconnect command on vncserver, initiate server to client request #vncconnect -display :1 192.168.3.69

Copyright © Windows knowledge All Rights Reserved