I need to exit the GUI and connect to the NVIDIA drivers through a terminal. This is where I came upon this question. However, when I attempted sudo service lightdm stop (or gdm stop), I got the following message:

However, when I tried sudo service lightdm stop (or the same with gdm), it said this:

$ sudo service lightdm stop
Failed to stop lightdm.service: Unit lightdm.service not loaded.
$ sudo service gdm stop
Failed to stop gdm.service: Unit gdm.service not loaded.

I’d like not deal with Grub because I just need to shut off the GUI once. So, with Kubuntu 21.10, how can I disable the GUI and utilize a terminal with no GUI at all?

Askify Moderator Edited question April 14, 2023