Solaris Common Desktop Environment: Advanced User's and System Administrator's Guide

Setting Up the CDE Environment Outside the CDE Desktop

Environment variables used by your Solaris CDE applications can be set up outside the CDE desktop. For example, you may want to log in to a remote workstation and display a CDE application back to your workstation. Use the CDE utility dtsearchpath to set up various CDE shell environment variables.

For Bourne and Korn shells, type the following command:

	eval `/usr/dt/bin/dtsearchpath`

For C shell, type the following command:

	eval `/usr/dt/bin/dtsearchpath -c`

You could follow this command by setting DISPLAY back to the local workstation and then running the CDE application remotely. The results will be displayed on the local workstation.


Note -

In this example, the Bourne and Korn shell dtsearchpath syntax is part of the CDE sample implementation available on all platforms running CDE. However, the C shell (-c) option is only available on a Sun platform.