I need to stop the GUI and access a TTY for the NVIDIA drivers. I found this question. 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 prefer not have to mess with Grub, as I only need to stop the GUI once. So, how do I stop the GUI to use a TTY with no GUI running at all in Kubuntu 21.10?
Note: I know how to access a TTY. But once I'm in the TTY, I need to stop the GUI, as the NVIDIA driver installer wants me to be in a TTY and have the GUI not running.
Kubuntu uses
sddm
as the display manager. Sosudo service sddm stop
should do it.
For me, doing the following (in a TTY) worked to stop the GUI.
After I ran that, I was able to successfully install my NVIDIA GPU driver.
You can also ask systemd to get into
multi-user.target
by using below command:And after all TTY-based operations get finished jump back to graphical session by
You don't have to stop the GUI to access a text-only terminal.
CTRL+ALT+F3 gets you to TTY3 CTRL+ALT+F4 gets you to TTY4 ... and so on