c. Connect to Remote Desktop Session

In this section, you connect to your DCV Remote Desktop Session using a web browser client or native NICE DCV Client.

Connect using a Web Browser

When you connect make sure you use the https protocol to ensure a secure connection.

  1. Make sure you are using a supported web browser
  2. Use the secure URL, NICE DCV server Public IP address or Public DNS Name, and correct port (8443) to connect.
  3. Use the following command to list running instances and display their names, type, private IP address, Public IP address and Public DNS Name. Here, the information is filtered to only keep certain details (hence the complex command). The same information is displayed on the EC2 Dashboard.

    aws ec2 describe-instances --query 'Reservations[*].Instances[*].[Tags[?Key==`Name`]| [0].Value,InstanceType, PrivateIpAddress, PublicIpAddress, PublicDnsName]' --filters Name=instance-state-name,Values=running --output table  

    DCV Connect

  4. Open your web browser and enter the NICE DCV server URL in the following format: https://PublicDNSname:port/#mysession

We will use the Public DNS name and connect over port 8443 as setup while creating the NICE DCV server instance.

##Remember to use your OWN PublicDNS name
https://ec2-3-82-53-238.compute-1.amazonaws.com:8443/#dcvdemo
  1. Enter your user name and password that you setup for the NICE DCV Server instance and choose Login.

  2. Open a Terminal and run a sample visual application dcvgltest from the NICE DCV package

Connect using NICE DCV Client

  1. Download and install the DCV Client

  2. Use the Public IP address or Public DNS Name, and correct port (8443) to connect

  3. You can obstain the Public IP address or Public DNS Name for the NICE DCV Server instance either from the EC2 Dashboard or using the aws cli command used above

  4. Open the DCV Client and connect. In the below example, we connect using the Public IP address

DCV Connect

  1. Enter your user name and password that you setup for the NICE DCV Server instance and choose Login

DCV Connect

  1. Login and stream your graphics application.

You can run a DCV Test GL application, Go to ApplicationsOtherDCV GL Test Application DCV Connect

You should see this: DCV Connect