Xpra: Ticket #868: expose url when connecting from html5 client

For example if one was to call

http://xpra.server:10000?debug=1&encoding=x264

It would be nice if we could get the full url from the client and store it which we could retrieve via

xpra info



Thu, 21 May 2015 23:40:45 GMT - Smo: description changed


Fri, 22 May 2015 01:37:53 GMT - Antoine Martin: status changed

I'll add a "hello" key so the client can forward its command line (probably "argv"), then we can expose it via xpra info. That will be useful for the regular client too.


Fri, 22 May 2015 05:28:54 GMT - Antoine Martin: owner, status changed

Done for the python client in r9473:

$ xpra info | grep argv=
client.argv=('/usr/bin/xpra', 'attach')
server.argv=('/usr/bin/xpra', 'start', ':10', '--bind-tcp=0.0.0.0:10000', '--start-child=xterm')

The client just added a new key to the hello packet named "argv".

Done for the html5 client in r9474:

$ xpra info | grep client.argv=
client.argv=('http://localhost:10000/?foo=bar/',)

It seems that the html5 client added a trailing slash to the URL I typed in. Maybe that's a bug, or a feature.


Thu, 17 Sep 2015 17:13:14 GMT - Smo: status changed; resolution set

Not sure about the trailing slash will reopen if necessary otherwise working as expected.


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

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