0

There are a lot of posts on how to stop gnome desktop in ubuntu. However, on 17.10, I am not able to do that!

As you can see there is no service named lightdm. Also, gdm has no effect.

mahmood@orca2:~$ sudo service lightdm stop
Failed to stop lightdm.service: Unit lightdm.service not loaded.
mahmood@orca2:~$ sudo service gdm stop
mahmood@orca2:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 17.10
Release:    17.10
Codename:   artful

I also tried to edit the grub option by removing quiet splash $vt_handoff and insert single. Still I see gnome desktop!

Any idea?

  • gdm has been replaced by gdm3 in Ubuntu 17.10. – karel Jul 28 '18 at 17:27
  • 1
    I tried that. Has no effect. I am still in the gnome and typing this in firefox! – mahmood Jul 28 '18 at 17:28
  • You do realize that Ubuntu 17.10 is EOL (fridge.ubuntu.com/?p=8396) You should upgrade to Ubuntu 18.04 LTS (very soon 'artful' will disappear from archive.ubuntu.com as it'll be moved to old-release.ubuntu.com) – guiverc Jul 29 '18 at 5:16
0

Instead of stopping gdm service you could try the kill command with PID to kill gdm.

To get the PID you can use htop or top. With PID from this command output use kill command in a root shell:

$ kill -9  XXX <-- replace xxx with PID from the htop

If this doesn’t work you can also try

pgrep dm -l

sudo kill XXX <-- replace XXX with PID

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.