konsole showing output from unidentified background processes and syslogs?

Duncan 1i5t5.duncan at cox.net
Sun May 13 07:07:16 BST 2018


René J.V. Bertin posted on Sat, 12 May 2018 10:44:34 +0200 as excerpted:

> Hi,
> 
> I have a Konsole tab that shows syslog output (e.g. when I dis/connect 
a USB device) and now also output that appears to be from helper KF5 apps 
(launched by kded5?), for instance
> 
> org.kde.kwindowsystem: Loaded plugin "/opt/local/share/qt5/plugins/kf5/
org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so" for platform 
"xcb"
> Connecting to deprecated signal 
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
> 
> 
> I'm not complaining about it, but I have often wondered why this 
happens, and why it's always the same tab (which isn't even the 1st 
Konsole tab that gets opened; it currently has `tty`==/dev/pts/2). I 
don't see any other application that uses the same device as its standard 
output.
> 
> Anyone got the explanation?

I've half an explanation, hopefully enough to point you in the right 
direction for more.  But I've never had to bother too much with it myself 
so am fuzzy on the detail, and am too tired to make sense of anything I 
did try to read (or look up in my own config), let alone explain once I 
did, ATM, anyway.  But hopefully it'll at least be enough to check a bit 
of your own config and provide a start for a google, if necessary.

There's the notion of a "system console" that gets various higher 
priority kernel log messages, and a similar "console log" setting for 
most syslog daemons including systemd's journald.  These are normally 
routed to a text terminal, termed the "system conosle", but they can be 
routed to a pseudoterm device like that utilized by text terminals such 
as konsole, as well.  Additionally, there are X-based utilities that will 
display them in an X-window as well.

Presumably you have one or more of these configured to point to the pts 
(or similar) device behind that konsole tab, and will need to figure out 
what's configured that way and point it elsewhere if you want to change 
it.


Meanwhile, sometimes I have these messages (the kernel level ones, not 
general syslog) overwriting my CLI login sessions and would like to point 
them elsewhere so they quit getting in the way, but the irritation has 
never been enough to actually go researching further myself (I just 
grumble and hit refresh if need be), so if you happen to find a helpful 
article on the topic, please post a link.  That might be the perfect 
"round tuit" that I never seem to get, otherwise. =:^)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman





More information about the kde mailing list