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)

  • Sanctus@anarchist.nexus
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 days ago

    sudo systemctl enable NetworkManager

    In a terminal should just add it to start up when the service is enabled.

      • Sanctus@anarchist.nexus
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        3 days ago

        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.

        • Successful_Try543@feddit.org
          link
          fedilink
          arrow-up
          1
          ·
          2 days ago

          Edit: wait I am dumb, you can’t get to the internet huh?

          They mention that they can start NM manually, so they likely have internet.