Bug#623570: openssh-server: ssh -X user@server hangs after logout
Package: openssh-server
Version: 1:5.5p1-6
Severity: normal
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.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages openssh-server depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii debconf [debconf-2.0] 1.5.38 Debian configuration management sy
ii dpkg 1.16.0.1 Debian package management system
ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib
ii libcomerr2 1.41.12-2 common error description library
ii libgssapi-krb5-2 1.9+dfsg-1+b1 MIT Kerberos runtime libraries - k
ii libkrb5-3 1.9+dfsg-1+b1 MIT Kerberos runtime libraries
ii libpam-modules 1.1.2-2 Pluggable Authentication Modules f
ii libpam-runtime 1.1.2-2 Runtime support for the PAM librar
ii libpam0g 1.1.2-2 Pluggable Authentication Modules l
ii libselinux1 2.0.98-1 SELinux runtime shared libraries
ii libssl0.9.8 0.9.8o-5 SSL shared libraries
ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers libra
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
ii openssh-blacklist 0.4.1 list of default blacklisted OpenSS
ii openssh-client 1:5.5p1-6 secure shell (SSH) client, for sec
ii procps 1:3.2.8-10 /proc file system utilities
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages openssh-server recommends:
ii openssh-blacklist-extra 0.4.1 list of non-default blacklisted Op
ii xauth 1:1.0.5-1 X authentication utility
Versions of packages openssh-server suggests:
pn molly-guard <none> (no description available)
pn rssh <none> (no description available)
pn ssh-askpass <none> (no description available)
pn ufw <none> (no description available)
-- debconf information:
ssh/vulnerable_host_keys:
ssh/new_config: true
* ssh/use_old_init_script: true
ssh/disable_cr_auth: false
ssh/encrypted_host_key_but_no_keygen:
Reply to: