[1201] in testers

home help back first fref pref prev next nref lref last post

7.2 xlogin: X server characteristics messed up (again)

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Wed Nov 28 09:25:14 1990

Date: Wed, 28 Nov 90 09:24:48 -0500
To: testers@MIT.EDU
From: Richard Basch <probe@MIT.EDU>


It seems that my resources, in my .Xresources and my font path are once
again messed up.

Just after logging in, my console window disappeared, the screen went
blank, the X server seemed to reset, and then my windows started
appearing (and I was prompted for their locations, since normally that
is what is in my .Xresources).  Also the windows are default colors, as
opposed to being "reverse video", as also specified in my resources.

    <cronos!probe>  {~}
    502% xset q
    Keyboard Control:
      auto repeat:  on    key click percent:  31    LED mask:  00000000
      auto repeating keys:  0000000000000000
			    0000000000000000
			    0000000000000000
			    0000000000000000
      bell percent:  3    bell pitch:  794    bell duration:  65
    Pointer Control:
      acceleration:  7/1    threshold:  2
    Screen Saver:
      prefer blanking:  no    allow exposures:  yes
      timeout:  600    cycle:  600
    Colors:
      default colormap:  0x21    BlackPixel:  0    WhitePixel:  1
    Font Path:
      /etc/athena/login/fonts/
    Bug Mode: compatibility mode is disabled
    <cronos!probe>  {~}
    503%

Here is my ~/.windows file, which controls it all... I suspect that the
config_console is closing the console, which might be the only
application that has open connections to the X server (thus I am
experiencing a race condition).  (No other windows had yet appeared by
the time the config_console had run).

    xrdb -D`xversion -r` -load ~/.Xresources

    (twm &)
    (nice +10 xload -geometry 235x110-1+0 -rv &)
    (nice +10 xclock -geometry 110x110-240+0 -analog -rv -bd white -bw 1 &)

    (/etc/xterm -name "small" &)
    (/etc/xterm -name "misc-1" &)

    if (-x /usr/athena/config_console) then
	    /usr/athena/config_console
	    sleep 1
	    /usr/athena/show_console
    endif

    xmodmap -l Caps_Lock +c Caps_Lock
    xset b 3 794 65 -c m 7 2
    #	+fp /mit/x11/${hosttype}lib/X11/fonts/misc/ \
    #	+fp /mit/x11/${hosttype}lib/X11/fonts/75dpi/

    (emacs &)

    switch($hosttype)
    case "vax":
       xset c 31
       breaksw
    endsw

    xscreensaver -l -b ~/bitmaps/skull -g +540+5
    zcat ~/bitmaps/stars.dmp.Z|xroot
    if ( -r $KRBTKFILE) source ~/.zephyr
    #xhost +ODIE.MIT.EDU +CRONOS.MIT.EDU > /dev/null

    if ($?prompt) then
       xspecify =+540+114 \#+624+48 -name -login
       xresize
    endif

Something should hold the X server connection, just in case someone
decides to run config_console after loading their resources.

-Richard

home help back first fref pref prev next nref lref last post