I'm using Lubuntu 18.04.3 LTS dual boot with Windows 10.
In the past, there were some problems about display with graphic driver and I did completely solve them so everything was working fine until last week. After running
sudo apt-get install update sudo apt-get install upgrade
I noticed that there a new generic header at booting
4.15.0-55-generic along with the old one:
4.15.0-54-generic. However, every time I boot into this new header, I can't get into the graphical login. It only shows a cursor (sometimes blinking, sometimes not) and sometimes I can use
Fx to switch to non-graphical login, sometimes I can't (I have to hold power button to force shutdown in this case).
When select other option, I tried boot into the old header and things are going strange: sometimes I can get into graphical login, sometimes I can't (but I can always use
Fx to login in this case). But now I no longer can get into graphical screen.
What I have tried:
lightdm-gtk-greeterby default (there is only this) and everything were set as he mentioned, except that I have not installed
ubuntu-desktop(I think I have nothing to do with this since my laptop was working fine without it).
nvidia-390. My driver was it, I think I just need to reinstall the driver to solve all the conflicts (in case there are conflicts) but nothing changes.
sudo nvidia-xconfig, it said that
xorg.confhas been added, but it also showed a message:
package xorg-server not found. And nothing changes.
sudo service lightdm restartand it shows (spaces are intentionally added as it showed me so):
[ OK ] Created slice User Slice of lightdm Starting User Manager for UID 106 [ OK ] Started Session c1 for user lightdm [ OK ] Started User Manager for UID 106 _
I see a cursor at the end. I think this is output in graphical screen (?). Since when I do
Alt+`Fx, x=1 for instance, I get the previous login (where I type name and password, the messages disappeared)
I noticed this: when I do
x from 1 to 6) I can switch to 6 different screens and when x = 7, the screen does not switch, cursor disappears (Maybe something prevents it from switching to graphical screen ?)
I would be grateful if someone can help me solve this issue, since the last thing I think would solve it is to reinstall Lubuntu (which I don't want). Thank you in advance.
You need to purge NVIDIA drivers and let the ubuntu-drivers tool install the suitable drivers. To do so, please follow these instructions:
Purge the NVIDIA drivers:
sudo apt purge nvidia-*
Run apt autoremove to complete the purge process:
sudo apt autoremove
Run the ubuntu-drivers tool:
sudo ubuntu-drivers autoinstall
To selectively install the
nouveau driver, please refer to this post.