I installed some updates and after a restart the network manager thing in the taskbar said NetworkManager wasnt running so i tried to run it in terminal and it said i didnt have permission so i ran it with sudo and it worked. How do I get it to automatically start?
(I also posted this here: https://piefed.social/c/linux4noobs@programming.dev/p/2244265/networkmanager-doesn-t-run-on-startup)
UPDATE:
fixed with sudo apt install --reinstall network-manager


also from the top of my head - you can combine the two by adding a flag
sudo systemctl enable --now NetworkManager
That will enable and start it.
Also make sure no conflicting network service is running. Common culprits are dhcpcd, netctl, and systemd-networkd. If they’re active, NM might not start and you might stop and disable them before starting NM. Not sure if that would apply to kubuntu or your particular setup, but I wanted to mention it just in case.