[26002] in Athena Bugs

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

Re: Problem with gnome-terminal-2.2.2-1 in Athena 9.3.11

daemon@ATHENA.MIT.EDU (Tom Cavin)
Fri Aug 27 01:22:45 2004

MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16686.50441.184940.790047@lap1-wccf.mit.edu>
Date: Fri, 27 Aug 2004 01:22:17 -0400
From: Tom Cavin <cavin@mit.edu>
To: Greg Hudson <ghudson@mit.edu>
In-Reply-To: <1093581788.19888.22.camel@egyptian-gods.mit.edu>
cc: Tom Cavin <cavin@mit.edu>
cc: Athena Bugs list <bugs@mit.edu>
Errors-To: bugs-bounces@mit.edu


Hi Greg,

I'm not sure where all my problems are coming in, but if it's an initial
timing problem, there may be another factor.  I'm running on a laptop and
am currently at home running over a DSL line.  My initial logins have
started to take an excessive amount of time at home.  (I didn't notice the
problem at work, but I had been struggling with an stunnel problem (now
corrected) that was giving me grief with e-mail, and my keyboard problem.

With a login hesitation of several minutes it seems likely that something
weird is going on.

My login behavior is that I enter my username and password, then I get a
blue-background with an active X sprite.  After a while I'll get the
console window up and my X sprite will change its shape depending on its
screen location.  My setxkbmap command is in my .startup.X file generally
seems to run at some stage because the CapsLock key moves (detectable by
hitting it and watching the CapsLock light go on and off).

The total time to login is sometime between 1 and 10 minutes, probably
between 3 and 5 but I haven't timed it carefully.

Other than the normal Sawfish/Bonobo/Dustbuster/Nautilus stuff, the only
extra processes I run from by .startup.X file are (in order):

    setxkbmap 'dvorak+ctrl(swapcaps)'
    gnome-terminal --title "SuperUser Window" --command "su -" &
    add crypto
    emacs -bg LightSteelBlue -iconic &
    emacs --background=Goldenrod --geometry=120x51+140+0 --title=MAIL --funcall=vm &

The very first gnome-terminal seems to be started from xsession before it
gets to my .startup.X file so that would be before the setxkbmap is run.  I
think gnome-terminal is written as a client/server program with only one
gnome-terminal process controlling several terminal windows.

Would better timing information help?  Or is there anything I can to to
help you track this down?

Best,

	--Tom

Greg Hudson writes:
 > Odd.
 > 
 > First, 9.3.8 and 9.3.11 both have a gnome-terminal in /usr/athena/bin,
 > so the native gnome-terminal-2.2.2-1 package is irrelevant.  And neither
 > the native nor the Athena gnome-terminal RPMs were upgraded in 9.3.11.
 > 
 > The most relevant difference in 9.3.11 is a change to the way we fire up
 > gnome-settings-daemon, which reads GConf settings and sets X server
 > settings.  Previously, we just fired up gnome-settings-daemon in the
 > background, which means sometimes gnome-terminal wouldn't get the
 > benefit of the X settings (and would generally get fonts wrong as a
 > result).  Now, we use bonobo to fire up gnome-settings-daemon, which
 > ensures that it is running before we move on.
 > 
 > But there are several reasons why this doesn't seem to explain your
 > problem.  First, while gnome-settings-daemon deals with keyboard
 > settings, they are just the basic ones relating to key repeat rate and
 > such, not layout.  Second, the change in 9.3.11 should make the initial
 > gnome-terminal process more consistent with later processes, not less
 > consistent.
 > 
 > On the other hand, it's possible that the change in 9.3.11 affects the
 > timing of process startup at login, triggering some kind of race
 > condition in your dotfiles.  For instance, is it really only the initial
 > gnome-terminal process which is affected, or is it any gnome-terminal
 > process which you start before issuing the setxkbmap command?
 > 

-- 
Tom Cavin               		      Email:     cavin@mit.edu 
Phone:  (617) 258 - 7806		          or tec@csail.mit.edu

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