NICE Desktop Cloud Visualization
Administrator Guide

Post-Installation Checks

This topic provides some post-installation checks that you should perform after installing NICE DCV to ensure that your NICE DCV server is properly configured.

Ensure the NICE DCV Server is Reachable

By default, the NICE DCV server is configured to communicate over port 8443. Ensure that the server is reachable over this port. If you have a firewall that prevents access over port 8443, you must change the port over which the NICE DCV server communicates. For more information, see Changing the NICE DCV Server TCP Port.

Ensure that the X Server is Accessible

You must ensure that NICE DCV console and virtual sessions can access the X server.

Console Sessions

When the NICE DCV server is installed, a dcv user is created. You must ensure that this user can access the X server.

To verify that the dcv user can access the X server

Run the following command:

$ sudo DISPLAY=:0 XAUTHORITY=$(ps aux | grep "X.*\-auth" | grep -v grep | awk -F"-auth " '{print $2}' | awk '{print $1}') xhost | grep "SI:localuser:dcv$"

If the command returns SI:localuser:dcv, the dcv user can access the X server.

If the command does not return SI:localuser:dcv, the dcv user does not have access to the X server. Run the following commands to restart the X server:

  • RHEL 7.x, CentOs 7.x, Amazon Linux 2, Ubuntu 18.x, and SUSE Linux Enterprise 12.x

    $ sudo systemctl isolate multi-user.target
    $ sudo systemctl isolate graphical.target
  • RHEL 6.x and CentOs 6.x

    $ sudo init 3
    $ sudo init 5

Virtual Sessions

If you installed the DCV GL package, you must ensure that local users can access the X server. This ensures that OpenGL hardware acceleration works correctly with virtual sessions.

To verify that local users can access the X server

Run the following command:

$ sudo DISPLAY=:0 XAUTHORITY=$(ps aux | grep "X.*\-auth" | grep -v grep | awk -F"-auth " '{print $2}' | awk '{print $1}') xhost | grep "LOCAL:$"

If the command returns LOCAL:, local users can access the X server.

If the command does not return LOCAL:, local users do not have access to the X server. Run the following commands to restart the X server, and to disable and re-enable DCV GL:

  • RHEL 7.x, CentOs 7.x, Amazon Linux 2, Ubuntu 18.x, and SUSE Linux Enterprise 12.x

    $ sudo systemctl isolate multi-user.target
    $ sudo dcvgladmin disable
    $ sudo dcvgladmin enable
    $ sudo systemctl isolate graphical.target
  • RHEL 6.x and CentOs 6.x

    $ sudo init 3
    $ sudo dcvgladmin disable
    $ sudo dcvgladmin enable
    $ sudo init 5

Verify that DCV GL is Properly Installed

The dcvgldiag utility is automatically installed when you install the DCV GL package. You can use this utility to check that the Linux server configuration meets the DCV GL requirements.

To run the dcvgldiag utility

Use the following command:

$ sudo dcvgldiag

The utility returns a list of warnings and errors, along with the possible solutions.