Celeb Glow
updates | March 23, 2026

How to shutdown graphical interface on Ubuntu 17.04?

I've tried the classic sudo /etc/init.d/gdm stop but got a command not found error message.

I also tried the newer sudo service lightdm stop but then I stuck on a CLI where I cannot input anything...

2

1 Answer

This is usually because you didn't activate the terminal interface before shutting down the x server. Try pressing CtrlAltF1 to enter it or modifying the /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" => GRUB_CMDLINE_LINUX_DEFAULT="text" before sudo update-grub and reboot. Also, try sudo systemctl stop lightdm if sudo service lightdm stop doesn't work.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy