FS#75988 - [lightdm-webkit-theme-litarvan] "webkit2gtk" cause un loop infini

Attached to Project: Community Packages
Opened by Nico Pat (Manix) - Friday, 23 September 2022, 13:39 GMT
Last edited by Toolybird (Toolybird) - Sunday, 23 October 2022, 06:33 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Filipe Laíns (FFY00)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 12
Private No

Details

updating webkit2gtk to version (2.38.0-2) causes an infinite loop with lightdm :
https://wiki.archlinux.org/title/LightDM#Infinite_login_loop

the downgrade of the package solves this problem. (2.36.7-1)
source : https://github.com/Litarvan/lightdm-webkit-theme-litarvan/issues/186
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 23 October 2022, 06:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  webkit2gtk-2.38.1-1
Comment by Torus (T0t0) - Friday, 23 September 2022, 16:30 GMT
I tried to disable lightdm to go through startx, but it's the same. Downgrading webkit2gtk packages does indeed solve the problem.
Comment by Bamboo (bamboo1539) - Friday, 23 September 2022, 20:28 GMT
/var/log/lightdm/seat0-greeter.log reports the following

** (WebKitWebProcess:622): CRITICAL **: 22:12:31.133: lightdm_greeter_authenticate: assertion 'priv->connected' failed

Downgrading the package solves the problem and the above log line no longer appears.
Comment by Toolybird (Toolybird) - Friday, 23 September 2022, 23:37 GMT
So this means you must be using a webkit based greeter? i.e. "lightdm-webkit2-greeter" or "lightdm-webkit-theme-litarvan"? The first one looks dead upstream and there is this [1] for the second one. If it's some other greeter from the AUR or wherever then I'm afraid you're sadly outta luck. Please specify which greeter you are using.

Edit: fixed the url tags above and now I can see litarvan theme mentioned

[1] https://github.com/Litarvan/lightdm-webkit-theme-litarvan/issues/186
Comment by Torus (T0t0) - Friday, 23 September 2022, 23:51 GMT
Indeed, I use lightdm-webkit-theme-litarvan 3.1.0-1
Comment by simonzack (simonzack) - Saturday, 24 September 2022, 07:23 GMT
This also occurs for me for the *AUR* theme https://aur.archlinux.org/packages/lightdm-webkit-theme-aether/.
Comment by Ave (electron271) - Saturday, 24 September 2022, 21:51 GMT
Getting this issue with lightdm-webkit-theme-litarvan, the solution is to downgrade for now
Comment by Scott Crunkleton (crunk1) - Monday, 26 September 2022, 19:22 GMT
Voted. I also have this issue. As of this time, latest version of webkit2gtk is 2.38.0-2. Tried downgrading to 2.38.0-1, but didn't work. Downgrading to 2.36.7-1 worked.

Package versions:
lightdm 1:1.32.0-4
lightdm-webkit-theme-litarvan 3.1.0-1
lightdm-webkit2-greeter 2.2.5-6
Comment by lesebas (lesebas) - Wednesday, 28 September 2022, 19:46 GMT
Same issue for me, using webkit2 greeter with petrichor theme (https://github.com/phillid/petrichor). Downgrading to 2.36 solve the issue
Comment by CodingCellist (CodingCellist) - Monday, 03 October 2022, 08:11 GMT
The common denominator seems to be `lightdm-webkit2-greeter`. The themes themselves (i.e. litarvan, aether, and petrichor) aren't causing the issue, but they all install and rely on the greeter for rendering the theme.

Given that this appears to be a fix for a different problem [1] which may get reverted/fixed in a more robust way [2], I think the best approach is to wait and see what happens with that. But if `lightdm-webkit2-greeter` still doesn't work, it should possibly be removed from the package list (and/or replaced with a different webkit2 greeter) to avoid new installs being broken from the get-go, and also since the original upstream project is dead [3].

[1] https://bugs.webkit.org/show_bug.cgi?id=221489
[2] https://bugs.webkit.org/show_bug.cgi?id=245784
[3] https://github.com/Antergos/web-greeter
Comment by James Verbunk (verbunk) - Monday, 17 October 2022, 22:01 GMT
FWIW - Someone forked Antegros/web-greeter and carried it forward with v3.0.0 based on some updated framework here. https://github.com/JezerM/web-greeter

It has a commit as of yesterday.

Comment by simonzack (simonzack) - Tuesday, 18 October 2022, 05:23 GMT
That same guy says his https://github.com/JezerM/nody-greeter is better. But that one doesn't have an AUR package. Would be nice to use that one.
Comment by Toolybird (Toolybird) - Sunday, 23 October 2022, 06:32 GMT
So this appears to be working again with latest webkit2gtk 2.38.1-1

Loading...