Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with displaying elements and high CPU usage #775

Open
pibiba opened this issue Nov 14, 2024 · 6 comments
Open

Problem with displaying elements and high CPU usage #775

pibiba opened this issue Nov 14, 2024 · 6 comments

Comments

@pibiba
Copy link

pibiba commented Nov 14, 2024

What Happened?

I built lightdm-pantheon-greeter using this PKGBUILD. After that, without configuring anything, I restarted lightdm and was greeted with a beautiful login screen. I switched to another tty and opened btop. CPU load is normal, the cooler is quiet.

Logged in. You can see that the indicators in the wingpanel overlap each other, and the time, date, and password entry window are displayed on the screen. The cooler is noisy.

1

I open the terminal, pay attention to the empty space between the terminal, which is open on the whole screen, and the panel. Also, the window control buttons (close, maximize, minimize) are installed on the left, and here only close and minimize and in different places. As you can see in btop, two instances of wingpanel are running. And one core is loaded at 100%.

2
3

Steps to Reproduce

Installed lightdm-pantheon-greeter
Logged in

Expected Behavior

After logging in, there should be only one control panel, no time, date, or user selection box. The window buttons should be where they were before. There should be no CPU load.

OS Version

Other Linux

Session Type

Classic Session (X11, This is the default)

Software Version

Latest release (I have run all updates)

Log Output

I turned off lightdm and in tty I ran `lightdm --test-mode --debug` but `~/.cache/lightdm/log` didn't appear!


~ ❯ doas tail -f /var/log/dinit/lightdm.log 
Failed to get D-Bus connection

** (lightdm:654): WARNING **: 12:01:43.262: Error terminating login1 session: The connection is closed
Failed to get D-Bus connection

** (lightdm:653): WARNING **: 12:14:57.142: Error terminating login1 session: The connection is closed
Failed to get D-Bus connection

** (lightdm:658): WARNING **: 07:29:03.784: Error terminating login1 session: The connection is closed
Failed to get D-Bus connection
~ ❯ doas tail -f /var/log/lightdm/lightdm.log
[+9.19s] DEBUG: Seat seat0: Session stopped
[+9.19s] DEBUG: Seat seat0: Greeter stopped, running session
[+9.19s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+9.19s] DEBUG: Session pid=24135: Running command /etc/lightdm/Xsession gnome-session --session=pantheon
[+9.19s] DEBUG: Creating shared data directory /var/lib/lightdm-data/user
[+9.19s] DEBUG: Session pid=24135: Logging to .xsession-errors
[+9.20s] DEBUG: Activating VT 7
[+15.27s] DEBUG: Seat seat0 changes active session to 3
[+35.63s] DEBUG: Seat seat0 changes active session to 1
[+58.61s] DEBUG: Seat seat0 changes active session to c4
~ ❯ doas tail -f /var/log/lightdm/seat0-greeter.log
(io.elementary.greeter:23942): GLib-GIO-CRITICAL **: 11:29:26.134: g_settings_set_value: key 'picture-options' in 'org.gnome.desktop.background' expects type 's', but a GVariant of type 'i' was given

** (io.elementary.greeter:23942): CRITICAL **: 11:29:26.136: MainWindow.vala:352: prompt: `Password: ' (1)

(io.elementary.greeter:23942): GLib-GIO-CRITICAL **: 11:29:26.142: g_settings_set_value: key 'picture-options' in 'org.gnome.desktop.background' expects type 's', but a GVariant of type 'i' was given
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x2000007

** (io.elementary.greeter:23942): CRITICAL **: 11:29:26.229: MainWindow.vala:352: prompt: `Password: ' (1)

(io.elementary.wingpanel:23936): io.elementary.wingpanel.sound-CRITICAL **: 11:29:32.572: Indicator.vala:174: Lost connection to org.gnome.Shell


### Hardware Info

Distribution: Artix (Arch WITHOUT systemD)
lightdm 1:1.32.0-6.1
lightdm-pantheon-greeter 8.0.0-1
@pibiba
Copy link
Author

pibiba commented Nov 16, 2024

~/.xsession-errors

(gnome-session-check-accelerated:6772): dbind-WARNING **: 09:50:04.414: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied
gnome-session-binary[6740]: WARNING: Failed to upload environment to systemd: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
gnome-session-binary[6740]: WARNING: Could not check if unit [email protected] is active: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.systemd1 was not provided by any .service files
gnome-session-binary[6740]: WARNING: Failed to reset failed state of units: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
gnome-session-binary[6740]: WARNING: Falling back to non-systemd startup procedure due to error: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
gnome-session-binary[6740]: WARNING: Could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at login.

(gsd-xsettings:6809): dbind-WARNING **: 09:50:04.634: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

(gsd-wacom:6813): dbind-WARNING **: 09:50:04.682: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

(gsd-rfkill:6828): rfkill-plugin-WARNING **: 09:50:04.694: Could not open rfkill device: Could not open RFKILL control device, please verify your installation

(gsd-xsettings:6809): xsettings-plugin-WARNING **: 09:50:04.706: You can only run one xsettings manager at a time; exiting
Failed to start: Could not initialize xsettings manager.

(gsd-color:6822): dbind-WARNING **: 09:50:04.713: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied
gnome-session-binary[6740]: WARNING: App 'pantheon-org.gnome.SettingsDaemon.XSettings.desktop' exited with code 1

(gsd-sharing:6819): sharing-plugin-WARNING **: 09:50:04.757: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.systemd1 was not provided by any .service files

(gsd-sharing:6819): sharing-plugin-WARNING **: 09:50:04.758: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.systemd1 was not provided by any .service files

(gsd-power:6815): dbind-WARNING **: 09:50:04.770: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

(gsd-keyboard:6823): dbind-WARNING **: 09:50:04.774: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

(gsd-datetime:6845): datetime-plugin-WARNING **: 09:50:04.806: Could not get 'org.freedesktop.timedate1.set-timezone' permission: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.timedate1.set-timezone is not registered

(gsd-media-keys:6834): dbind-WARNING **: 09:50:04.812: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied
error: XDG_RUNTIME_DIR is invalid or not set in the environment.

(gsd-usb-protection:6850): usb-protection-plugin-WARNING **: 09:50:04.825: Failed to get screen saver status: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.ScreenSaver was not provided by any .service files

(gsd-usb-protection:6850): usb-protection-plugin-WARNING **: 09:50:04.857: Failed to fetch USBGuard parameters: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.usbguard1 was not provided by any .service files
error: XDG_RUNTIME_DIR is invalid or not set in the environment.

** (gsd-power:6815): WARNING **: 09:50:04.885: Error setting property 'PowerSaveMode' on interface org.gnome.Mutter.DisplayConfig: Cannot invoke method; proxy is for the well-known name org.gnome.Mutter.DisplayConfig without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag (g-io-error-quark, 0)
libmutter-Message: 09:50:04.947: Running Mutter(Gala) (using mutter 46.5) as a X11 window and compositing manager

** (gala:6946): WARNING **: 09:50:05.359: ToucheggBackend.vala:141: Error connecting to Touch?gg daemon: Could not connect: Connection refused

** (gala:6946): WARNING **: 09:50:05.360: ShellClientsManager.vala:58: /home/user/.config/io.elementary.desktop.wm.shell

** (gala:6946): WARNING **: 09:50:05.361: ShellClientsManager.vala:58: /etc/xdg/io.elementary.desktop.wm.shell
Window manager warning: Trying to re-add keybinding "switch-to-workspace-last".
Window manager warning: Trying to re-add keybinding "move-to-workspace-last".

(gala:6946): dbind-WARNING **: 09:50:05.445: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (gala:6946): CRITICAL **: 09:50:05.451: gala_activatable_component_is_opened: assertion 'self != NULL' failed

** (gala:6946): CRITICAL **: 09:50:05.451: gala_activatable_component_is_opened: assertion 'self != NULL' failed

(io.elementary.notifications:6958): dbind-WARNING **: 09:50:05.532: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

(gsd-power:6815): power-plugin-CRITICAL **: 09:50:05.583: update_mutter_backlight: assertion 'backlights != NULL' failed

** (gala:6946): WARNING **: 09:50:05.589: ManagedClient.vala:84: Failed to create daemon subprocess with x: Failed to execute child process ?io.elementary.dock? (No such file or directory)

