Ubuntu 18.10 Stop X Server - Kill X
-
And Kill the Display Manager.
sudo service lightdm stop
Or:
sudo service gdm stop
But if you have a Custom display manager then look for the command to Stop it…
-
Finally, Go to Runlevel 3.
sudo init 3
Contents