Hmm. I have another computer that is more successful with nvidia-340 in Xubuntu 20.04. When I compare to Xorg.0.log files, I see differences after line
"(II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration". The successful one has
"[ 77.338] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 77.341] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia-340/xorg,/usr/lib/xorg/modules"
In the working system there doesn't seem to be a config file:
"nvidia-xconfig -t" prints
"WARNING: Unable to locate/open X configuration file.
Hmm. I have another computer that is more successful with nvidia-340 in Xubuntu 20.04. When I compare to Xorg.0.log files, I see differences after line
"(II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration". The successful one has
"[ 77.338] (II) xfree86: Adding drm device (/dev/dri/card0) nvidia- 340/xorg, /usr/lib/ xorg/modules"
[ 77.341] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/
In the working system there doesn't seem to be a config file:
"nvidia-xconfig -t" prints
"WARNING: Unable to locate/open X configuration file.
Unable to locate/open XConfig file."
(with or without run as superuser)
so I wonder why this failing one should have?