[12433] in Athena Bugs
rsaix 7.7E: zwgc
daemon@ATHENA.MIT.EDU (Abbe J Cohen)
Thu Aug 18 00:59:47 1994
To: bugs@MIT.EDU
Date: Thu, 18 Aug 1994 00:59:35 EDT
From: Abbe J Cohen <abbe@MIT.EDU>
System name: w20-575-98
Type and version: POWER 7.7E
Display type: POWER_Gt1
What were you trying to do?
log in normally to a 7.7 Rs6k
What's wrong:
I normally have skip_x_startup set in my .environment, and start
zwgc from .startup.X. When I log into a 7.7 Rs6k, my login hangs
just after the message "Running custom startup activities in
.startup.X." Nothing in my .startup.X is started except for a
hanging zwgc process. (zwgc's basically the first thing in my
.startup.X, i've included it below)
If I kill the zwgc process after this, the rest of my
.startup.X is immediately executed, the rest of the normal messages
come up in my console, etc.
What should have happened:
zwgc and the rest of the things in my .startup.X should have
been started normally on login. :-) zwgc should not have hung because
it was started from my .startup.X. (my path is the default athena
path, if that's relevant.)
I'm still looking for a way to fix this without a nonstandard
.Xsession and without losing the kludgey reason I need to start zwgc
in .startup.X in the first place. Having the bug go away would be
easiest. :-)
Other relevant info:
A number of other people (~30 or so) have similarly hacked
.startup.X's which are going to break similarly when they try to log
into rs6k's. (the hack is there so that a special xrdb is done before
zwgc is run so that a particular zephyr resource is set according to a
variable which changes on login and hence can't be explicitly put in
the .Xresources file.) If the bug isn't likely to go away soon, I'd
like to know so I can be responsible for fixing their dotfiles, since
I was responsible for having their dotfiles start zwgc in .startup.X
in the first place....
Here's my .startup.X:
add graphics
xrdb -DRowZero=`cat ~/rowzero/.class` -DThetaClass=`cat ~/Theta_z/.class` .Xresources
zwgc
zctl load ~/rowzero/class.zsubs
zctl load ~/Theta_z/class.zsubs
zctl load ~/.zephyr.subs.sekrit
xrdb -symbols|grep -s DCOLOR
if ($status) then
setenv MONITOR MONO
else
setenv MONITOR COLOR
endif
if ($MONITOR == COLOR) then
if ($hosttype != linux) then
xv -rmode 5 -max -quit ~/graphics/backgrounds/fractal.gif &
endif
endif
if ($MONITOR == MONO) then
xsetroot -bitmap ~/graphics/bitmaps/leaf2
endif
xrdb -DRowZero=`cat ~/rowzero/.class` -DThetaClass=`cat ~/Theta_z/.class` .Xresources
msgchk
(olc who &) >& /dev/null
emacs &
xscreensaver
xclock &
if ($host == podge || $host == oliver) then
xstapler -geometry -135-5 &
endif
if ($hosttype == rsaix) then
mesg y
endif
sleep 20
hide_console
Please describe any relevant documentation references:
Thanks for looking into this.
-Abbe Cohen