(gala-daemon-gtk3:6960): dbind-WARNING **: 09:50:05.635: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

(gsd-media-keys:6834): media-keys-plugin-WARNING **: 09:50:05.701: Failed to grab accelerator for keybinding settings:screensaver

(gala:6946): libmutter-WARNING **: 09:50:05.701: Failed to create colord device for 'xrandr-LG Display-0x02d8-0x00000000': failed to obtain org.freedesktop.color-manager.create-device auth

(gsd-media-keys:6834): media-keys-plugin-WARNING **: 09:50:05.702: Failed to grab accelerator for keybinding settings:playback-repeat

(gsd-media-keys:6834): media-keys-plugin-WARNING **: 09:50:05.702: Failed to grab accelerator for keybinding settings:rotate-video-lock

(gsd-media-keys:6834): media-keys-plugin-WARNING **: 09:50:05.702: Failed to grab accelerator for keybinding settings:playback-random

(gsd-media-keys:6834): media-keys-plugin-WARNING **: 09:50:05.702: Failed to grab accelerator for keybinding settings:hibernate

(gsd-media-keys:6834): media-keys-plugin-WARNING **: 09:50:05.702: Failed to grab accelerator for keybinding settings:magnifier

(io.elementary.wingpanel:6989): dbind-WARNING **: 09:50:05.706: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

(io.elementary.wingpanel:6989): Gdk-CRITICAL **: 09:50:05.714: gdk_window_get_origin: assertion 'GDK_IS_WINDOW (window)' failed

(gala:6946): dbind-WARNING **: 09:50:05.904: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied
Window manager warning: Failed to parse saved session file: Failed to open file “/home/user/.config/mutter/sessions/10d13151935fa22251173172540451761000000067400000.ms”: No such file or directory

** (io.elementary.settings-daemon:7018): WARNING **: 09:50:06.178: SystemUpdate.vala:56: Couldn't determine last offline results: no update results available

** (io.elementary.settings-daemon:7018): WARNING **: 09:50:06.179: SystemUpdate.vala:82: Failed to get offline prepared ids: No offline updates have been prepared

(gala:6946): Clutter-CRITICAL **: 09:50:06.311: clutter_actor_set_child_below_sibling: assertion 'child->priv->parent == self' failed

(gala:6946): Clutter-CRITICAL **: 09:50:06.312: clutter_actor_set_child_above_sibling: assertion 'child->priv->parent == self' failed

(gala:6946): Clutter-CRITICAL **: 09:50:06.312: clutter_actor_set_child_above_sibling: assertion 'child->priv->parent == self' failed

(gala:6946): Clutter-CRITICAL **: 09:50:06.312: clutter_actor_set_child_above_sibling: assertion 'child->priv->parent == self' failed

(io.elementary.wingpanel:6989): nm-CRITICAL **: 09:50:06.324: ((../NetworkManager/src/libnm-client-impl/nm-device.c:1143)): assertion '<dropped>' failed

(io.elementary.wingpanel:6989): nm-CRITICAL **: 09:50:06.324: ((../NetworkManager/src/libnm-client-impl/nm-device.c:1143)): assertion '<dropped>' failed

(io.elementary.wingpanel:6989): nm-CRITICAL **: 09:50:06.324: ((../NetworkManager/src/libnm-client-impl/nm-device.c:1143)): assertion '<dropped>' failed

(io.elementary.settings-daemon:7018): dbind-WARNING **: 09:50:06.325: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

(io.elementary.wingpanel:6989): GLib-WARNING **: 09:50:06.329: ../glib/glib/giounix.c:414Error while getting flags for FD: Bad file descriptor (9)

(io.elementary.wingpanel:6989): nm-CRITICAL **: 09:50:06.334: ((../NetworkManager/src/libnm-client-impl/nm-device.c:1143)): assertion '<dropped>' failed

(io.elementary.wingpanel:6989): nm-CRITICAL **: 09:50:06.335: ((../NetworkManager/src/libnm-client-impl/nm-device.c:1143)): assertion '<dropped>' failed

(io.elementary.wingpanel:6989): nm-CRITICAL **: 09:50:06.335: ((../NetworkManager/src/libnm-client-impl/nm-device.c:1143)): assertion '<dropped>' failed

(io.elementary.wingpanel:6989): nm-CRITICAL **: 09:50:06.335: ((../NetworkManager/src/libnm-client-impl/nm-device.c:1143)): assertion '<dropped>' failed

(io.elementary.wingpanel:6989): nm-CRITICAL **: 09:50:06.335: ((../NetworkManager/src/libnm-client-impl/nm-device.c:1143)): assertion '<dropped>' failed

(io.elementary.wingpanel:6989): nm-CRITICAL **: 09:50:06.335: ((../NetworkManager/src/libnm-client-impl/nm-device.c:1143)): assertion '<dropped>' failed
gnome-session-binary[6740]: CODE_FILE=../gnome-session/gnome-session/gsm-manager.c:CODE_LINE=1408:start_phase:Entering running state

** (io.elementary.settings-daemon:7018): CRITICAL **: 09:50:06.522: UbuntuDrivers.vala:65: Failed to get ubuntu-drivers output

** (io.elementary.settings-daemon:7018): CRITICAL **: 09:50:06.532: UbuntuDrivers.vala:109: Failed to get ubuntu-drivers output

** (io.elementary.settings-daemon:7018): CRITICAL **: 09:50:06.536: PowerProfilesSync.vala:86: Lost connection to power profiles daemon

** (io.elementary.settings-daemon:7018): WARNING **: 09:50:06.549: SystemUpdate.vala:88: Failed to refresh cache: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files

** (io.elementary.settings-daemon:7018): WARNING **: 09:50:06.552: SystemUpdate.vala:143: Failed to get available updates: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files

(nm-applet:7094): dbind-WARNING **: 09:50:06.812: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied
Nov 16 09:50 : exception: Failed to bind to '0.0.0.0:6600'; Failed to bind socket: Address already in use

(io.elementary.files:7155): dbind-WARNING **: 09:50:07.079: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

(evolution-alarm-notify:7091): dbind-WARNING **: 09:50:07.111: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:6958): CRITICAL **: 09:50:07.422: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x5000008
doas: Authentication failed

(io.elementary.notifications:7328): dbind-WARNING **: 09:50:09.156: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7328): CRITICAL **: 09:50:09.191: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

(io.elementary.notifications:7336): dbind-WARNING **: 09:50:10.179: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7336): CRITICAL **: 09:50:10.230: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

** (gala:6946): WARNING **: 09:50:10.360: ToucheggBackend.vala:141: Error connecting to Touch?gg daemon: Could not connect: Connection refused

(io.elementary.notifications:7353): dbind-WARNING **: 09:50:11.150: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7353): CRITICAL **: 09:50:11.182: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

(io.elementary.code:7362): dbind-WARNING **: 09:50:11.850: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.files:7155): CRITICAL **: 09:50:12.078: Directory.vala:923: .zsh_history.LOCK FILE INFO unavailable

(io.elementary.notifications:7377): dbind-WARNING **: 09:50:12.202: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7377): CRITICAL **: 09:50:12.252: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

** (io.elementary.code:7362): CRITICAL **: 09:50:12.331: scratch_folder_manager_item_get_path: assertion 'self != NULL' failed

** (io.elementary.code:7362): CRITICAL **: 09:50:12.331: code_choose_project_button_set_active_path: assertion 'active_path != NULL' failed

** (io.elementary.code:7362): CRITICAL **: 09:50:12.344: scratch_folder_manager_item_get_path: assertion 'self != NULL' failed

** (io.elementary.code:7362): CRITICAL **: 09:50:12.345: scratch_folder_manager_item_get_path: assertion 'self != NULL' failed

** (io.elementary.code:7362): CRITICAL **: 09:50:12.365: scratch_folder_manager_item_get_path: assertion 'self != NULL' failed

** (io.elementary.code:7362): CRITICAL **: 09:50:12.366: scratch_folder_manager_item_get_path: assertion 'self != NULL' failed
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x3a00007

** (io.elementary.code:7362): CRITICAL **: 09:50:12.463: scratch_folder_manager_item_get_path: assertion 'self != NULL' failed

