Hey guys,

Im a relatively new Linux user, so pardon the stupidity thats about to follow. I have an Asus gaming laptop on which I installed Debian 13/ testing. Everything worked well, until I tried installing new AMD drivers.

I followed this wiki article for the installation of the drivers. However after I ran the command

# apt-get install firmware-amd-graphics libgl1-mesa-dri libglx-mesa0 mesa-vulkan-drivers xserver-xorg-video-all

and rebooted my system, I was no longer able to access my Desktop (“unable to access Cinnamon session”).

The good news is I can still access the terminal via Ctrl & alt & f2. However I am not able to reinstall cinnamon because I dont have network access (I think).

I might be wrong but I think thats because before rebooting I ran a VPN with killswitch enabled, which is now blocking my network access, but I have no idea how to disable this from the terminal.

Could you help a noob out to repair his system?

I would hate to reinstall and lose all my data :(

  • umbrella@lemmy.ml
    link
    fedilink
    arrow-up
    7
    arrow-down
    2
    ·
    edit-2
    6 months ago

    display graphics drivers comes baked into the kernel, you don’t need to install anything, they are already there. messing with them is a bad time if you don’t yet know what you are doing.

    first things first take a look at your system logs to see what went wrong. depending on your installed vpn you should be able to just apt purge it.

  • qjkxbmwvz@startrek.website
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    6 months ago

    As far as reinstalling and losing your data, you may want to just backup /home to a USB disk now.

    You’ll want to figure out the VPN issue, so maybe post what you know about that. Also post ifconfig -a or ip addr show. Also the output of route for good measure. Can you ping anything? Is it just a nameserver issue (try pinging 8.8.8.8 and kernel.org, for instance)?

    Once you have network access, I’d install tmux if you’re going to be spending any significant time debugging in the terminal :)

    • lemmyreader@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      6 months ago

      Also post ifconfig -a or ip addr show.

      ifconfig is deprecated for a long time I think. Not even sure if some Debian package still provides it. I’ve switched to ip a and ip r and cat /etc/resolv.conf to look at such issues as OP has.

  • lemmyreader@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    6 months ago

    You should be able to use nmtui tool in the text terminal to activate your network connection. From the terminal you can also use the startx command to try and see if that would show you a GUI or other useful errors.

  • lurch (he/him)@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    6 months ago

    the apt logs probably contain the versions you had before that. you could try and go back.

    in any case: make backups before updates to prevent this in the future. even an incomplete backup can be better than none.

    • mellejwz@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      6 months ago

      This has nothing to do with secureboot, as the system boots fine according to the explanation.

      • TunaCowboy@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        6 months ago

        That doesn’t mean it is loading dynamic kernel modules, which also require enrolling a machine owner key.