Re: Gnome/KDE program launches hang when Internet disconnected - Lenny
On 2011-06-04, Jack Dodds <firstname.lastname@example.org> wrote:
> This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
> Thanks to those who commented.
> I tried /etc/init.d/networking stop . When this is done, programs
> launch without delay. Of course, this makes it impossible for any
> program to access the Internet so it's not a solution!
> However, taking gedit as an example,
> Normal operation - Internet accessible - gedit launches in 2 seconds.
> External problem - Internet inaccessible - gedit takes 60 seconds to laun=
> Internal shutdown of networking - gedit launches in 2 seconds.
> Maybe this means something, but I am not sure what.
X applications need to resolve your system's hostname, and are
(unnecessarily) going to the internet to do so. What are the contents of
the files /etc/hosts and /etc/hostname?