(gala:6946): Clutter-WARNING **: 09:50:12.581: Can't update stage views actor unnamed [MetaWindowActorX11] is on because it needs an allocation.

(gala:6946): Clutter-WARNING **: 09:50:12.581: Can't update stage views actor unnamed [MetaSurfaceActorX11] is on because it needs an allocation.

(io.elementary.notifications:7390): dbind-WARNING **: 09:50:13.179: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7390): CRITICAL **: 09:50:13.231: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

(io.elementary.notifications:7398): dbind-WARNING **: 09:50:14.168: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7398): CRITICAL **: 09:50:14.212: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

(io.elementary.notifications:7406): dbind-WARNING **: 09:50:15.160: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7406): CRITICAL **: 09:50:15.192: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

** (gala:6946): WARNING **: 09:50:15.360: ToucheggBackend.vala:141: Error connecting to Touch?gg daemon: Could not connect: Connection refused

(io.elementary.notifications:7414): dbind-WARNING **: 09:50:16.164: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7414): CRITICAL **: 09:50:16.204: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

(io.elementary.notifications:7422): dbind-WARNING **: 09:50:17.153: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7422): CRITICAL **: 09:50:17.188: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

(io.elementary.notifications:7430): dbind-WARNING **: 09:50:18.162: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7430): CRITICAL **: 09:50:18.200: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

(io.elementary.notifications:7438): dbind-WARNING **: 09:50:19.162: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7438): CRITICAL **: 09:50:19.216: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

(io.elementary.notifications:7446): dbind-WARNING **: 09:50:20.153: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7446): CRITICAL **: 09:50:20.188: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

** (gala:6946): WARNING **: 09:50:20.361: ToucheggBackend.vala:141: Error connecting to Touch?gg daemon: Could not connect: Connection refused

(io.elementary.notifications:7454): dbind-WARNING **: 09:50:21.148: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.code:7362): CRITICAL **: 09:50:21.178: scratch_folder_manager_item_get_path: assertion 'self != NULL' failed

** (io.elementary.code:7362): CRITICAL **: 09:50:21.179: scratch_folder_manager_item_get_path: assertion 'self != NULL' failed

** (io.elementary.notifications:7454): CRITICAL **: 09:50:21.183: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug


(io.elementary.code:7362): Gtk-CRITICAL **: 09:50:21.350: gtk_widget_queue_draw_area: assertion 'width >= 0' failed
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug


(io.elementary.code:7362): Gtk-CRITICAL **: 09:50:21.350: gtk_widget_queue_draw_area: assertion 'width >= 0' failed

(io.elementary.code:7362): Gtk-CRITICAL **: 09:50:21.350: gtk_widget_queue_draw_area: assertion 'width >= 0' failed
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug


(io.elementary.code:7362): Gtk-CRITICAL **: 09:50:21.366: gtk_widget_queue_draw_area: assertion 'width >= 0' failed

(io.elementary.code:7362): Gtk-CRITICAL **: 09:50:21.367: gtk_widget_queue_draw_area: assertion 'width >= 0' failed

(io.elementary.notifications:7462): dbind-WARNING **: 09:50:22.156: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7462): CRITICAL **: 09:50:22.192: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

(io.elementary.code:7362): GLib-GObject-CRITICAL **: 09:50:22.561: ../glib/gobject/gsignal.c:2684: instance '0xe4373c01f50' has no handler with id '606'

(io.elementary.code:7362): GLib-GObject-CRITICAL **: 09:50:22.566: ../glib/gobject/gsignal.c:2684: instance '0xe4373da2b70' has no handler with id '3380'

(io.elementary.code:7362): GLib-GObject-CRITICAL **: 09:50:22.566: ../glib/gobject/gsignal.c:2684: instance '0xe4373dc3100' has no handler with id '3496'

(io.elementary.code:7362): GLib-GObject-CRITICAL **: 09:50:22.567: ../glib/gobject/gsignal.c:2684: instance '0xe4373dbef90' has no handler with id '3465'

** (io.elementary.files:7155): CRITICAL **: 09:50:22.674: Directory.vala:923: .zsh_history.LOCK FILE INFO unavailable

(io.elementary.notifications:7471): dbind-WARNING **: 09:50:23.170: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7471): CRITICAL **: 09:50:23.202: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

(io.elementary.notifications:7479): dbind-WARNING **: 09:50:24.158: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7479): CRITICAL **: 09:50:24.195: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

(io.elementary.notifications:7487): dbind-WARNING **: 09:50:25.175: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7487): CRITICAL **: 09:50:25.230: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

** (gala:6946): WARNING **: 09:50:25.361: ToucheggBackend.vala:141: Error connecting to Touch?gg daemon: Could not connect: Connection refused

(io.elementary.notifications:7504): dbind-WARNING **: 09:50:26.156: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7504): CRITICAL **: 09:50:26.189: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

(io.elementary.notifications:7512): dbind-WARNING **: 09:50:27.149: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7512): CRITICAL **: 09:50:27.182: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

(io.elementary.notifications:7520): dbind-WARNING **: 09:50:28.169: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7520): CRITICAL **: 09:50:28.224: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

(io.elementary.notifications:7528): dbind-WARNING **: 09:50:29.148: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7528): CRITICAL **: 09:50:29.181: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

(io.elementary.notifications:7536): dbind-WARNING **: 09:50:30.156: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7536): CRITICAL **: 09:50:30.190: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

** (gala:6946): WARNING **: 09:50:30.361: ToucheggBackend.vala:141: Error connecting to Touch?gg daemon: Could not connect: Connection refused

(io.elementary.notifications:7544): dbind-WARNING **: 09:50:31.150: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7544): CRITICAL **: 09:50:31.183: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

(io.elementary.notifications:7552): dbind-WARNING **: 09:50:32.149: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7552): CRITICAL **: 09:50:32.181: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

(io.elementary.notifications:7576): dbind-WARNING **: 09:50:33.167: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

** (io.elementary.notifications:7576): CRITICAL **: 09:50:33.217: Application.vala:77: Could not aquire bus: org.freedesktop.Notifications

(io.elementary.notifications:7584): dbind-WARNING **: 09:50:34.166: Couldn't connect to accessibility bus: Failed to connect to socket /var/lib/lightdm/.cache/at-spi/bus_0: Permission denied

@pibiba
Copy link
Author

pibiba commented Nov 16, 2024

I run lightdm --test-mode --debug (without sudo/doas) while in the graphical session itself. This window opened, but without the wingpanel, and the directory ~/.cache/lightdm appeared. This is what was inside.

~/.cache/lightdm/log/lightdm.log

