ssh -X user@machine hangs when using exit to terminate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
D-Bus |
Unknown
|
Wishlist
|
|||
dbus (Debian) |
New
|
Unknown
|
|||
dbus (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Bug Description
ssh -X user@server hangs when using exit to terminate
Steps to reproduce:
user@client:~$ ssh -X user@server
user@server:~$ gedit
At this point gedit from server will run locally. Closing the program and returning to the terminal you run:
user@server:~$ exit
logout
At this point the terminal hangs on the echo logout, but does not return to the client prompt. The action has been consistent when connecting to a server running opensolaris or ubuntu 8.04.
The client is using Ubuntu 10.04 and the server is using 8.04, and using default password authentication. As you will see in the video attached I can confirm the issue when using a clean Ubuntu 10.04 as a client and Ubuntu 8.04 as the server, using default password authentication.
Workaround
----------
-When logging out with "exit" and it hangs, press Ctrl-C
-If you would like to simply use gedit on another computer use the following command:
$ dbus-launch gedit
Date: Thu Jun 10 17:34:26 2010
description: | updated |
Changed in openssh (Ubuntu): | |
status: | New → Confirmed |
affects: | openssh (Ubuntu) → dbus (Ubuntu) |
Changed in dbus: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
description: | updated |
description: | updated |
Changed in dbus (Debian): | |
status: | Unknown → New |
Changed in dbus: | |
importance: | Medium → Wishlist |
status: | Confirmed → Unknown |
Although probably not important but it is irritating. I ran ssh in verbose mode found the following difference between normal exit and 'ssh -X' exit when reproducing:
Exit from 'ssh -vX' after running gvim and closing it:
logout
debug1: channel 0: free: client-session, nchannels 3
Exit from 'ssh -v':
logout
debug1: channel 0: free: client-session, nchannels 1
Connection to funny.local closed.
Transferred: sent 3552, received 3448 bytes, in 1.8 seconds
Bytes per second: sent 1968.9, received 1911.2
debug1: Exit status 0