Page 1 of 1

Lightdm not working

Posted: Mon Jul 06, 2020 2:45 am
by rmr
Hello,

Today I am facing a bizarre situation. Whenever I am booting, I am presented with cli, instead of usual GUI login screen.
IMG_20200706_120457.jpg
Also my get-default is graphical.target.

$ sudo systemctl get-default
graphical.target

Any help is appreciated.

Re: Lightdm not working

Posted: Mon Jul 06, 2020 2:59 am
by JayM
systemctl is a systemd command. You're using SysV init.

Re: Lightdm not working

Posted: Mon Jul 06, 2020 3:08 am
by rmr
Hello JayM,

Thanks for the response, but how can I change run level via SysV init?

Re: Lightdm not working

Posted: Mon Jul 06, 2020 3:39 am
by JayM
https://wiki.archlinux.org/index.php/SysVinit (found in a quick web search.)

Rather than messing with run levels try logging in as root. If you can't get to the GUI LightDM Greeter login screen to do that, log in as root then run startx. Then, run MX User Manager and create a new user, log out, and see if you can log in as the new user.

Re: Lightdm not working

Posted: Mon Jul 06, 2020 9:17 am
by rmr
Hello, even after following your steps and making a new user, the problem persists. Should I reinstall MX?

Re: Lightdm not working

Posted: Mon Jul 06, 2020 9:33 am
by asqwerth
How did you get to this problematic stage? Was it after:

1. an update?
2. you installed some new package? Where and how did you install this, if so?
3. you added some new repository//PPA?
4. you installed and/or changed the kernel you are using at bootup? or installed some new drivers to go with it?
5. you removed certain packages either because you didn't think they were needed by you, or via autoremove command?

Re: Lightdm not working

Posted: Mon Jul 06, 2020 10:36 am
by Huckleberry Finn

Code: Select all

sudo sysv-rc-conf
Go to lightdm line with up / down arrow keys, and let columns 2 and 5 be marked (with X, via the space key) .

You can also reinstall lightdm.