Uninstalling the Amazon DCV Server - Amazon DCV

Uninstalling the Amazon DCV Server

The following topic describes how to uninstall the Amazon DCV server.

Uninstalling the Amazon DCV Server on Windows

To uninstall the Amazon DCV server on Windows
  1. Using an RDP client, connect to the Amazon DCV server as the administrator.

  2. Ensure that there are no running Amazon DCV sessions. Use the dcv list-sessions Amazon DCV command to check for any running sessions. If there are running sessions, use the dcv close session Amazon DCV command to stop them.

  3. After you confirm that there are no running sessions, stop the Amazon DCV server. For more information, see Stopping the Amazon DCV Server.

  4. Open the Windows Settings application and navigate to the Apps & Features panel.

  5. Select Amazon DCV server and then press Uninstall.

  6. (Optional) You might also want to remove any log files that were generated by the Amazon DCV server. After the uninstallation is complete, navigate to C:\ProgramData\NICE\dcv\ and delete the log folder.

Uninstalling the Amazon DCV Server on Linux

The Amazon DCV server is installed using a series of RPM or .deb packages, depending on your host server's operating system.

Note

You must be signed in as the root user to uninstall the Amazon DCV server.

To uninstall the Amazon DCV server on Linux
  1. Ensure that there are no running Amazon DCV sessions. Use the dcv list-sessions Amazon DCV command to check for any running sessions. If there are running sessions, use the dcv close session Amazon DCV command to stop them.

  2. After you confirm that there are no running sessions, stop the Amazon DCV server. For more information, see Stopping the Amazon DCV Server.

  3. Uninstall the Amazon DCV server packages. Depending on how you performed the installation, some of the packages might not be installed on your system and can be omitted from the command. For a list of optional packages, see Installing the Amazon DCV Server on Linux.

    Amazon Linux 2 and RHEL, CentOS
    $ sudo yum remove nice-dcv-server nice-xdcv nice-dcv-gl nice-dcv-gltest nice-dcv-simple-external-authenticator
    SLES 12.x/15.x
    $ sudo zypper remove nice-dcv-server nice-xdcv nice-dcv-gl nice-dcv-gltest nice-dcv-simple-external-authenticator
    Ubuntu 22.04
    $ sudo apt remove nice-dcv-server nice-xdcv nice-dcv-gl nice-dcv-gltest nice-dcv-simple-external-authenticator
  4. (Optional) You might also want to remove any log files that were generated by the Amazon DCV server. After the uninstallation is complete, navigate to /var/log and delete the dcv folder.