0

I accidentally changed the video driver on my Kubuntu from NVIDIA to Xserver-xorg-video-nouveau, rebooted my PC and now my GUI does not load after GRIB. Instead of GUI, I can see TTY mode.

I logged to this mode, tried press CTRL + ALT + F7 and CTRL + ALT + FN + F7, tried enter "init 5"/"init 6" and all don't help!

How can I load my GUI?

Screen of TTY Screen of TTY

Screen on Ubuntu Devices Screen on ubuntu devices

PRATAP
  • 22,460
riki-tik
  • 81
  • 2
  • 3

3 Answers3

0

Perhaps you have installed the wrong version of the nvidia driver, you need to remove unused drivers, since the tty console appears due to incompatibility of accidentally installed packages.

try removing:

apt list --installed | grep nvidia

apt-get autoremove --purge name-your-driver

0

Try starting the lightdm service

sudo service lightdm start

If not installed use

sudo apt install lightdm

0

I installed lightdm to try to resolve an NVIDIA driver issue, but it didn't, so I uninstalled it. Both the installation and the uninstall were done through the terminal, and then I restarted my PC and was stuck in TTY mode.

I uninstalled the NVIDIA drivers using the second command listed by @Fithe_Xanki, and installed and started lightdm using the two commands listed by @White Mars, and then the desktop opened normally.

So the lesson I learn from this is that you don't need to install lightdm on your Linux, but once installed it can't be removed anymore. Remembering I'm using Ubuntu.