xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Initial Version and Version 1 of Ticket #1022, comment 14


Ignore:
Timestamp:
09/11/19 04:27:25 (19 months ago)
Author:
Antoine Martin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1022, comment 14

    initial v1  
    1 Replying to [comment:13 Antoine Martin]:
    2 > Merged in r23767.
    3 > As of r23770, the client can also be told where to connect, instead of just expecting a server connection:
    4 > {{{
    5 > xpra listen --bind-tcp=0.0.0.0:10001
    6 > }}}
    7 > {{{
    8 > echo tcp://192.168.1.10:10000 | socat - TCP:localhost:10001
    9 > }}}
    10 > The client will print:
    11 > {{{
    12 > closing tcp socket 0.0.0.0:10001
    13 > connecting to tcp://192.168.1.10:10000
    14 > }}}
    15 > Then proceeds as if it had been started with {{{attach tcp://192.168.1.10:10000}}}.
    16 >
    17 >
    18 > Caveats:
    19 > * only the first connection will be used, after that the sockets are closed.
    20 > (so if the connection fails at that point, the client will just exit)
    21 > * the client doesn't do any socket wrapping, so tcp sockets can't be upgraded to ssl, ssh or ws(s).
    22 >
    23 > Will follow up in #2412
    24 >
    25 >
    261> @adarrab: does that work for you?
    272