You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Saturday, August 28th 2004, 10:46am

DCOP & internet == bug ? ? ?

Hi there !

For my very first message, I have a very interesting problem ^^.
Indeed, when I'm connected to Internet, all the applications using DCOP take more than five "true" minutes to be launched out...
And when I'm disconnected, there is not problem at all !

Any idea ?
thank you very much
arckauss.

2

Saturday, August 28th 2004, 11:25am

Re: DCOP & internet == bug ? ? ?

Quoted

Original von arckauss

Hi there !

For my very first message, I have a very interesting problem ^^.
Indeed, when I'm connected to Internet, all the applications using DCOP take more than five "true" minutes to be launched out...
And when I'm disconnected, there is not problem at all !

Any idea ?
thank you very much
arckauss.

Check your /etc/hosts in the connected and the disconnected case.
Make sure your hostname and localhost are in there.

See also http://www.kde-forum.org/viewtopic.php?t=201

3

Saturday, August 28th 2004, 11:53am

in both cases, /etc/hosts looks like this :

127.0.0.1 localhost

I saw the topic you showed me but there is no answer for this problem...

4

Saturday, August 28th 2004, 12:02pm

Quoted

Original von arckauss

in both cases, /etc/hosts looks like this :

127.0.0.1 localhost

But then the entry for your hostname *is* missing.
Try to add something like
127.0.0.1 your_host_name
(on a line of its own)

5

Saturday, August 28th 2004, 12:24pm

i am sorry, but i don't really understand what you mean...
what should i add exactly ?

6

Saturday, August 28th 2004, 12:52pm

Quoted

Original von arckauss

i am sorry, but i don't really understand what you mean...
what should i add exactly ?

Let's assume your computer is called "gandalf" then try the following /etc/hosts :

127.0.0.1 localhost
127.0.0.1 gandalf

(substitiute your real host name for "gandalf", of course)

7

Saturday, August 28th 2004, 12:55pm

oh okay, thanks.
Well, its name is localhost...

8

Saturday, August 28th 2004, 1:01pm

Quoted

Original von arckauss

oh okay, thanks.
Well, its name is localhost...

so the "hostname" command issued on the command line returns "localhost"?

9

Saturday, August 28th 2004, 1:04pm

yep, it does

10

Saturday, August 28th 2004, 1:06pm

Quoted

Original von arckauss

yep, it does

Sorry, no idea then.

A missing entry wouldn't explain the different behaviour between online and offline state anyway... hmmm.

Any takers?

11

Saturday, August 28th 2004, 1:09pm

:'(
I think it comes from the DCOP server.
Is it possible ?

thank you for your help cmbofh.

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

12

Sunday, August 29th 2004, 9:27pm

Are you sure the hostname is still localhost when connected to the net?
Some DHCP servers also send a hostname

Cheers,
_
Qt/KDE Developer
Debian User