RDP Target Configuration
RDP targets provide access to remote desktops and applications using Remote Desktop Protocol (RDP). This article describes configuring RDP services and account access in PrivX, including connections to Microsoft Remote Desktop Services (RDS) deployments.
For general information on adding hosts and configuring accounts, see Setting Up Hosts.
General RDP Configuration
Adding RDP Targets
Start with the host information and options described in Adding Hosts. Then configure the RDP service and account settings below.
To allow connections to RDP hosts, add a host entry with the following considerations:
-
Under Service, add a new service with the RDP type and specify the address and the port of the RDP server on the host.
-
Expand Additional Settings and configure the options relevant to your connection:
-
Specify the minimum and maximum TLS versions accepted for the connection, if needed.
-
Enable Use legacy cipher suites if the target requires legacy cipher suites for RDP connections.
-
Set RDS Type according to the target:
- For a regular RDP target, leave RDS Type set to None. This includes Linux hosts running GNOME’s built-in remote desktop server, even when GNOME Remote Login redirects the connection.
- For an RDS deployment, select Load Balancer or Broker and complete the corresponding configuration described in RDS Configuration.
-
Enable the Justification option if you want to require users to provide a justification before connecting to a host service. For configuration instructions, see Connection Justification.
-
-
Under Accounts, specify which PrivX roles can access the host and which target accounts they can use.
- Enable Notify about ongoing session to warn users when PrivX detects an ongoing RDP connection using the same account and target address. For behavior and limitations, see Warning Users About Ongoing RDP Sessions.
- Under Allowed Service Options, restrict the features available to each account. PrivX enables all service options by default. You can change the default values in Administration → Settings → Host Store.
- Under Windows Applications, specify the applications that users can access. Configure the target Windows host to allow the specified applications over RDP.
-
Save the host configuration.
When you reconnect to an RDP target, PrivX remembers the host certificate you previously accepted. If the target presents a different certificate, PrivX prompts you to verify it.
For browser-based RDP connections, you can also configure Enable RDPGFX in Administration → Settings → RDP Proxy. We recommend this setting for RDP connections to Linux hosts running GNOME’s built-in remote desktop server. RDPGFX can improve rendering performance but increases memory consumption and session-recording storage requirements. For configuration instructions and resource considerations, see Planning Resources for RDPGFX Connections.
Warning Users About Ongoing RDP Sessions
When multiple users share an RDP account, starting a new connection might terminate an ongoing session. PrivX can warn users about the ongoing session and allow them to abort or continue the new connection attempt.
To enable the warning:
- In Administration → Hosts, select the target host.
- Under Accounts, select Notify about ongoing session to enable the ongoing-session warning for the target account.
- Save the host.
When a user starts an RDP connection with this account, PrivX checks for an established RDP connection that uses the same account and target address. If PrivX detects an ongoing connection, it prompts the user to choose whether to continue:
- If the user does not continue, PrivX aborts the new connection attempt.
- If the user continues, PrivX sets up the new connection normally. Depending on the RDP environment, if the new connection is established, the target RDP environment might terminate the ongoing session.
PrivX does not enforce a single RDP session for the account. PrivX detects established sessions but it does not detect other connections that are still being established. If multiple users choose to continue, PrivX attempts to establish all their connections. The final outcome depends on connection timing and the configuration of the target RDP environment.
This setting applies only to RDP connections and is designed primarily for explicit accounts shared by multiple users. Directory accounts typically map each PrivX user to a personal target account, so the setting is generally not useful for directory accounts.
Limitations of RDP Ongoing-Session Detection
- PrivX compares usernames and target addresses exactly as specified. It does not recognize different formats of the same username, such as
user@example.comandDOMAIN\user, as the same account. - PrivX also does not recognize an FQDN and its corresponding IP address as the same target. For example, PrivX treats connections to
example.comand its IP address as connections to different targets.
Configuring Certificate Authentication
For directory users connecting with their personal Windows domain accounts, you can configure RDP certificate authentication. This allows the Windows domain to authenticate connections using certificates issued by PrivX. For prerequisites and instructions for configuring certificate trust in the Windows domain, see RDP Certificate Authentication.
RDS Configuration
Microsoft Remote Desktop Services (RDS) provides Windows desktops and applications to remote users over RDP. RD Session Hosts run user desktops and applications. An RD Connection Broker manages connections to session hosts and reconnects users to existing sessions.
PrivX supports connections to RDS deployments through a load balancer or an RD Connection Broker. The following instructions describe configuring PrivX to access an existing RDS deployment. For information about RDS components and deployment options, see Microsoft's Remote Desktop Services overview.
Choose the configuration that matches the connection entry point in your deployment:
- Load Balancer: Configure the load balancer's address and port.
- Broker: Configure the RD Connection Broker's hostname and port, and specify the target collection.
Configuring RDS Connections Through Load Balancer
Use this configuration when the connection entry point for your RDS deployment is a load balancer.
-
In Administration → Hosts, add a host or edit an existing host.
-
Add an RDP service and configure the following settings:
Setting Value Type Select RDP. Address Enter the RDS load balancer's address. Port Enter the RDS load balancer's port. RDS Type Select Load Balancer. Max Session Hosts Enter the maximum number of session hosts behind the load balancer. The Max Session Hosts value counts toward your PrivX license's Max Hosts limit. When an RDS target is no longer needed, remove its associated host entry from PrivX to release the reserved host count. Expiration or removal of the RDS-farm feature from the PrivX license does not automatically release host counts reserved by existing RDS targets. -
Add Accounts to specify which PrivX roles can access the target and which target accounts they can use. For account types, see Account Types.
-
Save the host.
To view the session hosts associated with this RDS service and manage their certificates, select Manage Session Hosts Certificates.
Session Host Redirection
PrivX supports connections through RDS-aware load balancers such as Kemp LoadMaster. If PrivX connects to the load balancer, select Load Balancer as the RDS Type, even if the RDS deployment also uses an RD Connection Broker.
When a user reconnects to an existing session, the connection can follow these steps:
- The load balancer directs PrivX to an RD Session Host according to its load-balancing rules.
- If the user's existing session is on a different host, the first session host redirects PrivX to the host running that session.
- PrivX follows this second redirection so the user can resume the existing session.
During session host redirection, PrivX may prompt you to verify two certificates if it has not yet stored either host's certificate. One belongs to the host selected by the load balancer and the other to the host running your existing session. Accept each certificate only after verifying that it belongs to the expected host.
Configuring RDS Connections Through RD Connection Broker
Use this configuration when connecting through an RD Connection Broker. Specify the collection that users should access through the PrivX service.
-
In Administration → Hosts, add a host or edit an existing host.
-
Add an RDP service and configure the following settings:
Setting Value Type Select RDP. RDS Type Select Broker. Broker Hostname Enter the RD Connection Broker's hostname. Broker Port Enter the RD Connection Broker's port. Max Session Hosts Enter the maximum number of session hosts behind the broker. The Max Session Hosts value counts toward your PrivX license's Max Hosts limit. When an RDS target is no longer needed, remove its associated host entry from PrivX to release the reserved host count. Expiration or removal of the RDS-farm feature from the PrivX license does not automatically release host counts reserved by existing RDS targets. Collection Name Enter the name of the collection configured in the RDS deployment. -
Configure the service address for the connection route:
- For direct connections, PrivX connects directly to the RD Connection Broker. The combination of service type, address, and port must be unique.
- For connections through a PrivX Extender, prefix the service address with the Extender name. For address syntax and routing instructions, see Proxying Connections.
-
Add Accounts to specify which PrivX roles can access the target and which target accounts they can use. For account types, see Account Types.
-
Save the host.
To view the session hosts associated with this RDS service and manage their certificates, select Manage Session Hosts Certificates.