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/linuxquestions@lemmy.zip/p/2244268/networkmanager-on-kubuntu-doesn-t-run-on-startup)


sudo systemctl enable NetworkManager
In a terminal should just add it to start up when the service is enabled.
I get an error:
Oof,
sudo apt install --reinstall network-manager
Thats what I’d do instead of recrafting the service or whatever. Kubuntu ships with network manager so it seems broken to me but maybe someone who actually uses Kubuntu can be more insightful.
Edit: wait I am dumb, you can’t get to the internet huh?
If you can’t get to the internet, at least grep for the package
dpkg -l | grep network-manager
to see if it didnt get nuked somehow. If it prints to the console its there.
Then you need to check the services in etc/systemd/system/ for one called NetworkManager. Its probably not there.
They mention that they can start NM manually, so they likely have internet.
If you don’t have internet, which you may need for some of the fixes mentioned here, you can try tethering, which is where you share a phone’s internet with a computer over a wired connection.
https://wiki.archlinux.org/title/Android_tethering
https://wiki.archlinux.org/title/IPhone_tethering
Although, these might depend on NetworkManager, although they might not.