#623570 openssh-server: ssh -X user@server hangs after logout

Package:
openssh-server
Source:
openssh
Description:
secure shell (SSH) server, for secure access from remote machines
Submitter:
wforumw
Date:
2015-07-30 08:45:07 UTC
Severity:
normal
#623570#5
Date:
2011-04-21 10:16:09 UTC
From:
To:
Steps to reproduce:
user@client:~$ ssh -X user@server
user@server:~$ emacs

user@server:~$ exit
logout

At this point the terminal hangs on the echo logout, but does not return to the
client prompt.
I see on the server that dbus-launch is not killed alfter logout

user      11977     1  0 12:11 ?   dbus-launch --autolaunch
f18dcb654cb9841d2d04cee700000d33 --binary-syntax --close-stderr

When I kill this process manually the user gets back his prompt.

Another work around to this issue
When logging out with "exit" and it hangs, press Ctrl-C

I tried this on different servers running 'squeeze' and all have the same
issue.

#623570#10
Date:
2011-08-29 01:05:36 UTC
From:
To:
I am, having the same problem, although it was vim case.

I raised a new bug#639647 on dbus because I think it is unlikely to be a
openssh issue.  dbus-x11 is a more likely culprit.  On reflection it is
more likely caused by gvim trying to read the settings from gconf, and
it is using dbus to do so.  Not doing that at all would be preferable to
the current behaviour, so maybe it is a gnome issue.