Bug 464675 - Network statistics are wrong in XRDP session
Summary: Network statistics are wrong in XRDP session
Status: REPORTED
Alias: None
Product: ksystemstats
Classification: Frameworks and Libraries
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-23 07:14 UTC by Paul van Haren
Modified: 2024-02-08 21:03 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Left: network traffic > 80 Mbps; right no sign of network traffic in monitors (843.86 KB, image/png)
2023-01-23 07:14 UTC, Paul van Haren
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul van Haren 2023-01-23 07:14:53 UTC
Created attachment 155523 [details]
Left: network traffic > 80 Mbps; right no sign of network traffic in monitors

SUMMARY
The network statistics, as shown in the widget  Overview -> "Network Rates", in Overview -> Applications (Download and Upload columns) and History -> Network are missing a lot of traffic in case I'm running on an XRDP session. 
The exact same session running from the console shows the correct network statistics.

STEPS TO REPRODUCE
1. Login using XRDP
2. Open System Monitor, in the Overview tab, sort Applications tab by Download (DESC)
3. Generate some network traffic
4. Observe network traffic in System Monitor

OBSERVED RESULT
Most but not all applications show no network traffic. 

EXPECTED RESULT
Similar results as when logged in via session from Console.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 22.04 LTS
Comment 1 Bug Janitor Service 2023-01-23 07:33:29 UTC
Thank you for the bug report!

Please note that Plasma 5.25.4 is not supported for much longer by KDE; supported versions are 5.24, and 5.26 or newer.

If at all possible please upgrade to a supported version and verify that the bug is still happening there.

If you're unsure how to do this, contact your distributor about it.
Comment 2 Paul van Haren 2023-01-23 07:43:47 UTC
(In reply to Bug Janitor Service from comment #1)

> Please note that Plasma 5.25.4 is not supported for much longer by KDE;
> supported versions are 5.24, and 5.26 or newer.
> 

Thank you for your reply. This is my bad: I have the wrong version number in. It should have been 5.24.4, now corrected.
Comment 3 Paul van Haren 2023-01-26 07:48:53 UTC
SOME MORE TEST RESULTS

1. Fresh Boot, XRDP session -> no network statistics in System Monitor
2. Fresh Boot, Session through console -> System Monitor Okay
3. Fresh Boot, Session through console, start System Monitor, logout, start XRDP session -> System Monitor Okay
4. Fresh Boot, Session through console on some other account, start System Monitor, logout, start XRDP session -> System Monitor Okay
5. Fresh Boot, Session through console without starting System Monitor, logout, start XRDP session -> no network statistics in System Monitor