Xpra: Ticket #1619: Can not specify password on client when using attach

Hi!

I create a session on the server:

xpra start :4 --start-child=firefox --exit-with-children --exit-with-client --bind-tcp=0.0.0.0:10001 --auth=password:value=temp

How do I specify the password "temp" on the client using "attach"? It turns out only if you save the password "temp" in the file "password.txt". And further on the client:

Xpra_cmd attach tcp:serverIP:10001 --password-file=./password.txt

Without creating a file with a password, you can not tell the password at once in the connection command? For example,

Xpra_cmd attach tcp:serverIP:10001 --password=temp

Tried everything, does not work. I tried on Xpra 2.1.1 and 2.0.3 for Windows (32 and 64 bit)



Wed, 09 Aug 2017 14:06:59 GMT - Antoine Martin: status changed; resolution set

Use the syntax:

xpra attach "tcp/username:password@host:port/"

Wed, 09 Aug 2017 14:18:29 GMT - Alexander:

Working! Thank you! My mistake was that I did not specify the login. Judging by the manuals on the site, the _login_ is not indicated anywhere when using TCP (SSH only).


Sat, 23 Jan 2021 05:29:17 GMT - migration script:

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