[CentOS] ssh connections not closing when Qt application is opened?

Mon Dec 1 20:11:37 UTC 2014
Michael Lampe <lampe at gcsc.uni-frankfurt.de>

Dave Johansen wrote:

> https://bugzilla.redhat.com/show_bug.cgi?id=1086971
> 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?

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