⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xvnc.man

📁 Informix Table extraction queries have been optimized
💻 MAN
字号:
.TH Xvnc 1 "03 Mar 2005" "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.  In addition to options which can only be set via thecommand-line, there are also "parameters" which can be set both via thecommand-line and through the \fBvncconfig\fP(1) program..TP.B \-geometry \fIwidth\fPx\fIheight\fPSpecify the size of the desktop to be created. Default is 1024x768..TP.B \-depth \fIdepth\fPSpecify the pixel depth in bits of the desktop to be created. Default is 16,other possible values are 8, 15, 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.  Values other than 3 (PseudoColor) and 4 (TrueColor)for the \-cc option may result in strange behaviour, and PseudoColor desktopsmust be 8 bits deep (i.e. \fB-depth 8\fP)..TP.B \-inetd This significantly changes Xvnc's behaviour so that it can be launched frominetd.  See the section below on usage with inetd..TP.B \-helpList all the options and parameters.SH PARAMETERSVNC parameters can be set both via the command-line and through the\fBvncconfig\fP(1) program, and with a VNC-enabled XFree86 server via Optionsentries in the XF86Config file.Parameters can be turned on with -\fIparam\fP or off with-\fIparam\fP=0.  Parameters which take a value can be specified as-\fIparam\fP \fIvalue\fP.  Other valid forms are \fIparam\fP\fB=\fP\fIvalue\fP-\fIparam\fP=\fIvalue\fP --\fIparam\fP=\fIvalue\fP.  Parameter names arecase-insensitive..TP.B \-desktop \fIdesktop-name\fPEach desktop has a name which may be displayed by the viewer. It defaults to"x11"..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\fP, \-ClientWaitTimeMillis \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 \-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 \-rfbauth \fIpasswd-file\fP, \-PasswordFile \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 \-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 \-SendCutTextSend clipboard changes to clients (default is on).  Note that you must also run\fBvncconfig\fP(1) to get the clipboard to work..TP.B \-AcceptCutTextAccept clipboard updates from clients (default is on).  Note that you must alsorun \fBvncconfig\fP(1) to get the clipboard to work..TP.B \-AcceptPointerEventsAccept pointer press and release events from clients (default is on)..TP.B \-AcceptKeyEventsAccept key press and release events from clients (default is on)..TP.B \-DisconnectClientsDisconnect existing clients if an incoming connection is non-shared (default ison). If \fBDisconnectClients\fP is false, then a new non-shared connection willbe refused while there is a client active.  When combined with\fBNeverShared\fP this means only one client is allowed at a time..TP.B \-NeverSharedNever treat incoming connections as shared, regardless of the client-specifiedsetting (default is off)..TP.B \-AlwaysSharedAlways treat incoming connections as shared, regardless of the client-specifiedsetting (default is off)..TP.B \-Protocol3.3Always use protocol version 3.3 for backwards compatibility with badly-behavedclients (default is off)..TP.B \-CompareFBPerform pixel comparison on framebuffer to reduce unnecessary updates (defaultis on)..TP.B \-SecurityTypes \fIsec-types\fPSpecify which security schemes to use separated by commas.  At present only"None" and "VncAuth" are supported.  The default is "VncAuth" - note that ifyou want a server which does not require a password, you must set thisparameter to "None"..TP.B \-IdleTimeout \fIseconds\fPThe number of seconds after which an idle VNC connection will be dropped(default is 3600 i.e. an hour)..TP.B \-QueryConnectPrompts the user of the desktop to explicitly accept or reject incomingconnections.  This is most useful when using the vnc.so module or\fBx0vncserver\fP(1) program to access an existing X desktop via VNC.The \fBvncconfig\fP(1) program must be running on the desktop in order forQueryConnect to be supported by the \fBvnc.so\fP(1) module or\fBXvnc\fP(1) program.  The \fBx0vncserver\fP(1) program does not require\fBvncconfig\fP(1) to be running..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 \-log \fIlogname\fP:\fIdest\fP:\fIlevel\fPConfigures the debug log settings.  \fIdest\fP can currently be \fBstderr\fP or\fBstdout\fP, and \fIlevel\fP is between 0 and 100, 100 meaning most verboseoutput.  \fIlogname\fP is usually \fB*\fP meaning all, but you can target aspecific source file if you know the name of its "LogWriter".  Default is\fB*:stderr:30\fP..TP.B \-RemapKeys \fImappingSets up a keyboard mapping..I mappingis a comma-separated string of character mappings, each of the form.IR char -> char ,or.IR char <> char ,where.I charis a hexadecimal keysym. For example, to exchange the " and @ symbols you would specify the following:.IP "" 10RemapKeys=0x22<>0x40.SH USAGE WITH INETDBy configuring the \fBinetd\fP(1) service appropriately, Xvnc can be launchedon demand when a connection comes in, rather than having to be startedmanually.  When given the \fB-inetd\fP option, instead of listening for TCPconnections on a given port it uses its standard input and standard output.There are two modes controlled by the wait/nowait entry in the inetd.conf file.In the nowait mode, Xvnc uses its standard input and output directly as theconnection to a viewer.  It never has a listening socket, so cannot acceptfurther connections from viewers (it can however connect out to listeningviewers by use of the vncconfig program).  Further viewer connections to thesame TCP port result in inetd spawning off a new Xvnc to deal with eachconnection.  When the connection to the viewer dies, the Xvnc and anyassociated X clients die.  This behaviour is most useful when combined with theXDMCP options -query and -once.  An typical example in inetd.conf might be (allon one line):5950   stream   tcp nowait nobody  /usr/local/bin/Xvnc Xvnc -inetd -querylocalhost -once securitytypes=noneIn this example a viewer connection to :50 will result in a new Xvnc for thatconnection which should display the standard XDM login screen on that machine.Because the user needs to login via XDM, it is usually OK to accept connectionswithout a VNC password in this case.In the wait mode, when the first connection comes in, inetd gives the listeningsocket to Xvnc.  This means that for a given TCP port, there is only ever oneXvnc at a time.  Further viewer connections to the same port are accepted bythe same Xvnc in the normal way.  Even when the original connection is broken,the Xvnc will continue to run.  If this is used with the XDMCP options -queryand -once, the Xvnc and associated X clients will die when the user logs out ofthe X session in the normal way.  It is important to use a VNC password in thiscase.  A typical entry in inetd.conf might be:5951   stream   tcp wait   james     /usr/local/bin/Xvnc Xvnc -inetd -query localhost -once passwordFile=/home/james/.vnc/passwdIn fact typically, you would have one entry for each user who uses VNCregularly, each of whom has their own dedicated TCP port which they use.  Inthis example, when user "james" connects to :51, he enters his VNC password,then gets the XDM login screen where he logs in in the normal way.  However,unlike the previous example, if he disconnects, the session remains persistent,and when he reconnects he will get the same session back again.  When he logsout of the X session, the Xvnc will die, but of course a new one will becreated automatically the next time he connects..SH SEE ALSO.BR vncconfig (1),.BR vncpasswd (1),.BR vncserver (1),.BR vncviewer (1),.BR Xserver (1),.BR inetd (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 + -