You can configure environment variables in Dynamic Environment Manager to control the behavior of the screen-capture blocking feature on specific Linux desktops.


Configure Environment Variables in Dynamic Environment Manager

Use the following steps to the configure environment variable that defines the settings for screen-capture blocking on a Linux desktop.

  1. In the Dynamic Environment Manager Management Console, click the User Environment tab and then select Environment Variables.

    Existing environment variable definitions, if any, appear in the Environment Variables pane.

  2. To create a new environment variable, click Create.
  3. Click the Settings tab and define the environment variable settings.
    1. In the General Settings section, enter a name for the settings definition in the Name text box.
    2. In the Environment Variable Settings section, enter the variable name and value exactly as described below. Each environment variable maps to a corresponding configuration option in the /etc/vmware/viewagent-custom.conf file. The environment variable settings take priority over the settings in /etc/vmware/viewagent-custom.conf.
      Environment variable Corresponding option in /etc/vmware/viewagent-custom.conf Value/format of variable Default Description
      BLOCK_SCREEN_CAPTURE_ENABLE BlockScreenCaptureEnable

      FALSE: Deactivate

      TRUE: Enable

      FALSE Enable/Deactivate Block Screen Capture. Default is FALSE
  4. Add the conditions required to use the environment variable with remote Linux desktops.
    1. Select the Conditions tab, click Add, and select the condition that you want to configure.

      For detailed information about configuring supported conditions and condition values, see Adding Conditions to Horizon Smart Policy Definitions and Environment Variable Definitions.

    2. To add more conditions after configuring the first condition, click Add again.

      The AND operator is added by default to combine the conditions.

  5. To save the environment variable, click Save.
Note: After saving your new or updated environment variable in a high-latency network, wait at least a minute while Dynamic Environment Manager finishes processing the changes before you make the affected desktops available to your end users.