Re: Re : x forwarding over SSH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 24, 2010 at 9:42 AM, Pierre Jaury <pierre@xxxxxxxx> wrote:
> Isn't there any buggy process attached to sshd when FireFox dies ?

It seems there are 4 processes running on the remote host when I
started firefox via ssh -X :

han       1939  1895  0 20:28 ?        00:00:00 sshd: han@notty
han       1940  1939  0 20:28 ?        00:00:00 /bin/sh
/usr/lib/firefox-3.6.9/firefox
han       1947  1940  0 20:28 ?        00:00:00 /bin/sh
/usr/lib/firefox-3.6.9/run-mozilla.sh
/usr/lib/firefox-3.6.9/firefox-bin
han       1951  1947  6 20:28 ?        00:00:09
/usr/lib/firefox-3.6.9/firefox-bin

after I closed the firefox window, there is only one process left on
the remote host:

han       1939  1895  0 20:28 ?        00:00:00 sshd: han@notty

I am wondering why this one did not exit.

Han
>
> ----- Reply message -----
> De : "Han" <keepsimple@xxxxxxxxx>
> Date : ven., sept. 24, 2010 05:26
> Objet : x forwarding over SSH
> Pour : <secureshell@xxxxxxxxxxxxxxxxx>
>
> 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
>
> thanks
> Han
>
>
>



[Index of Archives]     [Open SSH Unix Development]     [Fedora Users]     [Fedora Desktop]     [Yosemite Backpacking]     [KDE Users]     [Gnome Users]

  Powered by Linux