a0s / odroid-xu4-octoprint

OctoPrint and VNC server based at Odroid XU4 board
2 stars 1 forks source link

Wifi: not authorized to control networking #2

Open zkrx opened 2 years ago

zkrx commented 2 years ago

Using VNC, although I could see nearby SSIDs, I couldn't connect to any ("Not authorized to control networking").

To solve this, I had to edit /etc/polkit-1/localauthority/50-local.d/10-network-manager.pkla and replace: Action=org.freedesktop.NetworkManager.wifi.scan

with: Action=org.freedesktop.NetworkManager.*

This yields the following complete file:

[Allow wi-fi scans for all users]
Identity=unix-user:*
Action=org.freedesktop.NetworkManager.*
ResultAny=yes
ResultInactive=yes
ResultActive=yes

Reference: https://superuser.com/a/1354009