Ssh Connections Not Closing When Qt Application Is Opened?

Home » CentOS » Ssh Connections Not Closing When Qt Application Is Opened?
CentOS 3 Comments

https://bugzilla.redhat.com/show_bug.cgi?id86971
I have been able to reproduce the above issue on my home network and at work, but RedHat is claiming it is not a bug, so can some people on this list give it a try and see if they can reproduce it?
Thanks, Dave

3 thoughts on - Ssh Connections Not Closing When Qt Application Is Opened?

  • I see this behaviour frequently with X11 over SSH tunnels, both from CentOS to CentOS and from OSX to CentOS. I cannot say with certainty which programs cause it, or even if said programs reliably cause the same behaviour every time, since my usual fix is to simply C the SSH session after exiting. Next time it pops up I will note the circumstance and see if I can recreate the same behaviour.

  • gee, I wonder if this is the cause of an odd behavior I occasionally see: SSH from linux at work to my linux box at home (or between any two Linux boxes, actually). when I’m done I might enter ^D to close the remote terminal. Most of the time this terminates the remote session and returns to a local prompt. But sometimes the local session’s prompt does not reappear until I also do ^C.

  • Dave Johansen wrote:

    If you connect with ‘-vvv’ you can see multiple x11 connections being open:

    debug3: channel 1: status: The following connections are open:
    #0 client-session (t4 r0 i0/0 o0/0 fd 4/5 cfd -1)
    #1 x11 (t4 r2 i3/0 o3/0 fd 7/7 cfd -1)
    #2 x11 (t4 r3 i0/0 o0/0 fd 8/8 cfd -1)
    #3 x11 (t4 r4 i0/0 o0/0 fd 9/9 cfd -1)

    The additional x11 connections are from automatically launched dbus stuff. On exit they don’t get closed, therefore the hang. This happens on C6 and C7 with GTK+ 2/3 or Qt4/5 but not with GTK+ 1, Qt3 or legacy apps and it’s nothing new. It just never gets fixed. (I think it’s a dbus bug.)

    Michael