@stevecook172001 I built a headless rpi and then added minimal mate to it without enabling the desktop in systemd. That allowed me to mostly just ssh to the box but still run a remote desktop (via nomachine).
details here [solved] Issue converting to headless multi-user boot
So my understanding is that polkit agent is typically run as part of the desktop x session which is probably why I am having an issue.
So from ssh command line I did see that there is a polkitd.service running. Still no love. nmcli has a polkit agent but I can’t grok how to start it (when I do it doesn’t come back to a prompt) which I thought it should so I could run my connect command with this polkit agent running but no love there either.
So yes it’s not a desktop x session that I’ve opend a terminal in it is either a terminal at boot via a monitor or an ssh session. Either way when I give
nmcl d wifi connect nameofwap
I get the no permission error.
Ulimately (and what I have done for now) is run my node program as sudo (which calls nmcli). So it works but just want to understand why polkit isn’t working as it should. Like I said the settings, groups, polkit files all look good so I am betting I am not really running a polkit agent being as I am not running from withing a desktop gui.
So yea let me have what you know…thx