https://bugs.kde.org/show_bug.cgi?id=369391

            Bug ID: 369391
           Summary: ksmserver captures and discards standard output/error
                    - debug information lost
           Product: ksmserver
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: l.lu...@kde.org
          Reporter: j...@keelhaul.me.uk

All processes started from ksmserver - in practice, this means almost every
workspace or application process apart from kwin - appear to have their
standard output and error piped back to ksmserver.  ksmserver, though, does
nothing with the output and discards it.

This does not affect normal desktop operation, but it means that no debug
messages will appear in the session error log file (~/.xsession-errors or
similar).  So if the user gets the troubleshooting advice "enable debug
messages then look in ~/.xession-errors to see if there are any messages
from...", there will not be any.

If this behaviour is not intentional, it may be the result of porting ksmserver
from KProcess to QProcess.  The default output channel mode was
ForwardedChannels in KProcess, but is SeparateChannels in QProcess.  Setting
this to ForwardedChannels in KSMServer::slotAutoStart() would restore the
previous logging behaviour.


Reproducible: Always




This is plasma-workspace commit 459b53bc.

$ ksmserver --version
ksmserver 0.4

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to