Lightdm not working

Message
Author
rmr
Posts: 14
Joined: Thu Jul 02, 2020 9:10 am

Lightdm not working

#1 Post 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.
You do not have the required permissions to view the files attached to this post.

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

Re: Lightdm not working

#2 Post by JayM »

systemctl is a systemd command. You're using SysV init.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

rmr
Posts: 14
Joined: Thu Jul 02, 2020 9:10 am

Re: Lightdm not working

#3 Post by rmr »

Hello JayM,

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

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

Re: Lightdm not working

#4 Post 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.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

rmr
Posts: 14
Joined: Thu Jul 02, 2020 9:10 am

Re: Lightdm not working

#5 Post by rmr »

Hello, even after following your steps and making a new user, the problem persists. Should I reinstall MX?

User avatar
asqwerth
Developer
Posts: 7811
Joined: Sun May 27, 2007 5:37 am

Re: Lightdm not working

#6 Post 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?
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

Huckleberry Finn

Re: Lightdm not working

#7 Post 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.

Post Reply

Return to “General”