Xpra: Ticket #348: Unable to attach if SSH handshake or entering password takes > ~8 seconds.

0.9.4 is unable to attach to session if SSH handshake or entering password takes longer than ~8 seconds.

Perhaps 8 seconds is too short for (establishing) connection timeout while there shall be no timeout for password prompt.

See more

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710868 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710866



Mon, 03 Jun 2013 13:20:56 GMT - Antoine Martin: owner, status changed

(taken from the bug linked above)

To simulate SSH that takes a while to connect, create a file named "slowssh.bash" with the following contents and make it executable:

#!/bin/bash
sleep 15
exec /usr/bin/ssh "$@"

and use this with xpra --ssh=./slowssh.bash ssh:...


Tue, 04 Jun 2013 09:33:15 GMT - Antoine Martin: status changed; resolution set

should be fixed in r3561 - will backport to v0.9.x


Thu, 06 Jun 2013 08:36:01 GMT - Antoine Martin:

in v0.9.x as of r3591


Wed, 17 Jul 2013 06:27:25 GMT - Timo Juhani Lindfors: status changed; resolution deleted

This still occurs with 0.9.6+dfsg-1:

oregano:~$ xpra attach --ssh ./slowssh.bash ssh:lindi1:7
xpra client version 0.9.6
2013-07-17 06:26:04,694 connection closed after 0 packets received (0 bytes) and 1 packets sent (8264 bytes)
2013-07-17 06:26:04,696 Connection lost

Wed, 17 Jul 2013 06:41:12 GMT - Timo Juhani Lindfors: status changed; resolution set

Or hmm, ignore the previous comment, this must be a new bug that doesn't occur exactly in the same way, sorry for the noise...


Wed, 17 Jul 2013 08:10:21 GMT - Antoine Martin:

FWIW: just tested again, and this works fine with both trunk and the v0.9.x branch.

BTW, you can ensure your server is running the latest version with:

xpra version ssh:lindi1:7

Wed, 17 Jul 2013 08:14:38 GMT - Timo Juhani Lindfors:

It is, the bug of course occured only on unreliable 3G connection and I can't reproduce it with the slowssh.bash now when I'm at office.


Sat, 23 Jan 2021 04:52:23 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/348