Parent document is top of "comp.sys.hp.hpux FAQ"
Previous document is "6.11 How come vi behaves strangely in xterms at 9.01?"
Next document is "6.13 What's a good termcap entry for hpterm?"

6.12 How do I disable HP-VUE?

There have been several recommendations on this base thread. Here is one that
is documented for X terminals (it works for workstations too). This takes
advantage of the fact that Vue sets several environment variables for the
session, one of which is USER.

Modify the /usr/lib/X11/vue/Vuelogin/Xsession (pre-9.0 HPUX) or the
/usr/vue/config/Xsession (9.0 HPUX and later) file:

    1) Go to the portion that contains the coment "Determine the startup
       if the user didn't specify one." -- approximately line 295 in an
       unaltered version of the file.

    2) Add a following case statement to fit your needs. It should look
       something like:

                   case $USER in
                      martha | joe) startup=${HOME}/.x11start''
                   esac

You can add as much or little intelligence to this as you like. The above
assumes that the users' have a .x11start script in their home directory, that
its permissions are correct, etc. You can build in a fallback machanism. For
example, the script will check to see if the user has a .x11start script and
if not, to fallback to /usr/lib/X11/sys.x11start. To see an example of this
logic, do a more(1) on /usr/bin/x11start.

The above case statement is documented in Ch 2 of the "HP 700/RX System
Administrators Guide".

Anoter method of disabling VUE assumes you have a .xsession file that
starts up your initial xterms, other programs, and window manager.
Replace your ~/.vueprofile with:

    #! /bin/sh
    exec sh $HOME/.xsession

Note that the first line was needed, since
/usr/lib/X11/vue/Vuelogin/Xsession looks for the shell it want to use.

(Thanks to Bill Morrison, HP and John Bowe <bowe@osf.org>)

Parent document is top of "comp.sys.hp.hpux FAQ"
Previous document is "6.11 How come vi behaves strangely in xterms at 9.01?"
Next document is "6.13 What's a good termcap entry for hpterm?"