Path: utzoo!attcan!uunet!mcsun!ukc!mucs!liv-cs!rkl From: rkl@anduin.cs.liverpool.ac.uk Newsgroups: comp.sys.hp Subject: How to fix faulty VUE installations (was: problem with VUE) Message-ID: <1990Oct24.104320.3025@anduin.cs.liverpool.ac.uk> Date: 24 Oct 90 09:43:20 GMT Organization: Computer Science, Liverpool University Lines: 98 The bug with the shipped VUE is that the file /usr/softbench/config/softinit is not shipped with read access for all (chmod +r fixes it). Here's how I installed and fixed VUE from scratch as root (and, yes, I had no documentation either and did it off my own cuff !)... Getting from tape (yes, you should run update, but this was a beta-test): cd /tmp tcio -iv /dev/update.src | tar xvf - cd / zcat /tmp/inst_tape.Z | tar xvf - Customising (again, update will handle all this): /system/BMS/customize HP-MC68020 /system/VUE_RUN/customize HP-MC68020 /system/VUE_FONTS/customize update cd /usr/bin/X11 mv X X.old mv /tmp/X.703P X chown bin X chgrp bin X chmod 755 X Local customisation: cd /etc mv inittab inittab.xlogin (Note: We were running motif/xlogin prior to this) cp inittab.xlogin inittab vi inittab Did a merge edit of /etc/newconfig/vue/vue.inittab and /etc/inittab... Changed 'init' line (run-level 2 instead of 3), Changed 'cons' line (from 12456 to 1456), Added 'vue' line on the end. chmod +r /usr/softbench/config/softinit (yes, THIS IS THE BUG FIX) cd /usr/lib/X11/vue/Vuelogin mvcp Xconfig vi Xconfig (Added 2 lines, one for the timezone -> GMT0BST and another for userPath to be set to the usual user's PATH) cd /usr/lib/X11/app-defaults mvcp XSession vi XSession (Changed XSession*CommandPath and XSession*TimeZone) who -c (Check to see if anyone else is on and if not, then...) cd / (Why doesn't the shutdown shell script do this ?) /etc/shutdown -r 0 Notes: 1. "mvcp" above is a shell script something we've written locally to do a mv $1 $1.orig cp $1.orig $1 This way, the timestamp on the .orig copy is retained. 2. /system/BMS/customize inserts lines into /etc/services, /usr/adm/inetd.sec, and /etc/inetd.conf. 3. /system/VUE_RUN/customize replaces xload and hpterm ! Old copies are saved in a directory called /usr/bin/X11/HPUX7_00. 4. 'No Windows' mode will not work unless you removed the 2 from the 'cons' line in /etc/inittab. To disable VUE, edit /etc/inittab and change the init line from init:2:initdefault: to init:3:initdefault: Now add a 2 to the cons line so that cons:1456:respawn...blah blah blah becomes cons:12456:respawn...blah blah blah and then reboot with shutdown -r 0. Do the reverse to enable VUE. 5. Errors for a particular user are stored in $HOME/.vue/errorlog. This is a *very important* file - it gives invaluable information that should have been displayed when the error occurred of course. I hope all this helps. If you've used update to install VUE, a lot of the stuff will have been done for you, but the chmod +r bug fix is probably still needed. Richard K. Lloyd, *** This is a MicroVAX II running VAX/VMS V5.3-1 *** Computer Science Dept., * JANET : RKL@UK.AC.LIV.CS.AND or * Liverpool University, * RKL@000010500211.FTP.MAIL * Merseyside, England, * Internet : RKL%and.cs.liv.ac.uk@cunyvm.cuny.edu * Great Britain. ****************************************************