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

Third party themes not working on Ubuntu 22.10 #58

Open
lfom opened this issue Dec 15, 2022 · 6 comments
Open

Third party themes not working on Ubuntu 22.10 #58

lfom opened this issue Dec 15, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@lfom
Copy link

lfom commented Dec 15, 2022

Environment

  • OS: Xubuntu 21.10
  • web-greeter version: web-greeter-3.5.1-ubuntu.deb

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

@lfom lfom added the bug Something isn't working label Dec 15, 2022
@JezerM
Copy link
Owner

JezerM commented Dec 18, 2022

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
Copy link
Owner

JezerM commented Dec 18, 2022

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
Copy link
Author

lfom commented Dec 19, 2022

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
Copy link

raven2cz commented Dec 19, 2022

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
Copy link
Owner

JezerM commented Dec 19, 2022

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
Copy link
Owner

JezerM commented Dec 19, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants