I notice that on Windows, Firefox lingers for a few moments after the window is closed, presumably for garbage collection until the process finally dies off. Perhaps this is what's happening with you? Does it happen with other applications, or just with Firefox? On Thu, Sep 23, 2010 at 22:26, Han <keepsimple@xxxxxxxxx> wrote: > Hi, > > I am using SSH to do X forwarding and saw an interesting problem: Âfor > some applications, even when I closed the application itself, the SSH > session is still not closed. ÂFor other applications, SSH sessions > closed whenever I closed the application. > > For example, if I do: > > ssh -X <host> xclock > > then I close the xclock app, the ssh session exits. > > but if I do: > > ssh -X <host> firefox > > then I close the firefox app, Âthe ssh session does not exit. > > In the latter case, I can see the corresponding sshd process is still > running at <host>. ÂIs such behavior caused by the application? Âany > insights are appreciated. > > my SSH version is: > OpenSSH_5.1p1 Debian-6ubuntu2, OpenSSL 0.9.8g -- " ' With the first link, the chain is forged. The first speech censured, the first thought forbidden, the first freedom denied, chains us all irrevocably.' Those words were uttered by Judge Aaron Satie as wisdom and warning... The first time any man's freedom is trodden on weâre all damaged." - Jean-Luc Picard, quoting Judge Aaron Satie, Star Trek: TNG episode "The Drumhead" - Alex Smith (K4RNT) - Murfreesboro, Tennessee USA