Xpra: Ticket #1915: xpra tries to login to SSH without a password and hang

xpra v2.3.2-r19729 on Ubuntu 16.04 (both client and server)

Hello, when I run xpra start or xpra attach, e.g.:

xpra start --ssh="ssh -p 54100" ssh:lobianco@MYSERVER --start=xterm
xpra attach --ssh="ssh -p 54100" ssh:lobianco@MYSERVER

(54100 is my non-default SSH port on the server)

xpra try to login to the server without the password:

lobianco@MYSERVER's password: 2018-07-11 10:43:34,370  desktop size is 2960x1050 with 1 screen:

Obviously it doesn't work, but it even doesn't report me any error, it just hangs.. then if I press ENTER on the client console it gives me the error:

Permission denied, please try again.
lobianco@MYSERVER's password:

And from there I can login normally.

Wed, 11 Jul 2018 12:09:50 GMT - Antoine Martin: owner, description changed; milestone set

I don't think this is what is happening here. The ssh process is prompting you for the password, but the GUI is also printing the desktop size to stdout at the same time. If you enter your password at that point instead of hitting enter, it will work.

It's not pretty, but that's a limitation of sharing the tty with another process. The solution for this is #1646. In the meantime, you can also specify the ssh password on the command line (ie: xpra attach ssh://username:password@host) or use ssh keys.

Wed, 11 Jul 2018 12:33:57 GMT - Antonello Lobianco: status changed; resolution set

Thank you, setting this as invalid and closing it..

Sat, 23 Jan 2021 05:37:10 GMT - migration script:

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