Re: openssh refusing to shut if X has been used.



"Richard E. Silverman" <res@xxxxxxxx> writes:

"Unruh" == Unruh <unruh-spam@xxxxxxxxxxxxxx> writes:

Unruh> I ssh to a remote machine and use the X forwarding to open a
Unruh> program on the remote machine which opens an X window on the
Unruh> local machine. I use the program and then I shut is down ( and
Unruh> yes it is shut down), the X windows disappears. I exit ssh on
Unruh> the remote machine, but ssh refuses to let go, and go into an
Unruh> everlasting wait for something. It seems not to know that that
Unruh> X windows and program is gone.

I assume you know about this:

http://www.snailbook.com/faq/background-jobs.auto.html

... is it possible that the X program is spawning some background job that
persists?

openssh-4.5p1-0.2mdv2007.0
Mandriva 2007.0 Linux


ssh info
korganizer
<click on the X to close the program. The prompt returns on info>
exit
The terminal displays "logout" and hangs there

Login on on a different terminal and korgac --miniicon korganizer
is still running. If I kill that the original terminal finally comes back
after about 15 sec.

Why wold it continue running?
Anyway, this is not an ssh problem I guess ( except that it seems there is
no X display on my home machine, so I wonder what it is that korgac is
keeping open)?

Thanks


If not, can you give details (OS, program versions, etc.)? I haven't seen
this before.

--
Richard Silverman
res@xxxxxxxx

.



Relevant Pages

  • Re: openssh refusing to shut if X has been used.
    ... Unruh> program on the remote machine which opens an X window on the ... Unruh> yes it is shut down), the X windows disappears. ... I exit ssh on ...
    (comp.security.ssh)
  • openssh refusing to shut if X has been used.
    ... I ssh to a remote machine and use the X forwarding to open a program on the ... remote machine which opens an X window on the local machine. ... It seems not to know that that X windows ...
    (comp.security.ssh)
  • Re: [SLE] export DISPLAY and xhost +
    ... > To see windows of programs running on other machines, ... > then I would run the program on the remote machine and receive the ... > Ah, and I know about ssh -X, that works, but I don't really need ... SuSE user since 1998 ...
    (SuSE)
  • Re: [SLE] export DISPLAY and xhost +
    ... > To see windows of programs running on other machines, ... > then I would run the program on the remote machine and receive the ... > Ah, and I know about ssh -X, that works, but I don't really need ...
    (SuSE)
  • Re: why is plink slower than ssh?
    ... RB> repositories are accessed with ssh. ... RB> The problem is that I can't get sshagent to work on Windows so I ... RB> plink since I already have pageant running. ... RB> the same machine talking to the same remote machine. ...
    (comp.security.ssh)