I have a Kubuntu Ubuntu 20.04.2 LTS server.
Every time anyone remotely logs in with via xrdp, they are always shown a dialog
System policy prevents control of network connections
and they are asked to authenticate. This dialog appears automatically immediately after login.
However, nobody should change any of they network connections on this server. The interfaces are ethernet, and at this stage of the server's life, the connections should be immutable. The dialog is an annoyance at best, and possibly a source of user-initiated system failure. I would greatly prefer the NetworkManager app to be disabled.
How should I do this on Ubuntu?
The popup you are seeing (only in your remote session) is probably due to the polkit technology that basically control what a user can (and cant do) based on the session the user is logged on....
Since you are using Kubuntu and thus KDE Desktop interface, you will need to create a additional file under /etc/polkit-1/localauthority/50-local.d/ that will basically create an polkit exception and you will not see the popup anymore.
From your terminal session, type the following piece of code.... (you need sudo right to create the file under /etc/polkit-1/localauthority/50-local.d/) so you will be prompted for a password.....
When the file is created, try to perform an xrdp connection and the popup message should be gone....
Hope this help
More information about similar issue can be found at