1

For those of you bothered by the deluge of annoying popups asking to authenticate pretty much every move one makes in Focal Fossa ("System policy prevents this and that" when mucking about in WiFi Settings, "Authentication needed to refresh system repositories" etc.), a partial answer is here: https://c-nergy.be/blog/?p=14051.

Apparently this is due to manually installing the xRDP package in Ubuntu.

Now, if only someone could post the fix for getting rid of network and WiFi-related "Authorization Required" messages, that'd be swell! I am guessing it'd have to be another .pkla file in /etc/polkit-1/localauthority/50-local.d

-1

It would not be recommended to change your network setting while connected through xRDP. If something goes wrong, you will loose your xrdp connection and you will need to logon locally to check your settings.

In practice, yes, you could create a pkla file (under /etc/polkit-1/localauthority/50-local-d) and populate it with the following info...

[Allow Wifi Scan]
Identity=unix-user:*
Action=org.freedesktop.NetworkManager.wifi.scan;org.freedesktop.NetworkManager.enable-disable-wifi;org.freedesktop.NetworkManager.settings.modify.own;org.freedesktop.NetworkManager.settings.modify.syste>
ResultAny=yes
ResultInactive=yes
ResultActive=yes

As you can see, the pkla file does a little bit more than authorizing Wifi Scans...Please adapt as required

Hope this help Till next time See ya

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.