OpenWindows Advanced User's Guide

1.6 Starting the OpenWindows User Environment

To start the OpenWindows user environment you perform the following general steps:

  1. Using NFS, mount the OpenWindows software from the server on which it is installed.

    For information on how to mount the OpenWindows software from a server, see OpenWindows Desktop Reference Manual, or talk to your system administrator.

  2. Start the OpenWindows software with the command openwin, adding any additional start-up options as needed.

1.6.1 Displaying the OpenWindows Software

Once you have mounted the OpenWindows software from a server and run the OpenWindows installation script you are ready to start the OpenWindows software.

To start the OpenWindows software, type /usr/openwin/bin/openwin at the shell prompt and press Return.

$ /usr/openwin/bin/openwin

This displays the OpenWindows Version 3.3 screen and sets up the OpenWindows working environment.

1.6.1.1 Displaying OpenWindows Quickly

Once you have successfully started OpenWindows, you can set up your system to use a shortcut so that you do not need to type the full OpenWindows path each time.

If you are using the Bourne or Korn shells you do this by placing a shell function in your .profile file. If you are using the C shell you put an alias in your .cshrc file. Both the .profile and .cshrc files are found in your home directory.

When you have placed the shortcut in the appropriate file for your shell, to start OpenWindows simply type:

$ openwin

How to enter the OpenWindows shortcut into your start-up files is described in the following sections, "In the .profile File", and "In the .cshrc File".

In the .profile File

To enter the OpenWindows shortcut into your .profile file:

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

  2. Enter the following shell function, exactly as shown, into the file:

    openwin () {
             /usr/openwin/bin/openwin
    }
    

  3. Save and quit the file.

  4. Log out and log back in to activate the shortcut, or type:

    $ . .profile
    

Now, whenever you want to start OpenWindows, you simply have to type openwin.

In the .cshrc File

To enter the OpenWindows shortcut into your .cshrc file:

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

  2. Enter the following alias command, exactly as shown, into the file:

    alias openwin /usr/openwin/bin/openwin
    

  3. Save and quit the file.

  4. Log out and log back in to activate the shortcut, or type:

    example% source .cshrc
    

Now, whenever you want to start OpenWindows, you simply have to type openwin.

1.6.2 If OpenWindows Won't Display

When you start the OpenWindows software it is accessed through the directory /usr/openwin. The OpenWindows software is installed in this location by default. Many applications, for example Calendar Manager, cannot load unless the OpenWindows software is properly installed in /usr/openwin.

If your OpenWindows does not start when you type the command /usr/openwin/bin/openwin, either you do not have the OpenWindows software installed, or it is installed in a directory other than /usr/openwin. See the OpenWindows Desktop Reference Manual, or see your system administrator.