Hi,

Sure, here is the patch for the manpage.


On 03/03/2011 02:34 PM, Adam Tkac wrote:
> This extension of -inetd parameter seems fine for me. This functionality
> can be accepted to 1.1 after beta1 release.
>
> Btw would it be possible to also update Xvnc manpage to catch this
> extension, please?
>
>> Ps: while testing incorrect input, I noticed that incorrect input is
>> ignored by default. E.g. Xvnc -screen -1 10x20x24 only gives a message
>> and the usage options, but runs Xvnc ignoring the incorrect argument.
> Hmm, I get sigsegv when I pass your arguments.
>
I am using Ubuntu Natty (11.04 alpha). I find it strange that the 
default behaviour seems to be to continue ignoring incorrect arguments 
rather than terminating. But this is probably a design chosen, and I 
won't be surprised if a lot of software relies on this behaviour.


> I opened
> https://sourceforge.net/tracker/?func=detail&aid=3198439&group_id=254363&atid=1126848
> to track this issue because I don't have time for it right now.
>
> Regards, Adam
>
Greetings,
Sebastiaan

--- 
/home/sebastiaan/tigerbuild/tigervnc-1.0.90/unix/xserver/hw/vnc/Xvnc.man 
    2011-02-21 16:05:15.000000000 +0100
+++ Xvnc.man    2011-03-03 14:57:26.563232415 +0100
@@ -61,9 +61,11 @@
  must be 8 bits deep (i.e. \fB-depth 8\fP).

  .TP
-.B \-inetd
+.B \-inetd [\fIStart-End\fP]
  This significantly changes Xvnc's behaviour so that it can be launched 
from
-inetd.  See the section below on usage with inetd.
+inetd. Optinally, a display range can be given that is searched when called
+from inetd. If omitted, the default display range of 1-99 is used. See the
+section below on usage with inetd.

  .TP
  .B \-help
@@ -269,6 +271,17 @@
  out of the X session, the Xvnc will die, but of course a new one will be
  created automatically the next time he connects.

+To be more specific about the display ranges used by inetd, an 
additional argument
+can be provided:
+
+5950   stream   tcp nowait nobody  /usr/local/bin/Xvnc Xvnc -inetd 
20-80 -query
+localhost -once securitytypes=none
+
+In this way, a free display number between 20 and 80 is searched rather 
than using
+the default 1-99. This leaves displays 0-19 free for other displays 
(like multiple
+local displays or other persistent VNC displays).
+
+
  .SH SEE ALSO
  .BR vncconfig (1),
  .BR vncpasswd (1),


------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to