xpra icon
Bug tracker and wiki

#1915 closed defect (invalid)

xpra tries to login to SSH without a password and hang

Reported by: Antonello Lobianco Owned by: Antonello Lobianco
Priority: major Milestone: 2.4
Component: client Version: 2.3.x
Keywords: Cc:

Description (last modified by Antoine Martin)

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:[email protected] --start=xterm
xpra attach --ssh="ssh -p 54100" ssh:[email protected]

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

xpra try to login to the server without the password:

[email protected]'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.
[email protected]'s password:


And from there I can login normally.

Change History (2)

comment:1 Changed 12 months ago by Antoine Martin

Description: modified (diff)
Milestone: 2.4
Owner: changed from Antoine Martin to Antonello Lobianco

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:[email protected]) or use ssh keys.

comment:2 Changed 12 months ago by Antonello Lobianco

Resolution: invalid
Status: newclosed

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

Note: See TracTickets for help on using tickets.