Skip to main content
Topic: LightDM refusing to load after attempting to install KDE (dinit) (Read 804 times) previous topic - next topic
0 Members and 11 Guests are viewing this topic.

LightDM refusing to load after attempting to install KDE (dinit)

After installing the plasma, plasma-wayland-session, and kde-applications packages, it caused this problem where booting wouldn't make it past the initialization process. Instead of displaying LightDM, it just shows a blank screen.

I was able to chroot into the system through a live usb and remove all KDE-related packages, but it hasn't fixed it.

I'm using dinit and I previously used MATE.

Re: LightDM refusing to load after attempting to install KDE (dinit)

Reply #1
Hello,
Have you tried with sddm?
Code: [Select]
pacman -Si sddm
Dépôt                    : world
Nom                      : sddm
Version                  : 0.20.0-2
Description              : QML based X11 and Wayland display manager
Architecture             : x86_64
URL                      : https://github.com/sddm/sddm

Code: [Select]
sudo  pacman -S sddm-dinit

Add sddm to your init.

Remove lightdm

Re: LightDM refusing to load after attempting to install KDE (dinit)

Reply #2
Hello,
Have you tried with sddm?
Code: [Select]
pacman -Si sddm
Dépôt                    : world
Nom                      : sddm
Version                  : 0.20.0-2
Description              : QML based X11 and Wayland display manager
Architecture             : x86_64
URL                      : https://github.com/sddm/sddm

Code: [Select]
sudo  pacman -S sddm-dinit

Add sddm to your init.

Remove lightdm

Thanks. But how do you enable a process in dinit? I've been trying to read to read instructions, but they've been kinda confusing me.

Re: LightDM refusing to load after attempting to install KDE (dinit)

Reply #3
sudo dinitctl start <- starts a service one time
sudo dinitctl enable <- causes a service to start at boot

You can see available service files and their names in /etc/dinit.d/

So you'd want to do something like:
Code: [Select]
sudo dinitctl disable lightdm
sudo dinitctl enable sddm

Re: LightDM refusing to load after attempting to install KDE (dinit)

Reply #4
sudo dinitctl start <- starts a service one time
sudo dinitctl enable <- causes a service to start at boot

You can see available service files and their names in /etc/dinit.d/

So you'd want to do something like:
Code: [Select]
sudo dinitctl disable lightdm
sudo dinitctl enable sddm
sudo dinitctl start <- starts a service one time
sudo dinitctl enable <- causes a service to start at boot

You can see available service files and their names in /etc/dinit.d/

So you'd want to do something like:
Code: [Select]
sudo dinitctl disable lightdm
sudo dinitctl enable sddm

Worked, but I'm getting no GUI. The dm isn't loading (and there's no de), although the OS still started correctly.

Re: LightDM refusing to load after attempting to install KDE (dinit)

Reply #5
You can see available service files and their names in /etc/dinit.d/
Worked, but I'm getting no GUI. The dm isn't loading (and there's no de), although the OS still started correctly.
is sddm started ?

Have you installed all the necessary packages for your desktop environment ?

Re: LightDM refusing to load after attempting to install KDE (dinit)

Reply #6

Worked, but I'm getting no GUI. The dm isn't loading (and there's no de), although the OS still started correctly.
is sddm started ?

Have you installed all the necessary packages for your desktop environment ?

Yeah, I even reinstalled MATE. And sddm is already started and enabled.

Still no dm. I'll see if I can start MATE manually.

Edit: nope; can't figure the latter out

 

Re: LightDM refusing to load after attempting to install KDE (dinit)

Reply #7
You may get more information if you try having both lightdm and sddm disabled as services and then, as root, run either manually (or both one at a time).
Code: [Select]
sddm

lightdm -d


Re: LightDM refusing to load after attempting to install KDE (dinit)

Reply #8
You may get more information if you try having both lightdm and sddm disabled as services and then, as root, run either manually (or both one at a time).
Code: [Select]
sddm

lightdm -d



I think I already tried the sddm one, so I went with trying the lightdm option

It's giving me an error like this:

Code: [Select]
Seat seat0: Failed to find session configuration lightdm-gtk-greeter
Seat seat0: Failed to create greeter session
Failed to start seat: seat0

Re: LightDM refusing to load after attempting to install KDE (dinit)

Reply #9
You may get more information if you try having both lightdm and sddm disabled as services and then, as root, run either manually (or both one at a time).
Code: [Select]
sddm

lightdm -d



I think I already tried the sddm one, so I went with trying the lightdm option

It's giving me an error like this:

Code: [Select]
Seat seat0: Failed to find session configuration lightdm-gtk-greeter
Seat seat0: Failed to create greeter session
Failed to start seat: seat0

Wait.

I found out that all I needed to get lightdm started was by installing the gtk greeter xP

Unfortunately, though, running it returns me to my first problem: no gui, just a blank screen with a blinking line.

Re: LightDM refusing to load after attempting to install KDE (dinit)

Reply #10
So before you installed "plasma, plasma-wayland-session, and kde-applications packages" you did have a working desktop ?
Was it X or Wayland ? What desktop / window manager did you use ?

Edit : You say "I found out that all I needed to get lightdm started was by installing the gtk greeter xP "
So does a graphical lightdm appear ? And then you get the "blank screen with a blinking line" after entering your user details.
Or do you only get the blank screen after running lightdm ?

Edit2: Sorry you said Mate
Assuming you use X then I'd guess that is running as normal you'd get dumped back to the terminal when it exits if the display manager is not running as a service.
If you are getting a GUI lightdm then make sure the 'Session' is set to Mate.

lightdm should have a log. Post that.
Xorg has a log, post that /var/log/Xorg.0.log

Re: LightDM refusing to load after attempting to install KDE (dinit)

Reply #11
So before you installed "plasma, plasma-wayland-session, and kde-applications packages" you did have a working desktop ?
Was it X or Wayland ? What desktop / window manager did you use ?

Edit : You say "I found out that all I needed to get lightdm started was by installing the gtk greeter xP "
So does a graphical lightdm appear ? And then you get the "blank screen with a blinking line" after entering your user details.
Or do you only get the blank screen after running lightdm ?

Edit2: Sorry you said Mate

Yeah, I used MATE, and it worked just fine.

The latter, I think. While I can technically start lightdm (as in, running the "lightdm -d" command, and letting it execute), attempting to run it is what's giving me the blank screen.

Re: LightDM refusing to load after attempting to install KDE (dinit)

Reply #12
Yeah, I used MATE, and it worked just fine.

The latter, I think. While I can technically start lightdm (as in, running the "lightdm -d" command, and letting it execute), attempting to run it is what's giving me the blank screen.
You may have missed my last edit
Quote
lightdm should have a log. Post that.
Xorg has a log, post that /var/log/Xorg.0.log

I think X should by OK as normally (without a display manager like lightdm) you'd end up back at the terminal if it wasn't.

You can start X (and Mate) without a display manager
install xorg-xinit
run
Code: [Select]
startx /usr/bin/mate-session
You may find find it easier to work out whats been going on from a GUI?

Hopefully that will work ?