Open yetser77 opened 2 years ago
Could you provide the nody-greeter
log?
nody-greeter 2022-02-10 08:15:52 [ DEBUG ] browser.js 117: Initializing Browser Window 2022-02-10 08:15:52 [ DEBUG ] browser.js 169: Browser Window created 2022-02-10 08:15:52 [ DEBUG ] screensaver.js 39: Screensaver set 2022-02-10 08:15:52 [ DEBUG ] browser.js 114: Theme loaded 2022-02-10 08:15:52 [ DEBUG ] globals.js 15: Javascript logger is ready 2022-02-10 08:15:52 [ DEBUG ] globals.js 12: Window is ready 2022-02-10 08:15:52 [ ERROR ] bridge.js 48: Error: Unable to determine socket to daemon 2022-02-10 08:15:52 [ DEBUG ] bridge.js 65: LightDM API connected 2022-02-10 08:16:02 [ DEBUG ] browser.js 190: Nody Greeter started win: 3 ^C2022-02-10 08:16:05 [ DEBUG ] screensaver.js 54: Screensaver reset 2022-02-10 08:16:05 [ DEBUG ] acpi.js 61: Restarting acpi_listen
Does this occurs when logged in (inside a Desktop Environment/Window Manager) or inside the LightDM environment (when trying to log in)?
Trying to log in.
I can't even run nody-greeter
in Fedora, the window is never shown... Sincerely, I don't know why.
I can't even run
nody-greeter
in Fedora, the window is never shown... Sincerely, I don't know why.
I can get almost everything working in Fedora Cinnamon. Everything runs and displays properly in debug and normal mode, but light-dm keeps loading the default login configuration.
Hello
I dunno if this a correct place to report this But I got the same problem as the OP Except while I can load the Nody Greeter itself, the log in doesn't work at all Both in the startup and in the debug mode
The Nody Greeter in installed under Xubuntu 22.04
[4682:1118/144726.476998:ERROR:node_bindings.cc(242)] Error parsing Node.js cli flags
2022-11-18 14:47:26 [ DEBUG ] browser.js 125: Initializing Browser Window
2022-11-18 14:47:26 [ DEBUG ] browser.js 177: Browser Window created
2022-11-18 14:47:26 [ DEBUG ] screensaver.js 42: Screensaver set
2022-11-18 14:47:26 [ DEBUG ] browser.js 122: Theme loaded
2022-11-18 14:47:26 [ DEBUG ] globals.js 16: Javascript logger is ready
2022-11-18 14:47:26 [ DEBUG ] globals.js 13: Window is ready
2022-11-18 14:47:26 [ ERROR ] bridge.js 53: Error: Unable to determine socket to daemon
at new Greeter (/opt/nody-greeter/resources/app.asar/js/bridge/bridge.js:49:28)
at Function.getInstance (/opt/nody-greeter/resources/app.asar/js/bridge/bridge.js:99:52)
at /opt/nody-greeter/resources/app.asar/js/bridge/bridge.js:718:37
[4682:1118/144726.936463:ERROR:browser_main_loop.cc(269)]
Bug demo https://imgur.com/a/ihVPXRV
@admin-ribbon Make sure you have set X-LightDM-Allow-Greeter=true
inside your desktop session in /usr/share/xsessions/
. This allows to access to the LightDM API in a normal session and hence it should solve your issue.
@admin-ribbon Make sure you have set
X-LightDM-Allow-Greeter=true
inside your desktop session in/usr/share/xsessions/
. This allows to access to the LightDM API in a normal session and hence it should solve your issue.
i have the same error, and add X-LightDM-Allow-Greeter=true
in lightdm-xsession.desktop
but nothing happen, still errors!
my edit in xsessions
[Desktop Entry]
Version=1.0
Name=Default Xsession
Exec=default
Icon=
Type=Application
X-LightDM-Allow-Greeter=true
my errors log:
debian@debian ~ $ nody-greeter
2023-01-07 03:51:08 [ WARN ] config.js 224: Theme config was not loaded:
Error: ENOENT: no such file or directory, open '/usr/share/web-greeter/themes/neon/index.yml'
2023-01-07 03:51:08 [ DEBUG ] config.js 225: Using default theme config
2023-01-07 03:51:08 [ DEBUG ] browser.js 125: Initializing Browser Window
2023-01-07 03:51:08 [ DEBUG ] browser.js 177: Browser Window created
2023-01-07 03:51:08 [ DEBUG ] screensaver.js 42: Screensaver set
2023-01-07 03:51:08 [ DEBUG ] browser.js 122: Theme loaded
2023-01-07 03:51:08 [ DEBUG ] globals.js 16: Javascript logger is ready
2023-01-07 03:51:08 [ DEBUG ] globals.js 13: Window is ready
2023-01-07 03:51:08 [ ERROR ] bridge.js 53: Error: Unable to determine socket to daemon
at new Greeter (/opt/nody-greeter/resources/app.asar/js/bridge/bridge.js:49:28)
at Function.getInstance (/opt/nody-greeter/resources/app.asar/js/bridge/bridge.js:99:52)
at /opt/nody-greeter/resources/app.asar/js/bridge/bridge.js:718:37
[4262:0107/035108.594826:ERROR:browser_main_loop.cc(269)] <unknown>: lightdm_greeter_ensure_shared_data_dir_sync: assertion 'priv->connected' failed
2023-01-07 03:51:08 [ DEBUG ] bridge.js 70: LightDM API connected
libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
[4293:0107/035108.610142:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
2023-01-07 03:51:23 [ DEBUG ] browser.js 198: Nody Greeter started win: 3850489720471618
[4262:0107/035126.158515:ERROR:browser_main_loop.cc(269)] <unknown>: lightdm_greeter_authenticate: assertion 'priv->connected' failed
[4262:0107/035128.828280:ERROR:browser_main_loop.cc(269)] <unknown>: lightdm_greeter_authenticate: assertion 'priv->connected' failed
[4262:0107/035129.995300:ERROR:browser_main_loop.cc(269)] <unknown>: lightdm_greeter_authenticate: assertion 'priv->connected' failed
[4262:0107/035130.323587:ERROR:browser_main_loop.cc(269)] <unknown>: lightdm_greeter_authenticate: assertion 'priv->connected' failed
[4262:0107/035130.931878:ERROR:browser_main_loop.cc(269)] <unknown>: lightdm_greeter_authenticate: assertion 'priv->connected' failed
2023-01-07 03:51:45 [ DEBUG ] screensaver.js 58: Screensaver reset
i use debian 11, bspwm lightdm
I have nearly the same issue here, in debian 12 with xfce.
--->nody-greeter --debug
[3910:0223/113043.666392:ERROR:node_bindings.cc(242)] Error parsing Node.js cli flags
2024-02-23 11:30:43 [ ERROR ] acpi.js 36: ACPI: acpi_listen does not exists
2024-02-23 11:30:43 [ DEBUG ] browser.js 125: Initializing Browser Window
2024-02-23 11:30:43 [ DEBUG ] browser.js 177: Browser Window created
2024-02-23 11:30:43 [ DEBUG ] screensaver.js 42: Screensaver set
2024-02-23 11:30:43 [ DEBUG ] browser.js 122: Theme loaded
2024-02-23 11:30:43 [ DEBUG ] globals.js 16: Javascript logger is ready
2024-02-23 11:30:43 [ DEBUG ] globals.js 13: Window is ready
2024-02-23 11:30:44 [ ERROR ] bridge.js 53: Error: Unable to determine socket to daemon
at new Greeter (/opt/nody-greeter/resources/app.asar/js/bridge/bridge.js:49:28)
at Function.getInstance (/opt/nody-greeter/resources/app.asar/js/bridge/bridge.js:99:52)
at /opt/nody-greeter/resources/app.asar/js/bridge/bridge.js:718:37
[3910:0223/113044.009476:ERROR:browser_main_loop.cc(269)] <unknown>: lightdm_greeter_ensure_shared_data_dir_sync: assertion 'priv->connected' failed
2024-02-23 11:30:44 [ DEBUG ] bridge.js 70: LightDM API connected
libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
[3942:0223/113044.012296:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
2024-02-23 11:30:48 [ DEBUG ] browser.js 198: Nody Greeter started win: 2785062953156674
[3910:0223/113048.358068:ERROR:browser_main_loop.cc(269)] <unknown>: lightdm_greeter_authenticate: assertion 'priv->connected' failed
2024-02-23 11:30:50 [ DEBUG ] screensaver.js 58: Screensaver reset
Edit: I rebuilt nody-greeter and everything works now!
I managed to get nody-greeter working, but it's saying it cannot connect to socket. Also, my LightDM has error start request too quickly. How do I fix this?