Huge Gnome startup delay

Robbo ml at the-view.eclipse.co.uk
Wed Jul 13 18:54:36 UTC 2005


On Tue, 2005-07-12 at 20:15 -0700, William Chapman wrote:
> On 7/12/05, Jeff Peeler <jpeeler at gmail.com> wrote:
> > On Sun, 10 Jul 2005 08:50:49 -0400, Jeff Peeler wrote:
> > 
> 
> FYI, I have the exact symptoms you described.  I have a small
> home-network behind a broadband NAT router, with two Ubuntu systems. 
> One always exhibits the behavior you describe; the other never does. 
> I haven't spent any significant time analyzing the problem - as you
> obviously have - but do have this to add:
> 
> (1) If I delay my logon for, say, one minute, the problem is avoided; or
> (2) after the symptoms occur, logging off and back on avoids the problem.
> 
> Both my systems are fairly "stock," and new, but I do have all the
> normally-commented-out repositories enabled.
> 
> Since I just joined this list today, I haven't read the previous,
> related posts, but will do so, and track future ones.  (I do hope I
> haven't broken protocol for correctly using this list.)

try this command 

ping `hostname` 

and

ping `hostname -f`

if the come up with 

64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64
time=0.100 ms

dont read any further....  The below is from an earlier posting...


Is your DNS address setup for your ISP's server?, if so what may be
happening depending how you connect to the internet is try to resolve
your `hostname` via these first and the delay is when it trys to connect
to the internet (or time's out because you manually connect).  Also if
you use a modem/router/another PC as your DNS server, this may be timing
out when trying to find your ISP's (or root) DNS servers.

The above may be the case if you have changed your host file to not
resolve your `hostname` to be the localhost address, or have changed the
order 

In /etc/hosts the default looks like for 127.0.0.1

127.0.0.1 localhost.localdomain localhost `hostname`

change `hostname` to be your hostname of course!

and /etc/nsswitch.conf hosts line looks like..

hosts:          files dns


One way to test this is before logging into gnome, switch to a terminal
(Ctrl-Alt-F1) and try pinging your hostname, if it takes a while to
resolve then look at the above...





More information about the ubuntu-users mailing list