I just finished getting Xvnc working with inetd on Linux.  It took me a lot
of time to get it working right (partly because I was new to xdm).  When
things were not completely right, I would see very erratic behaviour.  Some
things to check:
I don't see a font path in your inetd.conf entry
did you tell inetd to re-read the file?
does netstat show a LISTEN on port 5950?

Another diagnostic to try: Replace your script with something that just does
some echo's.  Start a telnet client against it instead of vnc.

-Lee Allen

----- Original Message -----
From: Bill Taroli <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 03, 2001 5:52 PM
Subject: Xvnc and inetd on Solaris


> I've used Xvnc successfully by adding it to Xservers, but would rather
have
> new displays dynamically spawned upon connection to a single port. Viola!
I
> learned that I could use inetd for this purpose. Great, but it doesn't
seem
> to be working. Here's what I have thus far.
>
>   - Added line to /etc/services
>
>     vnc 5950/tcp
>
>   - Added line to /etc/inetd.conf
>
>     vnc stream tcp nowait nobody /usr/lib/vnc/inetd-vnc Xvnc
>
> I had to modify the latter because of a Solaris issue with the number of
> commandline args. It's now calling a script file that contains:
>
>    /usr/bin/Xvnc -inetd -query <host> -once -geometry 1024x768 -depth 24
>
> When I attempt to connect, I get no message... it just does nothing. When
I
> run the same command (without -inetd and with a display number)
> interactively, it works fine. I'm at a loss, but really want to have it
> working through this mechanism. Any suggestions or pointers are
appreciated.
>
> Bill Taroli
> ---------------------------------------------------------------------
> To unsubscribe, send a message with the line: unsubscribe vnc-list
> to [EMAIL PROTECTED]
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to