* Chapter 1 MAE 2.0 - Installing and Getting Started - Chapter 2 Chapter 3 *

2. Starting and Quitting MAE

This chapter introduces you to MAE and describes the following:

Starting MAE

This section tells you how to start MAE from a command prompt in an
X window.

Before you start MAE, make sure that you know which directory contains the mae program. If you installed MAE according to instructions presented in Chapter 1 of this guide, the mae program is in the apple/bin directory, which is in the location specified during installation.

IMPORTANT If you installed MAE while logged in as root, log in as an ordinary user to start MAE. Do not start MAE with superuser privileges.

To start MAE:

  1. Open a terminal emulator window.

  2. Enter the pathname of the mae program.

    For example, if mae is located in the apple/bin subdirectory of your home directory, and you are currently in your home directory, enter apple/bin/mae at the command prompt.

An X window appears on your screen and displays MAE copyright information. After several moments, the MAE window appears.

Using command line options

You can include command options with the mae command. The following table lists a few of the available options. For a more complete list of command-line options, see Appendix C in MAE User's Guide, which also contains a list of the corresponding X resources. (X resources are described in MAE System Administrator's Guide, Chapter 2.)

Some of the options available for the mae command

Command option Description
-help Display all the available command options for MAE.
-appledir directorypath Specify the location of the apple directory. The default is the directory in which the MAE package was installed.
-display display Specify the X display server on which you want MAE to appear. The default is specified by the DISPLAY environment variable.
-memory memorysize Specify the memory size for applications within MAE (in MB). The default is 8 MB.
-noextensions Disable Macintosh system extensions (has the same effect as holding down the Shift key while booting a Macintosh computer).
See the mae manual page or consult your system administrator for more information.

Using manual pages

There are two ways to display the mae manual pages:

For instructions on installing the manual pages, see Chapter 1 of this guide.

Quitting MAE

Quit MAE the same way you turn off a Macintosh computer:

If you have problems starting MAE

The following paragraphs describe some problems that can occur in starting MAE.

MAE cannot open the apple directory

An error message similar to the following may appear when you start MAE.

Unable to locate <apple_dir>
Please use the -appledir option to give the path to the apple directory.

This message appears if MAE can't locate the directory that contains the startup files for MAE.

You can specify the directory where the MAE files are located by using the option -appledir directory-path with the mae command, replacing directory-path with the name of the directory that contains the MAE files. See the mae manual page for more information.

If you cannot locate the MAE files, you may need to reinstall MAE. See Chapter 1 of this guide.

MAE cannot display in the X display

If MAE cannot connect to your X display, try the following:

If you are running MAE on the same workstation that is running the X display server, set your DISPLAY environment variable to:

local:0

If you are running MAE on a different machine than the X display server, set your DISPLAY environment variable to the name of the machine on which the X display server is running and append the characters:

:0

For example, if you are running on a machine named my_machine, set the DISPLAY variable to the following:

my_machine:0

If MAE cannot connect to the X display server, run the xhost command on the X display server machine. For example, if MAE is running on a workstation named my_workstation and the X display server is on a machine named my_terminal, run the following command on my_terminal:

xhost +my_workstation

This command allows MAE on my_workstation to open a display on my_terminal.

On Solaris, the xhost command is located in /usr/openwin/bin. On
HP-UX, xhost is located in /usr/bin/x11.

Handling startup problems

If you experience problems starting MAE, try the following:

Problems with the License Binder

The following License Binder error messages might appear during startup.

ERROR: WARNING: Could not get DISPLAY value. Using user name only for license lookup.

MAE is unable to determine the display server being used and therefore cannot check to see if the display server is authorized to run MAE. Try setting the -display option in the mae command line or set the environment variable DISPLAY and export it.

ERROR: WARNING: Could not get username value. Using display only for license lookup.

MAE is unable to determine the login name of the user and therefore cannot check to see if the user is authorized to run MAE.

ERROR: Cannot access MAE license directory - '<directory_name>'. Your system administrator must run the 'license_binder' program to enable MAE for you.

Investigate the following possibilities:

ERROR: Cannot locate any license control files. Your system administrator must run the 'license_binder' program to enable MAE for you.

Investigate the following possibilities:

ERROR: WARNING: Skipping invalid license control file - '<file_name>'.

A file of unknown format has been detected in the License Binder data directory. It will be ignored.

ERROR: WARNING: Cannot open license control file - '<file_name>'.

A file in the License Binder data directory could not be opened for reading and will be ignored. Change the permissions to allow read access.

ERROR: WARNING: Skipping corrupted license control file - '<file_name>'.

A License Binder data file has been damaged. The file will be ignored. Remove the file and run the License Binder again. Attempts to modify a License Binder data file by hand often result in a corrupted data file.

For more information about error messages that may appear during startup, see the on-line Read Me file that comes with MAE (README.TXT).

Where to go from here

To learn how to install your Macintosh applications into MAE, see Chapter 3 of the MAE User's Guide, "Installing Macintosh Applications."

If you need to print a document in MAE, see Chapter 4 of this guide, "Printing in MAE."

To learn about some MAE-specific features, see Chapter 5 of the MAE User's Guide, "Using the Toolbar."

To use a CD-ROM disc or a floppy disk, see Chapter 6 of the MAE User's Guide, "Mounting CD-ROM Discs and Floppy Disks."


* Chapter 1 MAE 2.0 - Installing and Getting Started - Chapter 2 Chapter 3 *