[Bug 592434] Re: ssh -X user at machine hangs when using exit to terminate

Bryan Quigley gQuigs at gMail.com
Wed Jul 24 16:19:54 UTC 2013

This is really a dbus issue, not a SSH issue:
see http://serverfault.com/questions/405518/how-to-configure-d-bus-and-ssh-x-forwarding-to-prevent-ssh-from-hanging-on-exit

Gedit for whatever reason is looking for an active dbus-session and
running `dbus-launch --autostart' if none was found. But `dbus-launch
--autostart' doesn't watch the user session and therefore ssh hangs
while waiting dbus-launch to quit.

A workaround is to run  'dbus-launch --exit-with-session' when you first
connect over SSH.  (This unfortunately causes yet another issue:

You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.

  ssh -X user at machine hangs when using exit to terminate

To manage notifications about this bug go to:

More information about the Ubuntu-server-bugs mailing list