Xpra: Ticket #2180: remote start does not enable video

xpra start ssh://localhost --start=xterm --mmap=no

Shows in the server log:

automatic picture encoding enabled, also available:
 png, png/P, png/L, webp, rgb24, rgb32, jpeg

No h264, vp8 or vp9..

The server got started by the ssh proxy as:

/bin/python3 /usr/bin/xpra start --mmap=no \
    --encodings=h264,vp9,vp8,mpeg4,mpeg4+mp4,h264+mp4,vp8+webm,vp9+webm,png,png/p,png/l,webp,rgb,rgb24,rgb32,jpeg,h265,jpeg2000,mpeg1,mpeg2 \
    --start=xterm \
    --env=XPRA_PROXY_START_UUID=5924ba14050b422d805f894f3a340fe2 \
    --daemon=yes --systemd-run=no --displayfd=5


Tue, 26 Feb 2019 14:58:14 GMT - Antoine Martin: status, description changed


Fri, 01 Mar 2019 12:15:51 GMT - Antoine Martin: description changed

Blocked by #2184, caused by #2341.


Sun, 03 Mar 2019 04:05:12 GMT - Antoine Martin:

I believe that this is likely caused by the threaded initialization: it is possible for the client to connect before the server's video codecs have been initialized:

    def threaded_setup(self):
        getVideoHelper().init()
        #re-init encodings now that we have video:
        self.init_encodings()

Maybe we should wait for the threaded initialization to complete before accepting clients?


Sun, 03 Mar 2019 09:35:30 GMT - Antoine Martin: status changed; resolution set

Fixed in r21937 - probably too intrusive to backport.

See also #2193


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

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