Skip to content
Commit 2f9319ce authored by Brenton DeGeer's avatar Brenton DeGeer Committed by Derek Foreman
Browse files

rdp: Allow specifying a listener fd on the command line



We already have a way for a single RDP client connection to be
passed from a parent process to a child using a combination
of environment variable (RDP_FD) and env var (--env-socket)

This patch allows a bound socket fd (as opposed to a client
connection) to be established in a parent process and provided
to the rdp backend. WSLg uses this to set up an AF_VSOCK
socket for communication between a Windows RDP client and a
weston compositor running under a hypervisor.

Co-authored-by: default avatarHideyuki Nagase <hideyukn@microsoft.com>
Co-authored-by: default avatarSteve Pronovost <spronovo@microsoft.com>
Signed-off-by: default avatarHideyuki Nagase <hideyukn@microsoft.com>
Signed-off-by: default avatarSteve Pronovost <spronovo@microsoft.com>
Signed-off-by: default avatarBrenton DeGeer <brdegeer@microsoft.com>
parent 13e62c9d
Loading
Loading
Loading
Pipeline #571930 passed with stages
in 2 minutes and 5 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment