Skip past navigation linksSecure Global Desktop Administration Guide > Applications, documents and hosts > Environment Variables (--env)

Environment Variables (--env)

Objects with this attribute

Object Manager

Attribute name Usage
Environment Variables In the box, set the environment variables you want, one on each line. Press Return to add new entries.

Command line

Command optionUsage
--env setting... Replace setting with an environment variable setting, of the form VARIABLE=value. To set more than one variable, use multiple --env arguments.

Description

This attribute specifies any environment variable settings needed to run the application. For example, you may need to set LD_LIBRARY_PATH to access shared libraries.

You should quote an environment variable setting with a value containing spaces.

Do not set the DISPLAY variable: the display is set automatically for each user.

Examples

Skip past command syntax or program code--env LD_LIBRARY_PATH=/usr/lib "MY_VARIABLE=603 1769"

Runs the application with two environment variables set.

Related topics