konsole showing output from unidentified background processes and syslogs?

Nicolás Alvarez nicolas.alvarez at gmail.com
Wed May 16 00:45:59 BST 2018


2018-05-13 4:33 GMT-03:00 René J.V. Bertin <rjvbertin at gmail.com>:
> I just realised that this will help:
>
> %> sudo ll /proc/*/fd/* | fgrep /pts/2
>
> That showed kdeinit5 (and its klauncher child) as the source of the KF5-related message:
> 3697254 lrwx------ 1 bertin bertin 64 May  7 16:09 /proc/28256/fd/1 -> /dev/pts/2
> 3697255 lrwx------ 1 bertin bertin 64 May  7 16:09 /proc/28256/fd/2 -> /dev/pts/2
> 3697277 lrwx------ 1 bertin bertin 64 May  7 16:09 /proc/28257/fd/1 -> /dev/pts/2
> 3697278 lrwx------ 1 bertin bertin 64 May  7 16:09 /proc/28257/fd/2 -> /dev/pts/2
>
> I cannot remember restarting kdeinit5 by hand from that termial. Is it possible that these /dev/pts devices get reused, i.e. that a Konsole tab finds itself using a pseudo-terminal devicec that's already being used as stdout/stderr by another process?

Starting a KF5 graphical app from a Konsole tab may launch helper
processes, which will then keep outputting to that terminal tab even
after the original graphical app you started has quit. It's probably
that...

-- 
Nicolás




More information about the kde mailing list