📄 xvnc.man
字号:
.TH Xvnc 1 "28 February 2003" "RealVNC Ltd" "Virtual Network Computing".SH NAMEXvnc \- the X VNC server .SH SYNOPSIS.B Xvnc.RI [ options ] .RI : display#.SH DESCRIPTION.B Xvncis the X VNC (Virtual Network Computing) server. It is based on a standard Xserver, but it has a "virtual" screen rather than a physical one. Xapplications display themselves on it as if it were a normal X display, butthey can only be accessed via a VNC viewer - see \fBvncviewer\fP(1).So Xvnc is really two servers in one. To the applications it is an X server,and to the remote VNC users it is a VNC server. By convention we have arrangedthat the VNC server display number will be the same as the X server displaynumber, which means you can use eg. snoopy:2 to refer to display 2 on machine"snoopy" in both the X world and the VNC world.The best way of starting \fBXvnc\fP is via the \fBvncserver\fP script. Thissets up the environment appropriately and runs some X applications to get yougoing. See the manual page for \fBvncserver\fP(1) for more information..SH OPTIONS.B Xvnctakes lots of options - running \fBXvnc -help\fP gives a list. Many of theseare standard X server options, which are described in the \fBXserver\fP(1)manual page..TP.B \-geometry \fIwidth\fPx\fIheight\fPSpecify the size of the desktop to be created. Default is 640x480..TP.B \-depth \fIdepth\fPSpecify the pixel depth in bits of the desktop to be created. Default is 8,other possible values are 15, 16 and 24 - anything else is likely to causestrange behaviour by applications..TP.B \-pixelformat \fIformat\fPSpecify pixel format for server to use (BGRnnn or RGBnnn). The default fordepth 8 is BGR233 (meaning the most significant two bits represent blue, thenext three green, and the least significant three represent red), the defaultfor depth 16 is RGB565 and for depth 24 is RGB888..TP.B \-cc 3As an alternative to the default TrueColor visual, this allows you to run anXvnc server with a PseudoColor visual (i.e. one which uses a colour map orpalette), which can be useful for running some old X applications which onlywork on such a display. Note that viewing such a desktop can be painfulbecause it usually results in a full-screen redraw every time an entry in thecolour map changes. Values other than 3 (PseudoColor) and 4 (TrueColor) forthe \-cc option may result in strange behaviour, and PseudoColor desktops mustbe 8 bits deep..TP.B \-rfbport \fIport\fPSpecifies the TCP port on which Xvnc listens for connections from viewers (theprotocol used in VNC is called RFB - "remote framebuffer"). The default is5900 plus the display number..TP.B \-rfbwait \fItime\fPTime in milliseconds to wait for a viewer which is blocking Xvnc. This isnecessary because Xvnc is single-threaded and sometimes blocks until the viewerhas finished sending or receiving a message - note that this does not mean anupdate will be aborted after this time. Default is 20000 (20 seconds)..TP.B \-nocursorDon't draw a cursor. This can be useful when debugging a viewer to make theupdates drawn more predictable..TP.B \-rfbauth \fIpasswd-file\fPSpecifies the file containing the password used to authenticate viewers. Thefile is accessed each time a connection comes in, so it can be changed on thefly via \fBvncpasswd\fP(1)..TP.B \-httpd \fIdirectory\fPRun a mini-HTTP server which serves files from the given directory. Normallythe directory will contain the classes for the Java viewer. In addition, fileswith a .vnc extension will have certain substitutions made so that a singleinstallation of the Java VNC viewer can be served by separate instances ofXvnc..TP.B \-httpport \fIport\fPSpecifies the port on which the mini-HTTP server runs. Default is 5800 plusthe display number..TP.B \-deferupdate \fItime\fPXvnc uses a "deferred update" mechanism which enhances performance in manycases. After any change to the framebuffer, Xvnc waits for this number ofmilliseconds (default 40) before sending an update to any waiting clients. Thismeans that more changes tend to get coalesced together in a singleupdate. Setting it to 0 results in the same behaviour as earlier versions ofXvnc, where the first change to the framebuffer causes an immediate update toany waiting clients..TP.B \-economictranslateThe server normally uses a lookup table for translating pixel values when theviewer requests a different format from the native one used by the server.This can use up to 256Kbytes per connected viewer, so if you have many viewersyou may wish to specify this option which will save memory at the expense of alittle bit of speed. Only relevant for 16-bit-deep desktops..TP.B \-maxrects \fInum\fPSets the maximum number of rectangles Xvnc will send in one update. If anupdate would consist of more than this many rectangles, then an update of asingle bounding rectangle is sent instead. This makes sense because sending alarge number of small rectangles is less efficient than sending one largerectangle, even when this means updating pixels which haven't actually changed.The default is 50..TP.B \-desktop \fIdesktop-name\fPEach desktop has a name which may be displayed by the viewer. It defaults to"x11"..TP.B \-alwayssharedAlways treat new clients as shared (i.e. ignore client's shared flag). .TP.B \-neversharedNever treat new clients as shared (i.e. ignore client's shared flag). .TP.B \-dontdisconnectDon't disconnect existing clients when a new "non-shared" connection comesin. Instead the new connection is refused. New "shared" connections are stillallowed in the normal way..TP.B \-localhostOnly allow connections from the same machine. Useful if you use SSH and want tostop non-SSH connections from any other hosts. See the guide to using VNC withSSH on the web site..TP.B \-inetd This significantly changes Xvnc's behaviour so that it can be launched frominetd. Instead of listening for TCP connections it uses its standard input andstandard output as a connection to the VNC viewer. See the information on theextras page on the web site for details..SH SEE ALSO.BR vncconnect (1),.BR vncpasswd (1),.BR vncserver (1),.BR vncviewer (1),.BR Xserver (1).brhttp://www.realvnc.com.SH AUTHORTristan Richardson, RealVNC Ltd.VNC was originally developed by the RealVNC team while at Olivetti Research Ltd/ AT&T Laboratories Cambridge. It is now being maintained by RealVNC Ltd. Seehttp://www.realvnc.com for details.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -