5

I have freshly installed and updated ubuntu on raspberry pi 3.

Neither sudo ls nor sudo apt-get install pose any problem, but executing:

sudo nmcli device status

gives:

Error: Could not create NMClient object: Could not connect: Permission denied

2
  • Did you get to the bottom of this? I'm seeing the same when trying to do anything with sudo apt – DaveStephens Jul 22 '19 at 21:10
  • @DaveStephens, i did not. I gave up and went with raspbian – Pompey Magnus Jul 24 '19 at 0:00
2

I had a similar problem on Ubuntu 18.04 LTS. I fixed it with snap connect network-manager:nmcli as described in man-page

0

You have Network-Manager installed as a Snap, and the Snap's CLI plug has not been granted permissions. You can solve the problem by running snap plug network-manager:nmcli.

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.