Open bobby285271 opened 10 months ago
Can you provide the logs of the greeter in journalctl?
This is cat /var/log/lightdm/seat0-greeter.log
Edit: by replacing mutter 45 back to 43 (which behaves fine to me), I can still see all the lines, except that there is no longer SubprocessSupervisor.vala:44: Child process exited with code 1
SubprocessSupervisor.vala:44: Child process exited with code 1
Seems like greeter compositor crashes, which explains why there's black background.
Still an issue
I have no idea how to get backtrace here (as shown in the screenshot above there is nothing is coredumpctl). Later I tried removing these lines and built another VM:
And I tried starting io.elementary.greeter-compositor
myself (I think I pasted all commands I ran here):
Later I tried --replace
and the result is still the same:
[root@nixos:/nix/store/7nrk4vxksyq39wb2pmfg1y7c841zcl7v-elementary-greeter-7.0.0/bin]# unset G_MESSAGES_DEBUG
[root@nixos:/nix/store/7nrk4vxksyq39wb2pmfg1y7c841zcl7v-elementary-greeter-7.0.0/bin]# ./io.elementary.greeter-compositor --replace
libmutter-Message: 16:45:34.248: Running Mutter(GreeterCompositor) (using mutter 45.rc) as a X11 window and compositing manager
libEGL warning: DRI2: failed to authenticate
Window manager error: Another compositing manager is already running on screen 0 on display “:0”.
Later I tried building VM on nixos-unstable (which is on GNOME 44 and we pin Mutter on 43 for Pantheon, and greeter work fine there), I did not remove the lines in greeter/src/Application.vala
but I killed io.elementary.greeter-compositor
manually and using the above steps I was able to start it fine so I think I should be testing it right? :confused:
I finally got around to revisit this. The issue here is exactly this one, and this workaround works for me at least for this issue (note that this is not proper fix as mentioned in upstream).
Edit: Now also saw this fix, might probably try later.
(I am still pinning mutter to a patched 43.8 for NixOS Pantheon right now)
By copying the
vapi
changes from https://github.com/elementary/gala/pull/1746/commits/8b65beb1d60e51af26cfda2819e837d3e3975e39 (https://github.com/elementary/greeter/commit/4c38949d7f307e3c576bc6f7d240106a72c2902a) it already builds but it looks quite weird (as shown in screenshot, I do can use it to login / unlock screen though :woman_shrugging:), not sure if this can be reproduced somewhere.There are no crash or failed units from my first observations.?