Steve Palocz <[EMAIL PROTECTED]> wrote:


> For the inetd world I agree. But here we use vnc for stateless
connections.
> We start a process, powerdown our laptop, goto hotel, next morning we can
> reconnect and see what it is doing. A time out would affect this
operation.

Well, yeah, but I was hoping for a command-line parameter.  But apparently
it does not exist, unless I patch the code.


> Steve Russo <[EMAIL PROTECTED]> wrote:
> > If there is a certain file that changes when a user logs in and logs
out,
> > you should be able to create a small perl daemon that watches that file.
> If
> > that file changes, make it do an action (A possible action could be a
> simple
> > kill or using your Xreset script).
> >
> > The question is, what file changes that lets you know if there is an
> active
> > user.
>
> The problem is, the user has not logged out, and nobody/nothing (except
> maybe the VNC server) knows that the user has been disconnected.  For
> example, the network connection between viewer and server breaks.  Xvnc
and
> the session & application continue to run on the server, forever.
>
> I am hoping Xvnc implements some sort of keepalive and eventually detects
it
> has lost communication with the viewer.
>
> -Lee Allen
>
> > -----Original Message-----
> > From: Lee Allen
> > To: [EMAIL PROTECTED]
> > Sent: 03/27/2001 1:42 PM
> > Subject: Xvnc and timeout
> >
> > I am using Xvnc in -inetd mode on Linux.  I want (really I need) for the
> > server to detect when the client disconnects abnormally and, within some
> > reasonable time frame, shut down.  This works fine when I close the
> > viewer,
> > but not when the connection is broken.
> >
> > Once Xvnc shuts down on the server, my xdm 'Xreset' script should shut
> > down
> > the application.
> >
> > Is there any way to do this?
> >
> >
> > Lee Allen
> > Leadtec Systems, Inc.
> > ---------------------------------------------------------------------
> > 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
> ---------------------------------------------------------------------
> ---------------------------------------------------------------------
> 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