Re: Gnome/KDE program launches hang when Internet disconnected - Lenny
On 2011-06-04, Jack Dodds <brmdamon@hushmail.com> wrote:
> This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
> --------------enig8C3A295D8BAF91ED98A88B02
> 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=
> ch.
> 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?
--
Liam O'Toole
Cork, Ireland
Reply to: