Xpra: Ticket #886: OSX GUI won't connect (password box issue)

In trying to connect to a FreeBSD server with the OSX client (both the one on the main page and the r9554 development build)...

If I launch the client manually via a terminal window, it works/connects fine.

If I try to fill in the connection info in the GUI, it connects fine assuming I leave the password box blank and the password prompt appears in a terminal window.

If I try to launch the client via the GUI from /Applications no matter what I try the connection fails.

As you can see from the screenshots this appears to be an issue with the authentication method?



Tue, 09 Jun 2015 00:39:27 GMT - rnc01: attachment set


Tue, 09 Jun 2015 00:39:45 GMT - rnc01: attachment set


Tue, 09 Jun 2015 00:43:44 GMT - rnc01:

The first screenshot is a SSH connection by leaving the password box blank, launching the GUI by /Applications/Xpra.app/Contents/MacOS/Xpra_Launcher

The second screenshot is an attempt to fill the password into the password box in the GUI, also launching the GUI by /Applications/Xpra.app/Contents/MacOS/Xpra_Launcher


Tue, 09 Jun 2015 08:15:47 GMT - Antoine Martin: priority, status, component changed

Ah, it looks like we do a double authentication attempt: the password is handed over to ssh (via an ugly askpass hack) and then also to the remote end. The server then bounces the connection because no authentication is required.

Will fix.


Tue, 16 Jun 2015 16:50:01 GMT - Antoine Martin: owner, status changed

r9640 changes the disconnection to a simple warning, backports to v0.14.x and v0.15.x in r9641.

I had tried to do something more complicated to try to ensure we only pass the password once (either to ssh or in the hello packet but never both), but the code got messy - and this is still safe.

@rnc01: does that work for you?


Tue, 16 Jun 2015 17:21:12 GMT - rnc01:

I'll give it a shot and let you know but will be a few days, I'm out of town and the machines in question are firewalled to local traffic only.


Tue, 21 Jul 2015 04:19:24 GMT - Antoine Martin: status changed; resolution set

Not heard back, I assume this is fixed - feel free to re-open if that's not the case.

The change was included in 0.14.26 and 0.15.1


Sat, 23 Jan 2021 05:08:50 GMT - migration script:

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