nody-greeter icon indicating copy to clipboard operation
nody-greeter copied to clipboard

nody-greeter doesnt work, but web-greeter does

Open Crylia opened this issue 2 years ago • 1 comments

Environment

  • OS: Pop_OS! 22.04
  • nody-greeter version: 1.4.1

Bug description

When starting I'm greeted with a blinking cursor

Steps to reproduce

Install as described

Expected behavior

Work like normal

Logs

/var/log/lightdm/lightdm.log

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=83393
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-log-backup.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/xdg/lightdm/lightdm.conf.d/90-greeter-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.00s] DEBUG: Monitoring logind for seats
[+0.00s] DEBUG: New seat added from logind: seat0
[+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.00s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.00s] DEBUG: Seat seat0: Starting
[+0.00s] DEBUG: Seat seat0: Creating greeter session
[+0.00s] DEBUG: Seat seat0: Creating display server of type x
[+0.00s] DEBUG: Using VT 7
[+0.00s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.00s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.00s] DEBUG: XServer 0: Writing X server authority to /var/run/lightdm/root/:0
[+0.00s] DEBUG: XServer 0: Launching X Server
[+0.00s] DEBUG: Launching process 83399: /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.00s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.00s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.00s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.00s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.02s] DEBUG: Seat seat0 changes active session to
[+0.92s] DEBUG: Got signal 10 from process 83399
[+0.92s] DEBUG: XServer 0: Got signal from X server :0
[+0.92s] DEBUG: XServer 0: Connecting to XServer :0
[+0.92s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+0.92s] DEBUG: Session pid=83408: Started with service 'lightdm-greeter', username 'lightdm'
[+0.95s] DEBUG: Session pid=83408: Authentication complete with return value 0: Success
[+0.95s] DEBUG: Seat seat0: Session authenticated, running command
[+0.95s] DEBUG: Session pid=83408: Running command /etc/lightdm/Xgreeter /usr/bin/nody-greeter
[+0.95s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+0.95s] DEBUG: Session pid=83408: Logging to /var/log/lightdm/seat0-greeter.log
[+0.97s] DEBUG: Activating VT 7
[+1.45s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+1.45s] DEBUG: Greeter requests data directory for user crylia
[+1.45s] DEBUG: Creating shared data directory /var/lib/lightdm-data/crylia
[+2.48s] DEBUG: Session pid=83408: Exited with return value 1
[+2.48s] DEBUG: Seat seat0: Session stopped
[+2.48s] DEBUG: Seat seat0: Stopping; failed to start a greeter
[+2.48s] DEBUG: Seat seat0: Stopping
[+2.48s] DEBUG: Seat seat0: Stopping display server
[+2.48s] DEBUG: Sending signal 15 to process 83399
[+3.07s] DEBUG: Process 83399 exited with return value 0
[+3.07s] DEBUG: XServer 0: X server stopped
[+3.07s] DEBUG: Releasing VT 7
[+3.07s] DEBUG: XServer 0: Removing X server authority /var/run/lightdm/root/:0
[+3.07s] DEBUG: Seat seat0: Display server stopped
[+3.07s] DEBUG: Seat seat0: Stopped
[+3.07s] DEBUG: Required seat has stopped
[+3.07s] DEBUG: Stopping display manager
[+3.07s] DEBUG: Display manager stopped
[+3.07s] DEBUG: Stopping daemon
[+3.07s] DEBUG: Exiting with return value 1
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=85579
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-log-backup.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/xdg/lightdm/lightdm.conf.d/90-greeter-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using Xephyr for X servers
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.00s] DEBUG: Monitoring logind for seats
[+0.00s] DEBUG: New seat added from logind: seat0
[+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.00s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.00s] DEBUG: Seat seat0: Starting
[+0.00s] DEBUG: Seat seat0: Creating greeter session
[+0.00s] DEBUG: Seat seat0: Creating display server of type x
[+0.00s] DEBUG: Using VT 7
[+0.00s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.00s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.00s] DEBUG: XServer 0: Writing X server authority to /var/run/lightdm/root/:0
[+0.00s] DEBUG: XServer 0: Launching X Server
[+0.00s] DEBUG: Launching process 85585: /usr/bin/Xephyr :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.00s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.00s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.00s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.00s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.01s] DEBUG: Process 85585 exited with return value 1
[+0.01s] DEBUG: XServer 0: X server stopped
[+0.01s] DEBUG: Releasing VT 7
[+0.01s] DEBUG: XServer 0: Removing X server authority /var/run/lightdm/root/:0
[+0.01s] DEBUG: Seat seat0: Display server stopped
[+0.01s] DEBUG: Seat seat0: Stopping session
[+0.01s] DEBUG: Seat seat0: Session stopped
[+0.01s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+0.01s] DEBUG: Seat seat0: Stopping; greeter display server failed to start
[+0.01s] DEBUG: Seat seat0: Stopping
[+0.01s] DEBUG: Seat seat0: Stopped
[+0.01s] DEBUG: Required seat has stopped
[+0.01s] DEBUG: Stopping display manager
[+0.01s] DEBUG: Display manager stopped
[+0.01s] DEBUG: Stopping daemon
[+0.01s] DEBUG: Exiting with return value 1

/var/log/lightdm/seat0-greeter.log

** (process:83408): WARNING **: 19:47:22.282: Failed to open CK session: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files
2022-04-26 19:47:22 [ WARN ] config.js 220: Theme config was not loaded:
	Error: ENOENT: no such file or directory, open '/usr/share/web-greeter/themes/glorious-fork/index.yml' (tried to rename index.html to index.yml, this just dumped the content as an error)
2022-04-26 19:47:22 [ DEBUG ] config.js 221: Using default theme config
2022-04-26 19:47:22 [ DEBUG ] browser.js 121: Initializing Browser Window
2022-04-26 19:47:22 [ DEBUG ] browser.js 173: Browser Window created
2022-04-26 19:47:22 [ DEBUG ] screensaver.js 40: Screensaver set
2022-04-26 19:47:22 [ DEBUG ] browser.js 118: Theme loaded
2022-04-26 19:47:22 [ DEBUG ] globals.js 16: Javascript logger is ready
2022-04-26 19:47:22 [ DEBUG ] globals.js 13: Window is ready
2022-04-26 19:47:22 [ DEBUG ] bridge.js 65: LightDM API connected
[83416:0426/194723.711881:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye.

Sorry to bother you again but It worked fine on my laptop but not on my main PC. It should in theory be the same installation with similar packaged. For some reason web-greeter works just fine.

Crylia avatar Apr 26 '22 17:04 Crylia

This time seems to be an Electron.js error. So, I have to ask: does this also happen on a desktop environment?

Also, try to set this line:

Exec=env ELECTRON_ENABLE_LOGGING=true ELECTRON_DEBUG_NOTIFICATIONS=true ELECTRON_ENABLE_STACK_DUMPING=true nody-greeter

... inside the xgreeter file (/usr/share/xgreeters/nody-greeter.desktop) and restart lightdm just to catch the possible electron.js errors inside /var/log/lightdm/seat0-greeter.log. According to this reddit post, it could be a missing file in the nody-greeter install directory.

Furthermore, check if the owner is set to root in /opt/nody-greeter directory.

JezerM avatar Apr 26 '22 23:04 JezerM

I can't reproduce this anymore so you can close this if you want

Crylia avatar Sep 17 '22 11:09 Crylia