[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: kdeinit issue
From: Waldo Bastian <bastian () kde ! org>
Date: 2001-01-22 0:23:52
[Download RAW message or body]
On Sunday 21 January 2001 13:34, Stefan Westerfeld wrote:
> Hi!
>
> There is a problem with the new kdeinit restart-if-running. If ksyscoca is
> rebuilt on first startup, kdeinit_wrapper breaks. This in turn breaks
> kcmarts, which means that artsd will not be started. So if you do:
>
> # rm /tmp/kde-stefan/ksycoca
>
> before login, you will have a broken kdeinit_wrapper:
>
> # kdeinit_wrapper artsd
> connect() failed: : Connection refused
>
> afterwards (and due to that, no sound server). As some distributions wipe
> out /tmp on reboot, for some people this will happen every time they log
> in for the first time.
I am not sure if this is clear:
kdeinit_wrapper doesn't need ksycoca, but does need a fully started kdeinit.
kdeinit only handles requests from kdeinit_wrapper once it is fully started,
that is in the next line of the startkde script. It does NOT handle requests
from kdeinit_wrapper while executing any of its command line arguments,
including kcminit, however it does handle requests made via KLauncher.
So instead of calling kdeinit_wrapper from the init function of kcmarts you
should call kapp->kdeinitExec().
If you see kdeinit being restarted during startup then that's a bug and needs
to be solved.
Cheers,
Waldo
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic