JezerM / nody-greeter

LightDM greeter that allows to create wonderful themes with web technologies. Made in Node.js
https://web-greeter-page.vercel.app
GNU General Public License v3.0
125 stars 8 forks source link

LightDM doesn't load greeter in Fedora 36 Cinnamon #34

Closed Adog64 closed 1 year ago

Adog64 commented 1 year ago

Environment

Bug description

Nody greeter runs in debug mode, but lightdm refuses to load it. Either it defaults to a different greeter on the system, or if I remove all other greeters, lightdm loads no greeter and I have to boot to terminal and reinstall lightdm-gtk.

Steps to reproduce default greeter loading

Steps to reproduce no greeter loading

Expected behavior

Debug output

[10150:1020/001501.301269:ERROR:node_bindings.cc(242)] Error parsing Node.js cli flags 2022-10-20 00:15:01 [ DEBUG ] acpi.js 66: Restarting acpi_listen 2022-10-20 00:15:01 [ DEBUG ] browser.js 125: Initializing Browser Window 2022-10-20 00:15:01 [ DEBUG ] browser.js 177: Browser Window created 2022-10-20 00:15:01 [ DEBUG ] screensaver.js 42: Screensaver set 2022-10-20 00:15:01 [ DEBUG ] browser.js 122: Theme loaded 2022-10-20 00:15:01 [ DEBUG ] globals.js 16: Javascript logger is ready 2022-10-20 00:15:01 [ DEBUG ] globals.js 13: Window is ready 2022-10-20 00:15:01 [ DEBUG ] bridge.js 70: LightDM API connected 2022-10-20 00:15:01 [ DEBUG ] acpi.js 66: Restarting acpi_listen 2022-10-20 00:15:01 [ DEBUG ] acpi.js 66: Restarting acpi_listen 2022-10-20 00:15:01 [ DEBUG ] acpi.js 66: Restarting acpi_listen 2022-10-20 00:15:01 [ DEBUG ] acpi.js 66: Restarting acpi_listen [10183:1020/001503.384845:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process. 2022-10-20 00:15:03 [ DEBUG ] browser.js 198: Nody Greeter started win: 2785062953156674

Screenshots

Lightdm [Seat:*] configuration image

Nody-greeter running in debug mode

image

JezerM commented 1 year ago

Your error is here:

#greeter-session=nody-greeter

You must remove the comment symbol #, like this:

greeter-session=nody-greeter
JezerM commented 1 year ago

However, it's known to not be working in Fedora for some weird and incomprehensible reasons, as stated in https://github.com/JezerM/nody-greeter/issues/16 and https://github.com/JezerM/web-greeter/issues/19.

Adog64 commented 1 year ago

Ok so I've made some progress. I took your advice and removed the #. At first, lightdm did not load a greeter at all, and then I added a file called nody-greeter.conf in my /etc/lightdm/ directory. I put one line in it, [greeter]. Now when I run lightdm --test-mode it works as expected, but it still doesn't work on startup.

Here's where I'm at: Screenshot from 2022-10-24 16-55-02

JezerM commented 1 year ago

and then I added a file called nody-greeter.conf in my /etc/lightdm/ directory.

This is not needed, and this file doesn't even exist neither it does not fulfill a purpose.

but it still doesn't work on startup.

Yeah, as expected (though it's unexpected), web-greeter and nody-greeter doesn't work in Fedora for unknown reasons.

JezerM commented 1 year ago

Hi, I recently added some new changes that fixes this issue at the latest commit d115ae8aaf169113edfd6a185a7d35834090a2ef, the same as https://github.com/JezerM/web-greeter/issues/19. You could try to build it and tell me if it works~