sudo apt install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-5.4.0-66-generic is already the newest version (5.4.0-66.74).
According to the journal, evrything comes up fine -but- no Xserver, no Gnome is ever even trying to start. So it’s really hard to identify where things are breaking. Maybe try switching to lightdm to get some better insight.
I am experiencing the same issue on Ubuntu 20.04.2 and kernel 5.12.2-051202-generic. I installed the nvidia-driver-460 for my GeForce GT 730. I am trying to use 3 monitors, but only one is displaying something, the other 2 are blank.
rangelgbr@rangelgbrdesktop:~$ nvidia-settings
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
(nvidia-settings:6292): GLib-GObject-CRITICAL **: 08:47:44.284: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
** Message: 08:47:44.286: PRIME: No offloading required. Abort
** Message: 08:47:44.286: PRIME: is it supported? no
I am experiencing the same issue on Ubuntu 20.04.2 and kernel 5.8.0-38-generic. I installed the nvidia-driver-460 for my GeForce GTX 1060. I have two monitors, but only one (on laptop) is working.
This appears to be an issue since I upgraded Ubuntu 18 → 20.
root@predator:~# nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
root@predator:~# nvidia-settings
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
(nvidia-settings:20846): GLib-GObject-CRITICAL **: 11:30:59.095: g_object_unref: assertion 'G_IS_OBJECT (object)' failed