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: Hideyuki Nagase <hideyukn@microsoft.com> Co-authored-by: Steve Pronovost <spronovo@microsoft.com> Signed-off-by: Hideyuki Nagase <hideyukn@microsoft.com> Signed-off-by: Steve Pronovost <spronovo@microsoft.com> Signed-off-by: Brenton DeGeer <brdegeer@microsoft.com>
This commit is contained in:
committed by
Derek Foreman
parent
13e62c9d18
commit
2f9319cef6
@@ -59,6 +59,12 @@ to ship a file containing a certificate.
|
||||
\fB\-\-rdp\-tls\-cert\fR=\fIfile\fR
|
||||
The file containing the certificate for doing TLS security. To have TLS security you also need
|
||||
to ship a key file.
|
||||
.TP
|
||||
\fB\-\-external\-listener\-fd\fR=\fIfd\fR
|
||||
Specifies a file descriptor inherited from the process that launched weston
|
||||
to be listened on for client connections. Only local (such as AF_VSOCK)
|
||||
sockets should be used, as this will be considered to be a local connection
|
||||
by the RDP backend, and TLS and RDP security will be bypassed.
|
||||
|
||||
|
||||
.\" ***************************************************************
|
||||
|
||||
Reference in New Issue
Block a user