On my system, I am using xinetd following the vnc mail list example. 

So,
When is the ssh getting call when a vnc session starts?

How to I set up a script or set the ssh session to die after a short 
time (say 60 secs)?


Thank you
Joe


S. I. Becker wrote:
>
>
>> Stewart,
>>
>> Ssh clients hold the connection open so long as there is something 
>> using it,
>> in this case a forwarded port.  There's no way that the client could 
>> exit
>> without causing the forwarded port to close, too.
>>
>
> James,
>
> That's the point!  You initiate the ssh session, with a shell/script 
> that will just exit after, say, 60 seconds.  In the mean time you set 
> up the tunnelled VNC session.  The ssh session exits when the time is 
> up, but is held open by the open tunnelled port(s).  Then when you do 
> close the VNC session, the ssh session closes too because there is now 
> nothing to keep it open, which is what I thought was wanted.
>
> Stewart
>
>

-- 
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to