kdesyscoca dumps errors onto a window on a different Desktop

J Leslie Turriff jlturriff at mail.com
Thu Nov 21 03:03:52 GMT 2019


On 2019-11-07 03:12:07 René J.V. Bertin wrote:
> On Wednesday November 06 2019 13:05:25 Jerome Yuzyk wrote:
> >What's the rationale for dumping into that window on a Desktop I'm not
> > using?
>
> You should know that all your different *virtual* desktops are part of the
> same session, it is just an organisational convenience provided by the
> window manager (KWin). Console applications typically do not care about
> such niceties: they are simply attached to a terminal device (/dev/ttyXX or
> /dev/pts/YY or something of the sort).
>
> One of those applications is the KDE daemon (kded) which among other things
> runs the sycoca thingy when you have (un)installed an application. kded
> will be attached to a terminal device and the applications it spawns will
> inherit that terminal. Now, kded is launched in the background early during
> the login procedure, most likely at a time when you do not already have any
> Konsole or other terminal emulators running. So when your incriminated
> Konsole instance is launched it grabs that same terminal device, and you
> start seeing all kinds of output in it. In principle this could be any of
> the konsoles you start, but in practice it is usually always the same.
>
> I've had the same thing, but for whatever reason it stopped at some point.
>
> >Why isn't that dump going somewhere else like a log file or something?
>
> That's something you'd have to ask to the Plasma developers and/or your
> distro maintainers. It should indeed be possible.
>
> R.

	I guess that the XX or YY used during kded at startup is a low number (00 or 
01?).  It seems to me that it should use a much higher number so that it 
won't collide with a tty that would later be used for real work; but ideally 
that output ought to go to a log file instead.

Leslie




More information about the kde mailing list