JezerM / web-greeter

A modern, visually appealing greeter for LightDM.
https://jezerm.github.io/web-greeter-page/
GNU General Public License v3.0
203 stars 10 forks source link

Third party themes not working on Ubuntu 22.10 #58

Open lfom opened 1 year ago

lfom commented 1 year ago

Environment

Bug description

Firstly, thanks for maintaining web-greeter. I have installed the version above and, while the builtin themes gruvbox and dracula seem to work fine, third party themes like glorious or gab do not: the theme loads fine, but nothing happens after entering the password.

I have not find anything in the system journal, and only similar errors to #51.

I also have found this, and indeed Xubuntu 22.10 uses webkit2gtk v2.38.2.

Steps to reproduce

  1. Install web-greeter using latest deb package
  2. Enable web-greeter in lightdm
  3. Test if the default theme gruvbox works
  4. Try to install and use a third party theme
  5. Theme loads fine but it not possible to login (silent fail)

Expected behavior

User should be able to login when using third party themes.

Screenshots

N/A

JezerM commented 1 year ago

Well, the glorious theme doesn't work at all even in lightdm-webkit2-greeter due to some unresolved bugs, so I recommend you to use my fork, though it implements a different translation system.

About gab, I made some fixes a long time ago, but I haven't checked it recently. I will try to diagnose it.

I also have found this, and indeed Xubuntu 22.10 uses webkit2gtk v2.38.2

It shouldn't been an issue as everything related to LightDM is handled in the backend side, as opposed to lightdm-webkit2-greeter that handles LightDM in the rendered process (the webpage itself) where the mentioned issue occurs.

JezerM commented 1 year ago

Also, could you provide the log in /var/log/lightdm/seat0-greeter.log? You must use gab or glorious to see the error in the log, so I could traceback it.

lfom commented 1 year ago

I searched the logs, but could not find anything with "gab", weird... This is the part when I tried to use glorious:

https://0.0g.gg/?4b04931475e5eb0c#t1GajRbjK25Uhmao5viBJDSJNzz1dJ7cjYiDKQ9jmhH

raven2cz commented 1 year ago

There is my short discussion about change api for authenticate method.

https://www.reddit.com/r/archlinux/comments/xpjmeq/lightdm_authenticate_process_stop_working_after/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=1&utm_content=share_button

Problem is new weblit2gtk library which hasn't backward compatibility and destroy these themes.

downgrade webkit2gtk help. But I left glorious and start using web-greeter and your themes. It's much more better, thanks for your work.

JezerM commented 1 year ago

Problem is new weblit2gtk library which hasn't backward compatibility and destroy these themes.

Yeah, but web-greeter does not use webkit2gtk, so that issue shouldn't affect this greeter.

JezerM commented 1 year ago

About the logs, it seems like the theme never calls the authenticate method. I will try to fix it soon.