Enable the Remote Desktop Protocol (RDP)
See the requirements for Remote Desktop Protocol (RDP) activation and setup command lines.
To enable the RDP for the containerized Runtime, make sure that the host running the Docker containers has an active X11 server and a display that allows user interaction. These requisites allow you to obtain the necessary values that are assigned to
RDP_DISPLAY
and RDP_XAUTHORITY
:
- RDP_DISPLAY: To retrieve the host display for the Remote Desktop with which the user is interacting, run the following command as a standard user:
echo $DISPLAY
.Note: This operation stores the value in theRDP_DISPLAY
variable. - RDP_XAUTHORITY: Since the standard user is permitted to communicate with the X11 server for host display interaction, an exclusive .Xauthority file is automatically generated. To obtain the file path and allow the Setuphost container to authorize the Runtime container for secure interaction with the X11 server, run the following command as a standard user:
echo $XAUTHORITY
.Note: This operation stores the value in theRDP_XAUTHORITY
variable.