[Bug 592434] Re: ssh -X user@machine hangs when using exit to terminate
** Package changed: openssh (Ubuntu) => dbus (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/592434 Title: ssh -X user@machine hangs when using exit to terminate To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/592434/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 592434] Re: ssh -X user@machine hangs when using exit to terminate
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: https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/812913) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/592434 Title: ssh -X user@machine hangs when using exit to terminate To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/592434/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 592434] Re: ssh -X user@machine hangs when using exit to terminate
Only happens with server versions later than 6. Server version 5.1p1-40.15 checks out OK... (albeit with the server running on OpenSuSE 10.3). -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/592434 Title: ssh -X user@machine hangs when using exit to terminate To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/592434/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 592434] Re: ssh -X user@machine hangs when using exit to terminate
PS: I got the the following when I ran the ssh client with -vvvX and started an X11 application: debug3: channel 0: will not send data after close debug2: channel 0: obuf empty debug2: channel 0: close_write debug2: channel 0: output drain -> closed debug2: channel 0: almost dead debug2: channel 0: gc: notify user debug2: channel 0: gc: user detached debug2: channel 0: send close debug2: channel 0: is dead debug2: channel 0: garbage collecting debug1: channel 0: free: client-session, nchannels 3 debug3: channel 0: status: The following connections are open: #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1) #2 x11 (t4 r4 i0/0 o0/0 fd 8/8 cc -1) #3 x11 (t4 r5 i0/0 o0/0 fd 9/9 cc -1) In contrast to this, ssh with just -vvv produced the following output when logging out of the server: debug3: channel 0: will not send data after close debug2: channel 0: obuf empty debug2: channel 0: close_write debug2: channel 0: output drain -> closed debug2: channel 0: almost dead debug2: channel 0: gc: notify user debug2: channel 0: gc: user detached debug2: channel 0: send close debug2: channel 0: is dead debug2: channel 0: garbage collecting debug1: channel 0: free: client-session, nchannels 1 debug3: channel 0: status: The following connections are open: #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/592434 Title: ssh -X user@machine hangs when using exit to terminate To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/592434/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 592434] Re: ssh -X user@machine hangs when using exit to terminate
This bug is still around 12.10. Openssh client and server version 1:6.0p1-3ubuntu1. Given the duration and progress (or lack thereof :-) of this bug: Anybody looking at this upstream? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/592434 Title: ssh -X user@machine hangs when using exit to terminate To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/592434/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 592434] Re: ssh -X user@machine hangs when using exit to terminate
I can confirm the issue still occurring in 12.04. openssh-client and openssh-server version 1:5.9p1-5ubuntu1 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/592434 Title: ssh -X user@machine hangs when using exit to terminate To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/592434/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 592434] Re: ssh -X user@machine hangs when using exit to terminate
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 debug1: client_input_channel_req: channel 0 rtype e...@openssh.com reply 0 debug2: channel 0: rcvd eow debug2: channel 0: close_read debug2: channel 0: input open -> closed debug2: channel 0: rcvd eof debug2: channel 0: output open -> drain debug2: channel 0: obuf empty debug2: channel 0: close_write debug2: channel 0: output drain -> closed debug2: channel 0: rcvd close debug2: channel 0: almost dead debug2: channel 0: gc: notify user debug2: channel 0: gc: user detached debug2: channel 0: send close debug2: channel 0: is dead debug2: channel 0: garbage collecting debug1: channel 0: free: client-session, nchannels 3 ^Cdebug1: channel 3: free: x11, nchannels 2 debug1: channel 4: free: x11, nchannels 1 debug1: Killed by signal 2. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/592434 Title: ssh -X user@machine hangs when using exit to terminate To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/592434/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 592434] Re: ssh -X user@machine hangs when using exit to terminate
issue still available in 12.04 LTS -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/592434 Title: ssh -X user@machine hangs when using exit to terminate To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/592434/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs