I am a new user to Artix. So please forgive me if I make rookie mistake. I am running Artix with OpenRC and LXQT.
When I try to edit any existing WiFi connection or connect to a new WiFi Network then it fails with the message,
Not Authorized to Control Networking.
Please see the screenshot given below for more details. I could not attach this image and hence this was uploaded to imgur and referenced from there.
(https://i.imgur.com/69PYWV5.jpeg)
I am not able to edit the network connections using the applet or by going to the Application Menu > Preferences > Advanced Network Connection.I did a basic troubleshooting based on what I found on the internet and the following are the findings. I am able to add a new WiFi network using terminal and giving the command shown below.
sudo nmcli connection add con-name "MyWiFi" type wifi ifname wlan0 ssid "SSID_NAME" password "ToBeReplacedWithActualPassword" .
Post successfull connection, it is listed when I give the command given below. And also the network applet in the menu shows connected.
nmcli con show
I checked the groups to which my user id is part of and found that it is part of the power, network and wheel group. Please see the details given below
$ id
uid=1000(MyUser) gid=1000(MyUser) groups=1000(MyUser),19(log),90(network),96(scanner),98(power),984(users),985(video),987(storage),990(optical),991(lp),996(audio),998(wheel)
The rc-status command output and the status of the NetworkManager service is given below
$ sudo rc-status
[sudo] password for MyUser:
Runlevel: default
agetty.tty2 [ started 01:45:14 (0) ]
metalog [ started 01:45:14 (0) ]
cronie [ started 01:45:14 (0) ]
agetty.tty1 [ started 01:45:14 (0) ]
dbus [ started 01:45:14 (0) ]
acpid [ started 01:45:14 (0) ]
agetty.tty4 [ started 01:45:14 (0) ]
bluetoothd [ started 01:45:14 (0) ]
agetty.tty3 [ started 01:45:14 (0) ]
NetworkManager [ started ]
sddm [ started 01:45:14 (0) ]
agetty.tty5 [ started 01:45:14 (0) ]
agetty.tty6 [ started 01:45:14 (0) ]
Dynamic Runlevel: hotplugged
user.streetcred [ started 01:12:03 (0) ]
Dynamic Runlevel: needed/wanted
Dynamic Runlevel: manual
openrc-settingsd [ started ]
$
$ sudo rc-service NetworkManager status -v
* Executing: /usr/lib/openrc/sh/openrc-run.sh /usr/lib/openrc/sh/openrc-run.sh /etc/init.d/NetworkManager status
* status: started
$
I have the following packages installed and configured on my system
polkit
[color=#444444][size=1][font="DejaVu Sans Mono", Monaco, Consolas, monospace]polkit-qt6[/font][/size][/color]
[color=#444444][size=1][font="DejaVu Sans Mono", Monaco, Consolas, monospace]elogind[/font][/size][/color]
elogind-openrc
How to resolve this issue? How do I configure, add and delete WiFi networks using the network manager applet and Network Manager? All and any help would be welcome.
I want to commend you for make a nice post with all the information that I think folks will need to help you. I don't have an answer for you since I don't use much of those tools, but help with be forthcoming.
I will say that it has been a bit of a puzzle to me how the desktops allow for network control without root access. I am inclined to think there might be a group, like wheel, that you need to be part of in /ect/groups and /etc/password .
You might just take a look and try logging in as root and see if that works. If so, the software aint lieing and there is an essentail files permision problem.
I generally use sudo nmtui to solve these problems, but I am a bare bones kind of user
I hope that is helpful.