On 05/09/2014 06:45 PM, Fernando de Oliveira wrote:
> Em 06-05-2014 13:47, Armin K. escreveu:
>> On 05/06/2014 06:38 PM, Fernando de Oliveira wrote:
>>> Em 06-05-2014 12:56, Bruce Dubbs escreveu:
>>>> Fernando de Oliveira wrote:
>>>>
>>>>> Understand that it is trying to gettimeofday and this is taking the 25
>>>>> seconds, probably without success. May be wrong about that. That is
>>>>> compatible with what I see. Seems the program is completely loaded
>>>>> "immediately", no noticeable activity after that (sometimes I get the
>>>>> impression it has accessed the network interface), until the window
>>>>> pops up.
>>>>
>>>> I don't know if this is the problem or not, but in my experience systems
>>>> that pause for about 20 seconds and then work are issues with dns
>>>> timeouts when querying the nameserver.  Just something to consider.
>>>>
>>>>   -- Bruce
>>>
>>> Thanks, Bruce.
>>>
>>> I think this is finally solved. I build as dependency or to update the
>>> book (or just to see if eventually I will be able to update the book)
>>> many things that I don't want to use. Two of them: avahi end krb5.
>>>
>>> Just started avahi and totem is up and running without delay!!!!
>>>
>>
>> Now that you mention it, I remember totem trying to dbus activate AVAHI
>> and will obviously fail (timeout or what not) if the system wide daemon
>> is not started.
> 
> Armin,
> 
> Since this post, I am intending to fix Totem and Grilo pages, to include
> Avahi as a dependency. I think it is the second time you suggest that
> system dbus should be running.
> 
> I have, with just a ssh session, system dbus started by a bootscript:
> 
> message+  2297  0.0  0.0   3656   936 ?        Ss   13:28   0:00
> /usr/bin/dbus-daemon --system
> fernando  2478  0.0  0.0   4580   892 pts/0    S+   13:30   0:00 grep
> --color=auto dbus
> 
> then I start a graphical session:
> 
> ck-launch-session dbus-launch --exit-with-session startlxde
> 
> and now have:
> 
> message+  2297  0.0  0.0   3808  1336 ?        Ss   13:28   0:00
> /usr/bin/dbus-daemon --system
> fernando  2578  0.0  0.0   6640  1272 tty1     S    13:36   0:00
> ck-launch-session dbus-launch --exit-with-session startlxde
> fernando  2590  0.0  0.0   3980   584 tty1     S    13:36   0:00
> dbus-launch --exit-with-session startlxde
> fernando  2591  0.1  0.0   3776  1232 ?        Ss   13:36   0:00
> /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
> fernando  2719  0.0  0.0   3540  1316 ?        S    13:36   0:00
> /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf
> --nofork --print-address 3
> fernando  2768  0.0  0.0   4580   892 pts/0    S+   13:37   0:00 grep
> --color=auto dbus
> 
> Yet, I still need avahi to be running for Totem and Grilo.
> 
> I was intending to fix the book by adding avahi in the "optional"
> dependencies with a comment in parenthesis: (if <package> is built when
> avahi is already installed in the system, make sure it is running,
> before trying to launch <package>).
> 
> So, I am trying to understand why your system launches avahi
> automatically, but not mine. Or I may have completely misunderstood what
> you said.
> 

Avahi fails to auto activate by dbus-daemon when totem asks for it, so
avahi-daemon needs to be started by bootscript to avoid waiting for dbus
timeout when trying to auto activate avahi-daemon. In other words: If
you installed avahi, make sure avahi-daemon is running as a system
daemon, started by bootscript/systemd unit.

-- 
Note: My last name is not Krejzi.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to