Re: x forwarding over SSH



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



Relevant Pages

  • Re: x forwarding over SSH
    ... I tried Firefox and Prism, ... some applications, even when I closed the application itself, the SSH ... then I close the xclock app, the ssh session exits. ...
    (SSH)
  • Re: Remote restart of gui after logout
    ... So if you then type nautilus or whatever in your ssh session, ... I'm looking in Putty for how to do that but I haven't found it yet, ... You need to install an X server in your windows system (Xming, ...
    (Ubuntu)
  • Re: Remote login, graphically?
    ... I can already login via SSH and fix things with a text editor. ... Now, I'd like to start several X programs on her machine, but have the user interface on my machine. ... However, when I start "firefox", I get the following error after some time waiting: ... The program 'firefox-bin' received an X Window System error. ...
    (Ubuntu)
  • Re: Remote login, graphically?
    ... I have installed Ubuntu on my mother's machine. ... I have tunneled X through SSH with: ... "firefox", I get the following error after some time waiting: ... The program 'firefox-bin' received an X Window System error. ...
    (Ubuntu)
  • Re: Partial SNAFUs - X11Forwarding etc.
    ... consolecommand "ssh -XY username@P2" ... consolecommand "ssh -XY username@P2 firefox" ... If its just to stop clients messing around with each other's stuff, ...
    (comp.security.ssh)