[+0.00s] DEBUG: Logging to /home/user/.cache/lightdm/log/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.32.0, UID=1000 PID=29321
[+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/40-io.elementary.greeter.conf
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /var/lib/flatpak/exports/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /home/user/.local/share/flatpak/exports/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/lightdm/lightdm.conf
[+0.00s] DEBUG: Running in user mode
[+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: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
[+0.01s] DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
[+0.01s] DEBUG: Monitoring logind for seats
[+0.01s] DEBUG: New seat added from logind: seat0
[+0.01s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.01s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.01s] DEBUG: Seat seat0: Starting
[+0.01s] DEBUG: Seat seat0: Creating greeter session
[+0.01s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.01s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.02s] DEBUG: Seat seat0: Creating display server of type x
[+0.02s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+0.02s] DEBUG: Seat seat0: Starting local X display
[+0.02s] DEBUG: XServer 1: Logging to /home/user/.cache/lightdm/log/x-1.log
[+0.02s] DEBUG: XServer 1: Writing X server authority to /run/lightdm/root/:1
[+0.02s] WARNING: Error reading existing Xauthority: Failed to open file “/run/lightdm/root/:1”: Permission denied
[+0.02s] WARNING: XServer 1: Failed to write authority: Failed to open X authority /run/lightdm/root/:1: Permission denied
[+0.02s] DEBUG: XServer 1: Launching X Server
[+0.02s] DEBUG: Launching process 29327: /usr/bin/Xephyr :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp
[+0.02s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+0.02s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.02s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.02s] WARNING: Could not enumerate user data directory /var/lib/lightdm-data: Error opening directory '/var/lib/lightdm-data': Permission denied
[+0.18s] DEBUG: Got signal 10 from process 29327
[+0.18s] DEBUG: XServer 1: Got signal from X server :1
[+0.18s] DEBUG: XServer 1: Connecting to XServer :1
[+0.18s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+0.18s] DEBUG: Session: Not setting XDG_VTNR
[+0.18s] DEBUG: Session pid=29333: Started with service 'lightdm-greeter', username 'user'
[+0.20s] DEBUG: Session pid=29333: Authentication complete with return value 0: Success
[+0.20s] DEBUG: Seat seat0: Session authenticated, running command
[+0.20s] DEBUG: Session pid=29333: Not setting XDG_VTNR
[+0.20s] DEBUG: Session pid=29333: Running command /usr/bin/io.elementary.greeter-compositor
[+0.20s] DEBUG: Creating shared data directory /var/lib/lightdm-data/user
[+0.20s] WARNING: Could not create user data directory /var/lib/lightdm-data/user: Error creating directory /var/lib/lightdm-data/user: Permission denied
[+0.20s] DEBUG: Session pid=29333: Logging to /home/user/.cache/lightdm/log/seat0-greeter.log
[+1.69s] DEBUG: Greeter connected version=1.32.0 api=1 resettable=false
[+1.74s] DEBUG: Greeter start authentication for user
[+1.74s] DEBUG: Session: Not setting XDG_VTNR
[+1.74s] DEBUG: Session pid=29393: Started with service 'lightdm', username 'user'
[+1.84s] DEBUG: Session pid=29393: Got 1 message(s) from PAM
[+1.84s] DEBUG: Prompt greeter with 1 message(s)
[+2.29s] DEBUG: Cancel authentication
[+2.29s] DEBUG: Session pid=29393: Sending SIGTERM
[+2.29s] DEBUG: Greeter start authentication for user
[+2.29s] DEBUG: Session: Not setting XDG_VTNR
[+2.29s] DEBUG: Session pid=29395: Started with service 'lightdm', username 'user'
[+2.30s] DEBUG: Session pid=29393: Terminated with signal 15
[+2.30s] DEBUG: Session: Failed during authentication
[+2.30s] DEBUG: Seat seat0: Session stopped
[+2.37s] DEBUG: Session pid=29395: Got 1 message(s) from PAM
[+2.37s] DEBUG: Prompt greeter with 1 message(s)

~/.cache/lightdm/log/seat0-greeter.log

** (process:29333): WARNING **: 17:39:34.488: Failed to open CK session: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files
libmutter-Message: 17:39:34.566: Running Mutter(GreeterCompositor) (using mutter 46.5) as a X11 window and compositing manager
Xlib:  extension "DPMS" missing on display ":1".
Xlib:  extension "DPMS" missing on display ":1".

(io.elementary.greeter-compositor:29337): GLib-GObject-CRITICAL **: 17:39:34.757: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(io.elementary.greeter-compositor:29337): GLib-GObject-CRITICAL **: 17:39:34.757: value "TRUE" of type 'gboolean' is invalid or out of range for property 'visible' of type 'gboolean'
Xlib:  extension "DPMS" missing on display ":1".

(io.elementary.greeter-compositor:29337): GLib-GObject-CRITICAL **: 17:39:34.765: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(io.elementary.greeter-compositor:29337): GLib-GObject-CRITICAL **: 17:39:34.765: value "TRUE" of type 'gboolean' is invalid or out of range for property 'visible' of type 'gboolean'
Xlib:  extension "DPMS" missing on display ":1".

(io.elementary.greeter-compositor:29337): GLib-GObject-CRITICAL **: 17:39:34.766: invalid (NULL) pointer instance

(io.elementary.greeter-compositor:29337): GLib-GObject-CRITICAL **: 17:39:34.766: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(io.elementary.greeter-compositor:29337): GLib-GObject-CRITICAL **: 17:39:34.766: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(io.elementary.greeter-compositor:29337): GLib-GObject-CRITICAL **: 17:39:34.766: value "TRUE" of type 'gboolean' is invalid or out of range for property 'visible' of type 'gboolean'
Xlib:  extension "DPMS" missing on display ":1".

(io.elementary.greeter-compositor:29337): GLib-GObject-CRITICAL **: 17:39:34.768: invalid (NULL) pointer instance

(io.elementary.greeter-compositor:29337): GLib-GObject-CRITICAL **: 17:39:34.768: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(io.elementary.greeter-compositor:29337): GLib-GObject-CRITICAL **: 17:39:34.768: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(io.elementary.greeter-compositor:29337): GLib-GObject-CRITICAL **: 17:39:34.768: value "TRUE" of type 'gboolean' is invalid or out of range for property 'visible' of type 'gboolean'
Xlib:  extension "DPMS" missing on display ":1".

(io.elementary.greeter-compositor:29337): GLib-GObject-CRITICAL **: 17:39:34.770: invalid (NULL) pointer instance

(io.elementary.greeter-compositor:29337): GLib-GObject-CRITICAL **: 17:39:34.770: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(io.elementary.greeter-compositor:29337): GLib-GObject-CRITICAL **: 17:39:34.770: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(io.elementary.greeter-compositor:29337): GLib-GObject-CRITICAL **: 17:39:34.770: value "TRUE" of type 'gboolean' is invalid or out of range for property 'visible' of type 'gboolean'
Xlib:  extension "DPMS" missing on display ":1".

(io.elementary.greeter-compositor:29337): GLib-GObject-CRITICAL **: 17:39:34.774: invalid (NULL) pointer instance

(io.elementary.greeter-compositor:29337): GLib-GObject-CRITICAL **: 17:39:34.774: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(io.elementary.greeter-compositor:29337): GLib-GObject-CRITICAL **: 17:39:34.774: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(io.elementary.greeter-compositor:29337): GLib-GObject-CRITICAL **: 17:39:34.774: value "TRUE" of type 'gboolean' is invalid or out of range for property 'visible' of type 'gboolean'
libEGL warning: DRI3: Screen seems not DRI3 capable
libEGL warning: DRI3: Screen seems not DRI3 capable
MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)
libEGL warning: egl: failed to create dri2 screen

** (io.elementary.greeter-compositor:29337): CRITICAL **: 17:39:35.052: DBus.vala:52: Could not acquire name

** (io.elementary.greeter-compositor:29337): WARNING **: 17:39:35.052: DBusWingpanelManager.vala:30: Could not acquire name


(io.elementary.greeter-compositor:29337): libmutter-WARNING **: 17:39:35.052: Lost or failed to acquire name org.gnome.Mutter.ServiceChannel
Failed to register: Unable to acquire bus name 'io.elementary.notifications'

(io.elementary.greeter:29376): GLib-GIO-CRITICAL **: 17:39:36.545: g_settings_set_value: key 'picture-options' in 'org.gnome.desktop.background' expects type 's', but a GVariant of type 'i' was given

** (io.elementary.greeter:29376): CRITICAL **: 17:39:36.548: MainWindow.vala:352: prompt: `Password: ' (1)
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0xa00007

(io.elementary.greeter:29376): GLib-GIO-CRITICAL **: 17:39:36.561: g_settings_set_value: key 'picture-options' in 'org.gnome.desktop.background' expects type 's', but a GVariant of type 'i' was given

** (io.elementary.greeter:29376): CRITICAL **: 17:39:36.654: MainWindow.vala:352: prompt: `Password: ' (1)
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'
Failed to register: Unable to acquire bus name 'io.elementary.notifications'

~/.cache/lightdm/log/x-1.log

unrecognised device identifier: /dev/input/event2
unrecognised device identifier: /dev/input/event3
unrecognised device identifier: /dev/input/event0
unrecognised device identifier: /dev/input/event1
unrecognised device identifier: /dev/input/event8
unrecognised device identifier: /dev/input/event9
unrecognised device identifier: /dev/input/event10
unrecognised device identifier: /dev/input/event11
unrecognised device identifier: /dev/input/event12
unrecognised device identifier: /dev/input/event13
unrecognised device identifier: /dev/input/event7
Kbd option key (_source) of value (server/udev) not assigned!
Kbd option key (major) of value (13) not assigned!
Kbd option key (minor) of value (69) not assigned!
Kbd option key (config_info) of value (udev:/sys/devices/platform/i8042/serio0/input/input5/event5) not assigned!
couldn't find driver for keyboard device "AT Translated Set 2 keyboard" (/dev/input/event5)
Pointer option key (_source) of value (server/udev) not assigned!
Pointer option key (major) of value (13) not assigned!
Pointer option key (minor) of value (78) not assigned!
Pointer option key (config_info) of value (udev:/sys/devices/platform/i8042/serio1/input/input25/event14) not assigned!
couldn't find driver for pointer device "PS/2 Generic Mouse" (/dev/input/event14)
Pointer option key (_source) of value (server/udev) not assigned!
Pointer option key (major) of value (13) not assigned!
Pointer option key (minor) of value (32) not assigned!
Pointer option key (config_info) of value (udev:/sys/devices/platform/i8042/serio1/input/input25/mouse0) not assigned!
couldn't find driver for pointer device "PS/2 Generic Mouse" (/dev/input/mouse0)
unrecognised device identifier: /dev/input/event6
unrecognised device identifier: /dev/input/event4
(EE) Failed to open authorization file "/run/lightdm/root/:1": Permission denied

@pibiba
Copy link
Author

pibiba commented Dec 13, 2024

I managed to find a second laptop and connect via ssh to see the full output. Well, I don't have enough space for even half of the debugging symbols...

~ ❯ export LC_ALL=C
~ ❯ doas gdb --pid=$(pidof lightdm)
Excess command line arguments ignored. (25615)
GNU gdb (GDB) 15.2
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
25632: No such file or directory.
Attaching to process 25887
Reading symbols from /usr/bin/lightdm...
(No debugging symbols found in /usr/bin/lightdm)
Reading symbols from /usr/lib/libglib-2.0.so.0...
(No debugging symbols found in /usr/lib/libglib-2.0.so.0)
Reading symbols from /usr/lib/libgobject-2.0.so.0...
(No debugging symbols found in /usr/lib/libgobject-2.0.so.0)
Reading symbols from /usr/lib/libgio-2.0.so.0...
(No debugging symbols found in /usr/lib/libgio-2.0.so.0)
Reading symbols from /usr/lib/libXdmcp.so.6...
(No debugging symbols found in /usr/lib/libXdmcp.so.6)
Reading symbols from /usr/lib/libxcb.so.1...
(No debugging symbols found in /usr/lib/libxcb.so.1)
Reading symbols from /usr/lib/libaudit.so.1...
(No debugging symbols found in /usr/lib/libaudit.so.1)
Reading symbols from /usr/lib/libgcrypt.so.20...
(No debugging symbols found in /usr/lib/libgcrypt.so.20)
Reading symbols from /usr/lib/libpam.so.0...
(No debugging symbols found in /usr/lib/libpam.so.0)
Reading symbols from /usr/lib/libgcc_s.so.1...
Reading symbols from /usr/lib/libc.so.6...
(No debugging symbols found in /usr/lib/libc.so.6)
Reading symbols from /usr/lib/libpcre2-8.so.0...
(No debugging symbols found in /usr/lib/libpcre2-8.so.0)
Reading symbols from /usr/lib/libffi.so.8...
(No debugging symbols found in /usr/lib/libffi.so.8)
Reading symbols from /usr/lib/libgmodule-2.0.so.0...
(No debugging symbols found in /usr/lib/libgmodule-2.0.so.0)
Reading symbols from /usr/lib/libz.so.1...
(No debugging symbols found in /usr/lib/libz.so.1)
Reading symbols from /usr/lib/libmount.so.1...
(No debugging symbols found in /usr/lib/libmount.so.1)
Reading symbols from /usr/lib/libXau.so.6...
(No debugging symbols found in /usr/lib/libXau.so.6)
Reading symbols from /usr/lib/libcap-ng.so.0...
(No debugging symbols found in /usr/lib/libcap-ng.so.0)
Reading symbols from /usr/lib/libgpg-error.so.0...
(No debugging symbols found in /usr/lib/libgpg-error.so.0)
Reading symbols from /lib64/ld-linux-x86-64.so.2...
(No debugging symbols found in /lib64/ld-linux-x86-64.so.2)
Reading symbols from /usr/lib/libblkid.so.1...
(No debugging symbols found in /usr/lib/libblkid.so.1)
Reading symbols from /usr/lib/security/pam_shells.so...
(No debugging symbols found in /usr/lib/security/pam_shells.so)
Reading symbols from /usr/lib/security/pam_nologin.so...
(No debugging symbols found in /usr/lib/security/pam_nologin.so)
Reading symbols from /usr/lib/security/pam_faillock.so...
(No debugging symbols found in /usr/lib/security/pam_faillock.so)
Reading symbols from /usr/lib/security/pam_unix.so...
(No debugging symbols found in /usr/lib/security/pam_unix.so)
Reading symbols from /usr/lib/libcrypt.so.2...
(No debugging symbols found in /usr/lib/libcrypt.so.2)
Reading symbols from /usr/lib/libtirpc.so.3...
(No debugging symbols found in /usr/lib/libtirpc.so.3)
Reading symbols from /usr/lib/libnsl.so.3...
(No debugging symbols found in /usr/lib/libnsl.so.3)
Reading symbols from /usr/lib/libgssapi_krb5.so.2...
(No debugging symbols found in /usr/lib/libgssapi_krb5.so.2)
Reading symbols from /usr/lib/libkrb5.so.3...
(No debugging symbols found in /usr/lib/libkrb5.so.3)
Reading symbols from /usr/lib/libk5crypto.so.3...
(No debugging symbols found in /usr/lib/libk5crypto.so.3)
Reading symbols from /usr/lib/libcom_err.so.2...
(No debugging symbols found in /usr/lib/libcom_err.so.2)
Reading symbols from /usr/lib/libkrb5support.so.0...
(No debugging symbols found in /usr/lib/libkrb5support.so.0)
Reading symbols from /usr/lib/libkeyutils.so.1...
(No debugging symbols found in /usr/lib/libkeyutils.so.1)
Reading symbols from /usr/lib/libresolv.so.2...
(No debugging symbols found in /usr/lib/libresolv.so.2)
Reading symbols from /usr/lib/security/pam_permit.so...
(No debugging symbols found in /usr/lib/security/pam_permit.so)
Reading symbols from /usr/lib/security/pam_env.so...
(No debugging symbols found in /usr/lib/security/pam_env.so)
Reading symbols from /usr/lib/security/pam_gnome_keyring.so...
(No debugging symbols found in /usr/lib/security/pam_gnome_keyring.so)
Reading symbols from /usr/lib/security/pam_access.so...
(No debugging symbols found in /usr/lib/security/pam_access.so)
Reading symbols from /usr/lib/security/pam_time.so...
(No debugging symbols found in /usr/lib/security/pam_time.so)
Reading symbols from /usr/lib/security/pam_loginuid.so...
(No debugging symbols found in /usr/lib/security/pam_loginuid.so)
Reading symbols from /usr/lib/security/pam_keyinit.so...
(No debugging symbols found in /usr/lib/security/pam_keyinit.so)
Reading symbols from /usr/lib/security/pam_limits.so...
(No debugging symbols found in /usr/lib/security/pam_limits.so)
Reading symbols from /usr/lib/libelogind.so.0...
(No debugging symbols found in /usr/lib/libelogind.so.0)
Reading symbols from /usr/lib/libcap.so.2...
(No debugging symbols found in /usr/lib/libcap.so.2)
Reading symbols from /usr/lib/security/pam_motd.so...
(No debugging symbols found in /usr/lib/security/pam_motd.so)
Reading symbols from /usr/lib/security/pam_mail.so...
(No debugging symbols found in /usr/lib/security/pam_mail.so)
Reading symbols from /usr/lib/security/pam_umask.so...
(No debugging symbols found in /usr/lib/security/pam_umask.so)
Reading symbols from /usr/lib/security/pam_turnstile.so...
(No debugging symbols found in /usr/lib/security/pam_turnstile.so)
Reading symbols from /usr/lib/security/pam_elogind.so...
(No debugging symbols found in /usr/lib/security/pam_elogind.so)
Reading symbols from /usr/lib/libpam_misc.so.0...
(No debugging symbols found in /usr/lib/libpam_misc.so.0)
Reading symbols from /usr/lib/libm.so.6...
(No debugging symbols found in /usr/lib/libm.so.6)
Reading symbols from /usr/lib/security/pam_deny.so...
(No debugging symbols found in /usr/lib/security/pam_deny.so)
Reading symbols from /usr/lib/security/pam_warn.so...
(No debugging symbols found in /usr/lib/security/pam_warn.so)
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x000060bb855f2c61 in read () from /usr/lib/libc.so.6
(gdb) c
Continuing.
[Detaching after fork from child process 25972]
[Detaching after fork from child process 25974]
[New Thread 0x60bb84ee86c0 (LWP 25975)]
[New Thread 0x60bb7c5ff6c0 (LWP 25976)]
[New Thread 0x60bb7ffff6c0 (LWP 25977)]
[Detaching after fork from child process 25983]
[Detaching after fork from child process 25989]
^C
Thread 1 "lightdm" received signal SIGINT, Interrupt.
0x000060bb855e8e07 in wait4 () from /usr/lib/libc.so.6
(gdb) q
A debugging session is active.

	Inferior 1 [process 25887] will be detached.

Quit anyway? (y or n) y
Detaching from program: /usr/bin/lightdm, process 25887
[Inferior 1 (process 25887) detached]
~ ❯ 

@pibiba
Copy link
Author

pibiba commented Dec 18, 2024

In general, I don't know how to get a normal backtrace anymore...

Connecting to lightdm without logging in:

doas gdb --pid=$(pidof lightdm)
Excess command line arguments ignored. (10972)
GNU gdb (GDB) 15.2
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
  <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
10989: No such file or directory.
Attaching to process 11243
Reading symbols from /usr/bin/lightdm...
(No debugging symbols found in /usr/bin/lightdm)
Reading symbols from /usr/lib/libglib-2.0.so.0...
(No debugging symbols found in /usr/lib/libglib-2.0.so.0)
Reading symbols from /usr/lib/libgobject-2.0.so.0...
(No debugging symbols found in /usr/lib/libgobject-2.0.so.0)
Reading symbols from /usr/lib/libgio-2.0.so.0...
(No debugging symbols found in /usr/lib/libgio-2.0.so.0)
Reading symbols from /usr/lib/libXdmcp.so.6...
(No debugging symbols found in /usr/lib/libXdmcp.so.6)
Reading symbols from /usr/lib/libxcb.so.1...
(No debugging symbols found in /usr/lib/libxcb.so.1)
Reading symbols from /usr/lib/libaudit.so.1...
(No debugging symbols found in /usr/lib/libaudit.so.1)
Reading symbols from /usr/lib/libgcrypt.so.20...
(No debugging symbols found in /usr/lib/libgcrypt.so.20)
Reading symbols from /usr/lib/libpam.so.0...
(No debugging symbols found in /usr/lib/libpam.so.0)
Reading symbols from /usr/lib/libgcc_s.so.1...
Reading symbols from /usr/lib/libc.so.6...

warning: the debug information found in "/usr/lib/debug//usr/lib/libc.so.6.debug" does not match "/usr/lib/libc.so.6" (CRC mismatch).
(No debugging symbols found in /usr/lib/libc.so.6)
Reading symbols from /usr/lib/libpcre2-8.so.0...
(No debugging symbols found in /usr/lib/libpcre2-8.so.0)
Reading symbols from /usr/lib/libffi.so.8...
(No debugging symbols found in /usr/lib/libffi.so.8)
Reading symbols from /usr/lib/libgmodule-2.0.so.0...
(No debugging symbols found in /usr/lib/libgmodule-2.0.so.0)
Reading symbols from /usr/lib/libz.so.1...
(No debugging symbols found in /usr/lib/libz.so.1)
Reading symbols from /usr/lib/libmount.so.1...
(No debugging symbols found in /usr/lib/libmount.so.1)
Reading symbols from /usr/lib/libXau.so.6...
(No debugging symbols found in /usr/lib/libXau.so.6)
Reading symbols from /usr/lib/libcap-ng.so.0...
(No debugging symbols found in /usr/lib/libcap-ng.so.0)
Reading symbols from /usr/lib/libgpg-error.so.0...
(No debugging symbols found in /usr/lib/libgpg-error.so.0)
Reading symbols from /lib64/ld-linux-x86-64.so.2...
(No debugging symbols found in /lib64/ld-linux-x86-64.so.2)
Reading symbols from /usr/lib/libblkid.so.1...
(No debugging symbols found in /usr/lib/libblkid.so.1)
Reading symbols from /usr/lib/security/pam_shells.so...
(No debugging symbols found in /usr/lib/security/pam_shells.so)
Reading symbols from /usr/lib/security/pam_nologin.so...
(No debugging symbols found in /usr/lib/security/pam_nologin.so)
Reading symbols from /usr/lib/security/pam_faillock.so...
(No debugging symbols found in /usr/lib/security/pam_faillock.so)
Reading symbols from /usr/lib/security/pam_unix.so...
(No debugging symbols found in /usr/lib/security/pam_unix.so)
Reading symbols from /usr/lib/libcrypt.so.2...
(No debugging symbols found in /usr/lib/libcrypt.so.2)
Reading symbols from /usr/lib/libtirpc.so.3...
(No debugging symbols found in /usr/lib/libtirpc.so.3)
Reading symbols from /usr/lib/libnsl.so.3...
(No debugging symbols found in /usr/lib/libnsl.so.3)
Reading symbols from /usr/lib/libgssapi_krb5.so.2...
(No debugging symbols found in /usr/lib/libgssapi_krb5.so.2)
Reading symbols from /usr/lib/libkrb5.so.3...
(No debugging symbols found in /usr/lib/libkrb5.so.3)
Reading symbols from /usr/lib/libk5crypto.so.3...
(No debugging symbols found in /usr/lib/libk5crypto.so.3)
Reading symbols from /usr/lib/libcom_err.so.2...
(No debugging symbols found in /usr/lib/libcom_err.so.2)
Reading symbols from /usr/lib/libkrb5support.so.0...
(No debugging symbols found in /usr/lib/libkrb5support.so.0)
Reading symbols from /usr/lib/libkeyutils.so.1...
(No debugging symbols found in /usr/lib/libkeyutils.so.1)
Reading symbols from /usr/lib/libresolv.so.2...

warning: the debug information found in "/usr/lib/debug//usr/lib/libresolv.so.2.debug" does not match "/usr/lib/libresolv.so.2" (CRC mismatch).
(No debugging symbols found in /usr/lib/libresolv.so.2)
Reading symbols from /usr/lib/security/pam_permit.so...
(No debugging symbols found in /usr/lib/security/pam_permit.so)
Reading symbols from /usr/lib/security/pam_env.so...
(No debugging symbols found in /usr/lib/security/pam_env.so)
Reading symbols from /usr/lib/security/pam_gnome_keyring.so...
(No debugging symbols found in /usr/lib/security/pam_gnome_keyring.so)
Reading symbols from /usr/lib/security/pam_access.so...
(No debugging symbols found in /usr/lib/security/pam_access.so)
Reading symbols from /usr/lib/security/pam_time.so...
(No debugging symbols found in /usr/lib/security/pam_time.so)
Reading symbols from /usr/lib/security/pam_loginuid.so...
(No debugging symbols found in /usr/lib/security/pam_loginuid.so)
Reading symbols from /usr/lib/security/pam_keyinit.so...
(No debugging symbols found in /usr/lib/security/pam_keyinit.so)
Reading symbols from /usr/lib/security/pam_limits.so...
(No debugging symbols found in /usr/lib/security/pam_limits.so)
Reading symbols from /usr/lib/libelogind.so.0...
Reading symbols from /usr/lib/libcap.so.2...
(No debugging symbols found in /usr/lib/libcap.so.2)
Reading symbols from /usr/lib/security/pam_motd.so...
(No debugging symbols found in /usr/lib/security/pam_motd.so)
Reading symbols from /usr/lib/security/pam_mail.so...
(No debugging symbols found in /usr/lib/security/pam_mail.so)
Reading symbols from /usr/lib/security/pam_umask.so...
(No debugging symbols found in /usr/lib/security/pam_umask.so)
Reading symbols from /usr/lib/security/pam_turnstile.so...
Reading symbols from /usr/lib/security/pam_elogind.so...
Reading symbols from /usr/lib/libpam_misc.so.0...
(No debugging symbols found in /usr/lib/libpam_misc.so.0)
Reading symbols from /usr/lib/libm.so.6...

warning: the debug information found in "/usr/lib/debug//usr/lib/libm.so.6.debug" does not match "/usr/lib/libm.so.6" (CRC mismatch).
(No debugging symbols found in /usr/lib/libm.so.6)
Reading symbols from /usr/lib/security/pam_deny.so...
(No debugging symbols found in /usr/lib/security/pam_deny.so)
Reading symbols from /usr/lib/security/pam_warn.so...
(No debugging symbols found in /usr/lib/security/pam_warn.so)
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00006ed3a1ed5c61 in read () from /usr/lib/libc.so.6
(gdb) backtrace
#0  0x00006ed3a1ed5c61 in read () at /usr/lib/libc.so.6
#1  0x000006055d691223 in ??? ()
#2  0x000006055d691488 in ??? ()
#3  0x00006ed3a1ff6df2 in pam_vprompt () at /usr/lib/libpam.so.0
#4  0x00006ed3a1ff704f in pam_prompt () at /usr/lib/libpam.so.0
#5  0x00006ed3a1ff7208 in ??? () at /usr/lib/libpam.so.0
#6  0x00006ed3a1c3626d in pam_sm_authenticate ()
  at /usr/lib/security/pam_unix.so
#7  0x00006ed3a1ff501e in ??? () at /usr/lib/libpam.so.0
#8  0x00006ed3a1ff581d in pam_authenticate () at /usr/lib/libpam.so.0
#9  0x000006055d699f83 in ??? ()
#10 0x000006055d682e1c in ??? ()
#11 0x00006ed3a1df6d6e in ??? () at /usr/lib/libc.so.6
#12 0x00006ed3a1df6e2a in __libc_start_main () at /usr/lib/libc.so.6
#13 0x000006055d6837a5 in ??? ()
(gdb)
doas gdb --pid=$(pidof io.elementary.greeter)
GNU gdb (GDB) 15.2
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
  <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 11049
[New LWP 11144]
[New LWP 11143]
[New LWP 11125]
[New LWP 11124]
[New LWP 11123]

warning: the debug information found in "/usr/lib/debug//usr/lib/libm.so.6.debug" does not match "/usr/lib/libm.so.6" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug//usr/lib/libc.so.6.debug" does not match "/usr/lib/libc.so.6" (CRC mismatch).
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00006a19df6f9bf6 in ppoll () from /usr/lib/libc.so.6
(gdb) backtrace
#0  0x00006a19df6f9bf6 in ppoll () at /usr/lib/libc.so.6
#1  0x00006a19e073c76f in ??? () at /usr/lib/libglib-2.0.so.0
#2  0x00006a19e06dcb37 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3  0x00006a19dffd947f in gtk_main () at /usr/lib/libgtk-3.so.0
#4  0x00000a93a2449100 in main ()
(gdb)

When logging in:

doas gdb --pid=$(pidof lightdm)
Excess command line arguments ignored. (10972)
GNU gdb (GDB) 15.2
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
  <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
10989: No such file or directory.
Attaching to process 11243
Reading symbols from /usr/bin/lightdm...
(No debugging symbols found in /usr/bin/lightdm)
Reading symbols from /usr/lib/libglib-2.0.so.0...
(No debugging symbols found in /usr/lib/libglib-2.0.so.0)
Reading symbols from /usr/lib/libgobject-2.0.so.0...
(No debugging symbols found in /usr/lib/libgobject-2.0.so.0)
Reading symbols from /usr/lib/libgio-2.0.so.0...
(No debugging symbols found in /usr/lib/libgio-2.0.so.0)
Reading symbols from /usr/lib/libXdmcp.so.6...
(No debugging symbols found in /usr/lib/libXdmcp.so.6)
Reading symbols from /usr/lib/libxcb.so.1...
(No debugging symbols found in /usr/lib/libxcb.so.1)
Reading symbols from /usr/lib/libaudit.so.1...
(No debugging symbols found in /usr/lib/libaudit.so.1)
Reading symbols from /usr/lib/libgcrypt.so.20...
(No debugging symbols found in /usr/lib/libgcrypt.so.20)
Reading symbols from /usr/lib/libpam.so.0...
(No debugging symbols found in /usr/lib/libpam.so.0)
Reading symbols from /usr/lib/libgcc_s.so.1...
Reading symbols from /usr/lib/libc.so.6...

warning: the debug information found in "/usr/lib/debug//usr/lib/libc.so.6.debug" does not match "/usr/lib/libc.so.6" (CRC mismatch).
(No debugging symbols found in /usr/lib/libc.so.6)
Reading symbols from /usr/lib/libpcre2-8.so.0...
(No debugging symbols found in /usr/lib/libpcre2-8.so.0)
Reading symbols from /usr/lib/libffi.so.8...
(No debugging symbols found in /usr/lib/libffi.so.8)
Reading symbols from /usr/lib/libgmodule-2.0.so.0...
(No debugging symbols found in /usr/lib/libgmodule-2.0.so.0)
Reading symbols from /usr/lib/libz.so.1...
(No debugging symbols found in /usr/lib/libz.so.1)
Reading symbols from /usr/lib/libmount.so.1...
(No debugging symbols found in /usr/lib/libmount.so.1)
Reading symbols from /usr/lib/libXau.so.6...
(No debugging symbols found in /usr/lib/libXau.so.6)
Reading symbols from /usr/lib/libcap-ng.so.0...
(No debugging symbols found in /usr/lib/libcap-ng.so.0)
Reading symbols from /usr/lib/libgpg-error.so.0...
(No debugging symbols found in /usr/lib/libgpg-error.so.0)
Reading symbols from /lib64/ld-linux-x86-64.so.2...
(No debugging symbols found in /lib64/ld-linux-x86-64.so.2)
Reading symbols from /usr/lib/libblkid.so.1...
(No debugging symbols found in /usr/lib/libblkid.so.1)
Reading symbols from /usr/lib/security/pam_shells.so...
(No debugging symbols found in /usr/lib/security/pam_shells.so)
Reading symbols from /usr/lib/security/pam_nologin.so...
(No debugging symbols found in /usr/lib/security/pam_nologin.so)
Reading symbols from /usr/lib/security/pam_faillock.so...
(No debugging symbols found in /usr/lib/security/pam_faillock.so)
Reading symbols from /usr/lib/security/pam_unix.so...
(No debugging symbols found in /usr/lib/security/pam_unix.so)
Reading symbols from /usr/lib/libcrypt.so.2...
(No debugging symbols found in /usr/lib/libcrypt.so.2)
Reading symbols from /usr/lib/libtirpc.so.3...
(No debugging symbols found in /usr/lib/libtirpc.so.3)
Reading symbols from /usr/lib/libnsl.so.3...
(No debugging symbols found in /usr/lib/libnsl.so.3)
Reading symbols from /usr/lib/libgssapi_krb5.so.2...
(No debugging symbols found in /usr/lib/libgssapi_krb5.so.2)
Reading symbols from /usr/lib/libkrb5.so.3...
(No debugging symbols found in /usr/lib/libkrb5.so.3)
Reading symbols from /usr/lib/libk5crypto.so.3...
(No debugging symbols found in /usr/lib/libk5crypto.so.3)
Reading symbols from /usr/lib/libcom_err.so.2...
(No debugging symbols found in /usr/lib/libcom_err.so.2)
Reading symbols from /usr/lib/libkrb5support.so.0...
(No debugging symbols found in /usr/lib/libkrb5support.so.0)
Reading symbols from /usr/lib/libkeyutils.so.1...
(No debugging symbols found in /usr/lib/libkeyutils.so.1)
Reading symbols from /usr/lib/libresolv.so.2...

warning: the debug information found in "/usr/lib/debug//usr/lib/libresolv.so.2.debug" does not match "/usr/lib/libresolv.so.2" (CRC mismatch).
(No debugging symbols found in /usr/lib/libresolv.so.2)
Reading symbols from /usr/lib/security/pam_permit.so...
(No debugging symbols found in /usr/lib/security/pam_permit.so)
Reading symbols from /usr/lib/security/pam_env.so...
(No debugging symbols found in /usr/lib/security/pam_env.so)
Reading symbols from /usr/lib/security/pam_gnome_keyring.so...
(No debugging symbols found in /usr/lib/security/pam_gnome_keyring.so)
Reading symbols from /usr/lib/security/pam_access.so...
(No debugging symbols found in /usr/lib/security/pam_access.so)
Reading symbols from /usr/lib/security/pam_time.so...
(No debugging symbols found in /usr/lib/security/pam_time.so)
Reading symbols from /usr/lib/security/pam_loginuid.so...
(No debugging symbols found in /usr/lib/security/pam_loginuid.so)
Reading symbols from /usr/lib/security/pam_keyinit.so...
(No debugging symbols found in /usr/lib/security/pam_keyinit.so)
Reading symbols from /usr/lib/security/pam_limits.so...
(No debugging symbols found in /usr/lib/security/pam_limits.so)
Reading symbols from /usr/lib/libelogind.so.0...
Reading symbols from /usr/lib/libcap.so.2...
(No debugging symbols found in /usr/lib/libcap.so.2)
Reading symbols from /usr/lib/security/pam_motd.so...
(No debugging symbols found in /usr/lib/security/pam_motd.so)
Reading symbols from /usr/lib/security/pam_mail.so...
(No debugging symbols found in /usr/lib/security/pam_mail.so)
Reading symbols from /usr/lib/security/pam_umask.so...
(No debugging symbols found in /usr/lib/security/pam_umask.so)
Reading symbols from /usr/lib/security/pam_turnstile.so...
Reading symbols from /usr/lib/security/pam_elogind.so...
Reading symbols from /usr/lib/libpam_misc.so.0...
(No debugging symbols found in /usr/lib/libpam_misc.so.0)
Reading symbols from /usr/lib/libm.so.6...

warning: the debug information found in "/usr/lib/debug//usr/lib/libm.so.6.debug" does not match "/usr/lib/libm.so.6" (CRC mismatch).
(No debugging symbols found in /usr/lib/libm.so.6)
Reading symbols from /usr/lib/security/pam_deny.so...
(No debugging symbols found in /usr/lib/security/pam_deny.so)
Reading symbols from /usr/lib/security/pam_warn.so...
(No debugging symbols found in /usr/lib/security/pam_warn.so)
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00006ed3a1ed5c61 in read () from /usr/lib/libc.so.6
(gdb) backtrace
#0  0x00006ed3a1ed5c61 in read () at /usr/lib/libc.so.6
#1  0x000006055d691223 in ??? ()
#2  0x000006055d691488 in ??? ()
#3  0x00006ed3a1ff6df2 in pam_vprompt () at /usr/lib/libpam.so.0
#4  0x00006ed3a1ff704f in pam_prompt () at /usr/lib/libpam.so.0
#5  0x00006ed3a1ff7208 in ??? () at /usr/lib/libpam.so.0
#6  0x00006ed3a1c3626d in pam_sm_authenticate ()
  at /usr/lib/security/pam_unix.so
#7  0x00006ed3a1ff501e in ??? () at /usr/lib/libpam.so.0
#8  0x00006ed3a1ff581d in pam_authenticate () at /usr/lib/libpam.so.0
#9  0x000006055d699f83 in ??? ()
#10 0x000006055d682e1c in ??? ()
#11 0x00006ed3a1df6d6e in ??? () at /usr/lib/libc.so.6
#12 0x00006ed3a1df6e2a in __libc_start_main () at /usr/lib/libc.so.6
#13 0x000006055d6837a5 in ??? ()
(gdb) c
Continuing.
[Detaching after fork from child process 11582]
[Detaching after fork from child process 11584]
[New Thread 0x6ed3a17c96c0 (LWP 11585)]
[New Thread 0x6ed398dff6c0 (LWP 11586)]
[New Thread 0x6ed3a0fc86c0 (LWP 11587)]
[Detaching after fork from child process 11594]
[Detaching after fork from child process 11600]
doas gdb --pid=$(pidof io.elementary.greeter)
GNU gdb (GDB) 15.2
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
  <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 16053
[New LWP 16137]
[New LWP 16136]
[New LWP 16135]
[New LWP 16120]
[New LWP 16119]
[New LWP 16118]

warning: the debug information found in "/usr/lib/debug//usr/lib/libm.so.6.debug" does not match "/usr/lib/libm.so.6" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug//usr/lib/libc.so.6.debug" does not match "/usr/lib/libc.so.6" (CRC mismatch).
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00006d8055894bf6 in ppoll () from /usr/lib/libc.so.6
(gdb) backtrace
#0  0x00006d8055894bf6 in ppoll () at /usr/lib/libc.so.6
#1  0x00006d805689276f in ??? () at /usr/lib/libglib-2.0.so.0
#2  0x00006d8056832b37 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3  0x00006d80561d947f in gtk_main () at /usr/lib/libgtk-3.so.0
#4  0x00000edb7c244100 in main ()
(gdb) c
Continuing.
[Thread 0x6d804b7fe6c0 (LWP 16136) exited]

@pibiba
Copy link
Author

pibiba commented Jan 5, 2025

Hope this helps:

doas gdb --pid=$(pidof io.elementary.greeter)

(gdb) bt
#0  0x000068a54ee87347 in recvmsg () at /usr/lib/libc.so.6
#1  0x000068a54e4a5929 in _xcb_in_read (c=c@entry=0x3d6f360e0f0)
    at /usr/src/debug/libxcb/libxcb-1.17.0/src/xcb_in.c:1011
#2  0x000068a54e4a6b68 in poll_for_next_event
    (c=0x3d6f360e0f0, queued=queued@entry=0)
    at /usr/src/debug/libxcb/libxcb-1.17.0/src/xcb_in.c:719
#3  0x000068a54e4a7fd1 in poll_for_next_event
    (c=<optimized out>, queued=<optimized out>)
    at /usr/src/debug/libxcb/libxcb-1.17.0/src/xcb_in.c:726
#4  0x000068a54e731b67 in poll_for_event
    (dpy=dpy@entry=0x3d6f35eda80, queued_only=0)
    at /usr/src/debug/libx11/libX11-1.8.10/src/xcb_io.c:263
#5  0x000068a54e731d01 in poll_for_response (dpy=dpy@entry=0x3d6f35eda80)
    at /usr/src/debug/libx11/libX11-1.8.10/src/xcb_io.c:310
#6  0x000068a54e735d8a in _XEventsQueued
    (dpy=0x3d6f35eda80, mode=<optimized out>)
    at /usr/src/debug/libx11/libX11-1.8.10/src/xcb_io.c:441
#7  0x000068a54e726db2 in XPending (dpy=0x3d6f35eda80)
    at /usr/src/debug/libx11/libX11-1.8.10/src/Pending.c:55
#8  0x000068a54fd43281 in gdk_check_xpending (display=0x3d6f361bee0)
    at ../gtk/gdk/x11/gdkeventsource.c:269
#9  gdk_event_source_prepare (source=<optimized out>, timeout=<optimized out>)
    at ../gtk/gdk/x11/gdkeventsource.c:287
#10 0x000068a54fe0d386 in ??? () at /usr/lib/libglib-2.0.so.0
#11 0x000068a54fe6d45e in ??? () at /usr/lib/libglib-2.0.so.0
#12 0x000068a54fe0db37 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#13 0x000068a54f5e4fff in gtk_main () at ../gtk/gtk/gtkmain.c:1329
#14 0x000003d6eb697100 in _vala_main
    (args=<optimized out>, args_length1=<optimized out>)
    at src/io.elementary.greeter.p/Application.c:87
#15 main (argc=<optimized out>, argv=<optimized out>)
    at src/io.elementary.greeter.p/Application.c:97
(gdb)

I can't rebuild glib2 and glibc yet...

@pibiba
Copy link
Author

pibiba commented Jan 28, 2025

In general, there are no more ideas or thoughts, but in order to somehow use greeter, you will have to add a script to autostart that will simply kill greeter and wingpanel, which will restart.

#!/bin/sh

doas killall io.elementary.wingpanel
doas killall io.elementary.greeter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant