OpenWindows Advanced User's Guide

A.2.1 The OPENWINHOME Environment Variable

If you are currently running a version of the OpenWindows software earlier than Version 3.3, you may have set up your system to use the OPENWINHOME environment variable. It is no longer recommended that users set the OPENWINHOME environment variable, either by-hand or from a start-up file.

When you run the openwin command it automatically sets the OPENWINHOME environment variable to /usr/openwin; therefore, you do not need to do it.

If you have set the OPENWINHOME environment variable in either the .profile or .cshrc file in your home directory, comment out the line or delete it altogether before running OpenWindows Version 3.3, or later versions.

To remove, or comment out, the OPENWINHOME environment variable in the .profile or .cshrc file:

  1. Open the .profile or .cshrc file using a text editor such as vi.

  2. Type a pound sign (#) before the variable, as shown below, or delete the line entirely.

    If you are working in the .profile file, use example a; if you are working in the .cshrc file, use example b

    1. In the .profile file:

      #OPENWINHOME=/usr/openwin
      

    2. In the .cshrc file:

      #setenv OPENWINHOME /usr/openwin
      

  3. Save and quit the file.