From: kmo@sae.com (Mike Ovington)
Subject: Re: HP's quasi-X setup
Organization: Software Architecture & Engineering, Inc.
Date: Wed, 19 Aug 1992 17:58:56 GMT

In article <1992Aug5.225923.22689@nas.nasa.gov>, bross@splatter.nas.nasa.gov (Bill Ross) writes:
|> Has anyone run up against the non-standard X setup of HP 7[123]0's?
|> E.g. as shipped, one cluster at least has no X11/Xaw/ includes. 
|> Also, they are configured to force the user into using the vue
|> window management - no way you can get, say, twm. I am told that
|> a root-modifiable configuration file would allow more flexibility,
|> but the newly-minted administrator is not sympathetic.. how-to 
|> stories from people who have escaped from this curse might help him 
|> over the energy barrier.
|> 
|> 

see the file /usr/lib/X11/vue/Vuelogin, an excerpt of which follows:

###  This script starts the user's session. It searches for one of three
###  types of startup mechanisms, in the following order:
###
###     VUE     existance of VUE Session Manager on the system
###     XDM     $HOME/.xsession  (executable)
###     xinit   $HOME/.x11start  (executable)
###
###  If none of these startup mechanisms exist, a default window manager and
###  terminal emulator client are started.

On our systems, we altered the order of evaluation to look for $HOME/.xsession
files FIRST. This allows those of us who don't want hpvue to provide a
.xsession file in our home directories that initializes our environments.
The context diffs follow:


*** Xsession	Fri Jan 31 20:39:17 1992
--- Xsession.bak	Tue Jul 16 14:09:20 1991
***************
*** 13,19 ****
  ##############################################################################
  
  
- #NOTE Template Software changes startup order.
  ##############################################################################
  ###
  ###
--- 13,18 ----
***************
*** 20,27 ****
  ###  This script starts the user's session. It searches for one of three
  ###  types of startup mechanisms, in the following order:
  ###
- ###     XDM	$HOME/.xsession  (executable)
  ###	VUE	existance of VUE Session Manager on the system
  ###     xinit	$HOME/.x11start  (executable)
  ###
  ###  If none of these startup mechanisms exist, a default window manager and
--- 19,26 ----
  ###  This script starts the user's session. It searches for one of three
  ###  types of startup mechanisms, in the following order:
  ###
  ###	VUE	existance of VUE Session Manager on the system
+ ###     XDM	$HOME/.xsession  (executable)
  ###     xinit	$HOME/.x11start  (executable)
  ###
  ###  If none of these startup mechanisms exist, a default window manager and
***************
*** 194,212 ****
  #  determine startup mechanism...
  #
  
!   if [ -x $HOME/.xsession ]; then
!     startup=$HOME/.xsession
    else 
!     if [ -x $VUESESSION ]; then
!       startup=$VUESESSION
    else 
      if [ -f $HOME/.x11start ]; then
!       startup=$HOME/.x11start
    else
        startup="hpterm -geometry 80x24+10+10"
      fi
      fi
    fi
  
  #
  #  start transition client...
--- 193,212 ----
  #  determine startup mechanism...
  #
  
!   if [ -x $VUESESSION ]; then
!     startup=$VUESESSION
    else 
!     if [ -x $HOME/.xsession ]; then
!       startup=$HOME/.xsession
    else 
      if [ -f $HOME/.x11start ]; then
!       startup=".x11start"
    else
        startup="hpterm -geometry 80x24+10+10"
      fi
      fi
    fi
+ 
  
  #
  #  start transition client...
________________________________________________________________________________
      Michael S. Ovington               Template Software
      (703) 318-1000                    13100 Worldgate Drive, Suite 340
      uunet!sae!mikeo                   Herndon, VA 22070-4382
      mikeo@sae.com                     Fax: (703) 318-7378
________________________________________________________________________________