Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z - Internet FAQ Archives

SGI graphics Frequently Asked Questions (FAQ)
Section - -10- What is the difference between .xsession and .sgisession in IRIX 4.0.x?

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Forum archive ]

Top Document: SGI graphics Frequently Asked Questions (FAQ)
Previous Document: -9- What is the sequence of events that occur at login time in IRIX 4.0.x?
Next Document: -11- Why do 4Dwm, toolchest, Workspace, etc. not recognize an environment variable I set in my shell's startup files
See reader questions & answers on this topic! - Help others by sharing your knowledge
Date: 07 May 1993 00:00:01 EST

  The system Xsession file (/usr/lib/X11/xdm/Xsession or
  Xsession-remote) starts up a number of important things when you log
  in, eg. 4Dwm, toolchest, loads resources, sets your
  XUSERFILESEARCHPATH, sets your root background, etc.

  One of the last things it does is look in your home directory for a
  .sgisession file.  This allows you to start additional programs at
  login time. This is the file that you would use to start a mailbox,
  additional window, a calendar, etc.

  ADVANTAGES OF $HOME/.sgisession :

      1) You don't need to read through yet another system file to see
	 what you need or don't need.

  DISADVANTAGES OF $HOME/.sgisession :

      1) You cannot override ALL of the defaults set for you. Some
         things you can't change from a .sgisession file:

         A) You can't start a different window manager.
         B) You can't change the way the console starts.
         C) You can't change toolchest output redirection to
  	  the console.

      2) Users of other vendors' equipment are used to seeing a
	 .xsession file.

  After checking for a "failsafe" (ie. no graphics) login, one of the
  first things that /usr/lib/X11/xdm/Xsession does is check for
  $HOME/.xsession.  If it exists, Xsession execs your .xsession file.
  This means that if you are REALLY sure you know what you are doing,
  you can log in with a different window manager, xterm as a console,
  or xwsh not already iconified, etc.  You can also turn off the
  toolchest output redirection, and start anything else you might have
  done in $HOME/.sgisession. There is a discussion on xsession files in
  volume 3 of the O'Reilly series.

User Contributions:

Comment about this article, ask questions, or add new information about this topic: