Secure Global Desktop Administration Guide > Applications, documents and hosts > Environment Variables (--env)

Environment Variables (--env)

Objects with this attribute

Usage

Object Manager Environment Variables In the box, set the environment variables you want, one on each line. Press Return to add new entries.
Command line --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

--env LD_LIBRARY_PATH=/usr/lib "MY_VARIABLE=603 1769"

Runs the application with two environment variables set.

Related topics