OpenWindows Advanced User's Guide

1.5.2 Using the Correct Start-Up File

If you are currently running a version of the OpenWindows software earlier than Version 3.3, it is important to determine the status of your .xinitrc file. The .xinitrc file is an OpenWindows start-up file your home directory that may contain user-defined options.

To determine the status of your .xinitrc file, type the following commands:

$ cd
$ ls -a .xinitrc

Depending on the output of this command, do one of the following things:

1.5.2.1 Start-Up File Procedures

  1. To delete the .xinitrc file from your home directory, type the following command:

    $ rm .xinitrc
    

  2. To retain the changes to your .xinitrc file, do the following steps:

    1. Move .xinitrc to .xinitrc.save:

      $ mv .xinitrc .xinitrc.save
      

    2. Copy /usr/openwin/lib/Xinitrc to .xinitrc in your home directory:

      $ cp /usr/openwin/lib/Xinitrc $HOME/.xinitrc
      

    3. Add the lines that you want to keep from the .xinitrc.save to .xinitrc.


      Caution - Caution -

      When editing the .xinitrc file, do not add a secondary version of olwm, do not add svenv, and do not remove the line containing /usr/openwin/lib/openwin-sys.