You can configure environment variables in Dynamic Environment Manager to control the behavior of the screen-capture blocking feature on specific Linux desktops.
Prerequisites
- Install and configure Dynamic Environment Manager. See Installing Dynamic Environment Manager and Configuring Dynamic Environment Manager.
- Enable the DEMEnable option and configure the DEMNetworkPath option in the /etc/vmware/viewagent-custom.conf file. See Setting Options in Configuration Files on a Linux Desktop.
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.
- 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.
- To create a new environment variable, click Create.
- Click the Settings tab and define the environment variable settings.
- In the General Settings section, enter a name for the settings definition in the Name text box.
- 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
- Add the conditions required to use the environment variable with remote Linux desktops.
- 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.
- To add more conditions after configuring the first condition, click Add again.
The AND operator is added by default to combine the conditions.
- Select the Conditions tab, click Add, and select the condition that you want to configure.
- 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.