xpra icon
Bug tracker and wiki

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

Opened 5 years ago

Last modified 16 months ago

#1684 new defect

proxy instance fd pass-through

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: future
Component: android Version: trunk
Keywords: Cc:


When we start the server from the proxy, we shouldn't need to start a proxy instance: we could just pass the existing socket connection to the new server subprocess.
This will make the connection much quicker and efficient.


  • new command line argument: --socket-fd, does the new server need to dup() the fd?
  • hard to re-inject the hello packet, maybe we'll need some sort of secondary channel to send it. Use the regular unix socket with a domain specific message type for that? ie: socket-fd-hello fd hellopacketdata
  • will ping packets cause problems if we are slow to start?
  • make sure we close the fd from the proxy side after the handover
  • we may lose the ability to do hardware accelerated encoding since the proxy may have higher privileges - so maybe there should be an option to enable this

See also #1680.

Change History (2)

comment:1 Changed 4 years ago by Antoine Martin

Milestone: 3.0future


comment:2 Changed 16 months ago by migration script

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

Note: See TracTickets for help on using tickets.