I'm running a laptop with Nvidia Optimus on Xubuntu 18.04, and I can't seem to get the nvidia drivers to work at all.
I've run both Kubuntu 18.04 and Ubuntu Budgie 18.04, and was able to login using nvidia-390 drivers (although the login screen was black until I tried logging in, which allowed me to log in using nvidia drivers, the login screens just never loaded?), but on Xubuntu 18.04, it feels like I've tried everything to get nvidia drivers to work period. I've tried upwards of 6 different nvidia drivers (340, 380, 384, 390, there's likely some others I'm forgetting), tried running
nvidia-xconfig, tried deleting
/etc/X11/xorg.conf, even trying editing grub boot options.
The closest I have seemingly gotten is changing no grub boot options, installing any nvidia driver, and running
nvidia-xconfig. This still doesn't allow me to boot into the login screen, but it will show the splash login screen as always, but the bootup will freeze with a non-blinking cursor in the upper left of the screen.
I can get into a TTY with CTRL+ALT+F1, and make changes there, I just am never able to actually get into a login screen. Grub is completely viewable, and without doing
nvidia-xconfig, I can still get into a TTY, but the screen is completely blank until I enter a TTY, as opposed to with
nvidia-xconfig, where I can get into a TTY, but it freezes on that non-blinking cursor.
I've been banging my head against a wall for days trying to figure this out, so any help is appreciated, and I can get more information as needed.