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.
Thanks,
Steve
-----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
---------------------------------------------------------------------