>4 parameters to Xvnc in inetd.conf?

Ryan Casey scfiead "at" hotmail.com
Mon, 09 Apr 2001 18:54:14 +0000


Thank you!

It was my SGID that was my problem.

Ryan P. Casey
----- Original Message -----
From: "David Smith" <smithd "at" blkbox.com>
To: <vnc-list "at" uk.research.att.com>
Sent: Monday, April 09, 2001 12:54 PM
Subject: Re:>4 parameters to Xvnc in inetd.conf?


> Solaris has a limit on the number of caracters on a inetd line, which
> is what you are running into.
>
> I got around it this way.
>
> A script to add the default parameters which I called Xvncinet:
>
> #!/bin/sh
>
> /usr/local/bin/Xvnc -inetd -query localhost -once -geometry $1 -depth
> $2 -s 0 -nevershared -fp tcp/localhost:7100 -desktop "VNCServer on
> $HOST"
>
>
> and Inetd calls to it:
> vnc-640x480x8 stream tcp nowait nobody /usr/local/bin/Xvncinet 640x480 8
> vnc-800x600x16 stream tcp nowait nobody /usr/local/bin/Xvncinet 800x600 16
> ...
>
> Note you have to SGID Xvnc (the binary, not the script) to group root
> to be able to open the socket (match it to what Xsun is).
> --
> --------------
> David A. Smith
> <smithd "at" blkbox.com>
> The box said: "Needs Windows 98 or better," so I bought a Macintosh.
> ---------------------------------------------------------------------
> To unsubscribe, send a message with the line: unsubscribe vnc-list
> to majordomo "at" uk.research.att.com
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------