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 12 and Version 13 of Usage/Docker


Ignore:
Timestamp:
12/20/15 06:11:11 (6 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Usage/Docker

    v12 v13  
    4242If the hostname is different inside the container, you will need one of those workarounds:
    4343* symlink or bind mount the server's unix domain socket if that's what you want to use to connect
    44 * override the hostname used with the environment variable {{{XPRA_SOCKET_HOSTNAME}}}, ie:
    45 {{{
    46 XPRA_SOCKET_HOSTNAME=myhostname xpra attach
    47 }}}
    48 * starting with version 0.15.3, you can connect to a unix domain socket by path using:
     44* you can connect to a specific unix domain socket by path using:
    4945{{{
    5046xpra attach socket:/path/to/yourcontainers/socket
    5147}}}
     48For older versions, you can override the hostname used with the environment variable {{{XPRA_SOCKET_HOSTNAME}}}, ie: {{{XPRA_SOCKET_HOSTNAME=myhostname xpra attach}}}
     49
     50
     51----
    5252
    5353In order to be able to use {{{mmap}}} acceleration, the server expects to find the mmap file in the exact same path that the client used to create it. So you must ensure that the path to the mmap file (by default found in {{{$TMPDIR}}}) is the same on the host and in the container. (again, bind mounting a directory solves this problem)