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 Version 15 and Version 16 of Network


Ignore:
Timestamp:
04/18/16 06:48:24 (5 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Network

    v15 v16  
    1313{{{#!div class="box"
    1414== Types of connections ==
    15 Xpra supports 3 main types of connections:
    16 * '''unix domain socket''' connections. From the same machine only - potentially as a different user. This is obviously restricted to Unix like systems. When using this type of direct connection locally, you should also be using "{{{mmap}}}" for maximum speed (which should be enabled by default). For connecting to a different user, you may need to use the "{{{socket-dir}}}" option to place the socket in a public location, and maybe also "{{{mmap-group}}}" to make the socket accessible to other users.
     15Xpra supports many different types of connections:
     16* '''unix domain socket''' connections using the {{{bind}}} option. From the same machine only - potentially as a different user. This is obviously restricted to Unix like systems. When using this type of direct connection locally, you should also be using "{{{mmap}}}" for maximum speed (which should be enabled by default). For connecting to a different user, you may need to use the "{{{socket-dir}}}" option to place the socket in a public location, and maybe also "{{{mmap-group}}}" to make the socket accessible to other users.
    1717 When starting a server, a socket is automatically created for it by default.
     18* '''named-pipes''': experimental in version 0.17, MS Windows only
     19* '''VSOCK''' using the {{{bind-vsock}}} option, for host - guest virtual machines connections, see #983
    1820* '''TCP''' connections using the "{{{bind-tcp}}}" option. May be specified more than once to bind to multiple ports or IPs, supports {{{IPv6}}}. These can be secured with [/wiki/Authentication authentication modules], in which case you probably want to enable [/wiki/Encryption encryption] too to prevent some MITM attacks.
    1921* '''SSH''' connections: this type of connection uses a SSH as transport to connect to the unix domain socket. (forwarded using the hidden xpra sub-command "_proxy").
     
    2123}}}
    2224
     25{{{#!div class="box"
     26== Examples ==
     27
     28||=Socket Type=||=Server Start Command Line Arguments=||=Client Command Line Argument=||
     29||unix ||--bind=/path/to/socket ||socket:/path/to/socket ||
     30||named-pipes||n/a||named-pipe:name ||
     31||vsock ||--bind-vsock=auto:1234 ||vsock:host:1234 ||
     32||TCP ||--bind-tcp=0.0.0.0:2345 ||tcp:127.0.0.1:2345 ||
     33||SSH ||n/a ||ssh:HOST ||
     34
     35The server arguments can be used with any server ("xpra start", "xpra shadow", "xpra upgrade", ..) and likewise the client arguments can be used with any client ("xpra attach", "xpra info", "xpra version", etc).
     36Beware that some protocols are platform specific (unix vs named-pipes).
     37The named-pipes and unix domain sockets currently available can be listed using "xpra list".
     38}}}
    2339
    2440{{{#!div class="box"