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


I had this problem for a long time and turns out I had misconfigured my network drive mount and it was killing NetworkManager on boot. I don’t remember how it was misconfigured but chatgpt helped me fix it in couple commands