Hi,
I have installed both KdePlasma and Hyprland profiles (with two distinct users) on my Fedora Asahi, and everytime I login&out I need to reconfigure networks. I found something similar may concern to other variables ( Reddit - Dive into anything ), but I am not sure.
Restart your NetworkManager and everything should be fine.
BTW, if you have trouble with Enterprise WIFI, that is another story, do:
nmcli c a type wifi con-name YOURNETWORKID ifname wlp1s0f0 ssid YOURNETWORKID -- wifi-sec.key-mgmt wpa-eap 802-1x.eap peap 802-1x.phase2-auth mschapv2 802-1x.identity YOURACCOUNTID 802-1x.password YOURPASSWORD
to solve it.
As for the system-wide authentication service you mentioned, polkit-kde-agent-1 above, you should execute it at the start of Hyprland. You don’t need to worry about this while at KDE
cat <<EOF >>~/.config/hypr/hyprland.conf
# Authentication Agent
exec-once = /usr/libexec/kf5/polkit-kde-authentication-agent-1
EOF # This makes sure the agent runs only once on the startup.
That may also be a kwallet problem. In systemsettings you can check if you have a default wallet (has to be Blowfish encrypted and use your user/login password)
Thank you both. Actually I did not have time to explore the topic. I tried to check the kwallet but I think the problem is not there. I tried to start from the beginning with a new configuration:
I logged in with the KDE-plasma profile, and I created a brand new connection associated with a WIFI (where I set to store password for all the users (not encrypted)) , the connection is set and work. But what appears in /etc/NetworkManager/system-connection is the new connection but “root-PROTECTED”.
Hi guys,
I come back here, because actually I did not solved my problem, as it appears not depending on network configuration, but much more on ID-account’s permissions. In short:
switch on, dual boot (macOS, fedora-asahi)
I log in KDE’s account, I set my “network1”. Even if I set “network1” as open to all users, in “/etc/NetworkManager/system-connections” it results as “locked”, then I unlock it.
I log out from KDE, and log in in Hyprland’s account
in Hyprland “network1” is not visible (even if is in “/etc/NetworkManager/system-connections” folder). I set new “network2”: same problem, it appears locked.
I unlock and edit both configurations adding permissions=user:MYKDENAME:MYHYPRLANDNAME;
I log out from Hyprland.
then if I log in either in KDE and Hyprland, wifi connection is found!
BUT
If I shutdown the computer and boot again, everytning is lost! I must create a brand new configuration from scratch (step 2)). Even if in “/etc/NetworkManager/system-connections” folder both previous configurations “network1” and “network2” are there! (But they are not recognized from the network manager.
As you can see, it is a multiple problem (the fact that it creates a “locked” configuration, that is not recognized across KDE-HyprLand, and that is lost upon rebooting!), a multiple problem that is generated from the same issue, I guess.
Thank you Vladislav. Actually the problem is exactly there!
I set the configuration (again it creates a “locked” file in /etc/NetworkManager/system-connections), I removed the line of permissions (as you suggested), then when I restarted NetworkManager.service the network connection, I just created, disappeared completely in the list (still there in the folder, but not available in the list of connections).
allowing the full operation from everyone (chmod 777), the file automatically turned to be “not usable” for NetworkManager.service which is a root service. All the problems came from this operation. I try to create the connection and I kept it like it was created, and everythings was fine!
Sorry for the confusion, the error was mine!, but at least I understood the origin of the problem.