Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3474

I need to install linux-headers every time i get a new kernel version to get gnome working

$
0
0
Hello all and welcome to myself and my first post!

I have two AMD workstations with nvidia graphics cards. Whenever i do a apt upgrade, and it installs a new kernel version for me, the next time i reboot, gdm wont start.

After some headaches I found that what I need to do to fix it is to get into terminal and do

Code:

sudo apt install linux-headers-$(uname -r)
Then dpkg does some stuff for me, and after a reboot my debian boots into gdm as normal.

How can I automate this process, or, am I doing something wrong?

I am now on OS: Debian trixie
Kernel: x86_64 Linux 6.10.9-amd64

My home pc has amd + nvidia 4060, work pc intel + nvidia 1060, and both pc's have the same issue.

This is the guide i followed to install the nvidia drivers: https://wiki.debian.org/NvidiaGraphicsDrivers

Statistics: Posted by TerjeN — 2024-10-12 00:25 — Replies 1 — Views 24



Viewing all articles
Browse latest Browse all 3474

Trending Articles