Ubuntu system with Nvideia GPU comes to CLI only after restarting . NO GUI

Hi

Today I am talking about the system which you guided my colleague some month back which was having login loop issue after installing Nvidia drivers and it got solved at that time.

Now same system having issue with gcc and i correctd it.

Now I rebooted the system and it [b]comes to CLI only ,not to GUI.

when i try "sudo apt-get install --install-recommends linux-generic-hwe-16.04 xserver-xorg-hwe-16.04 " command it gives the error that “‘xserver-xorg-hwe-16.04’ has no installation candidate”

could you please look into it?

thanking you in advance

Attachment
nvidia-bug-report.log.gz (1.01 MB)

link to nvidia-bug-report.sh file output is atatched

https://paste.ubuntu.com/p/CjvYdDgsxT/

The setup still looks fine. Everything is in place, no errors, there’s just no Xserver started. Try starting it manually using

sudo systemctl start lightdm

and if that works, enable it to run on boot using

sudo systemctl enable lightdm