Artix Linux Forum

Artix Linux => System => Topic started by: Outcast on 04 January 2024, 14:04:15

Title: LightDM refusing to load after attempting to install KDE (dinit)
Post by: Outcast on 04 January 2024, 14:04:15
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.
Title: Re: LightDM refusing to load after attempting to install KDE (dinit)
Post by: tintin on 05 January 2024, 05:32:47
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
Title: Re: LightDM refusing to load after attempting to install KDE (dinit)
Post by: Outcast on 15 January 2024, 19:25:02
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.
Title: Re: LightDM refusing to load after attempting to install KDE (dinit)
Post by: Wolzly on 15 January 2024, 19:37:48
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
Title: Re: LightDM refusing to load after attempting to install KDE (dinit)
Post by: Outcast on 15 January 2024, 20:17:25
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.
Title: Re: LightDM refusing to load after attempting to install KDE (dinit)
Post by: tintin on 16 January 2024, 05:21:06
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 ?
Title: Re: LightDM refusing to load after attempting to install KDE (dinit)
Post by: Outcast on 16 January 2024, 13:25:05

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
Title: Re: LightDM refusing to load after attempting to install KDE (dinit)
Post by: gripped on 16 January 2024, 14:11:46
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

Title: Re: LightDM refusing to load after attempting to install KDE (dinit)
Post by: Outcast on 16 January 2024, 20:16:34
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
Title: Re: LightDM refusing to load after attempting to install KDE (dinit)
Post by: Outcast on 16 January 2024, 20:30:35
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.
Title: Re: LightDM refusing to load after attempting to install KDE (dinit)
Post by: gripped on 16 January 2024, 20:37:53
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
Title: Re: LightDM refusing to load after attempting to install KDE (dinit)
Post by: Outcast on 16 January 2024, 21:08:04
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.
Title: Re: LightDM refusing to load after attempting to install KDE (dinit)
Post by: gripped on 16 January 2024, 21:44:53
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 ?