Closed paescuj closed 7 years ago
Could you check the webkit dev console to see if any errors show up? (just right-click and select "Inspect Element")
Thanks for your quick response!
Already did that, there was exactly the same output as in the x-0-greeter.log plus a few CSS errors from bootstrap and font awesome (I guess those are irrelevant)...
Which distro (including version) are you using?
I'm using Gentoo with kernel version 4.4.26
Hmm..are you able to use any later versions of lightdm and webkit2gtk? Well lightdm isnt the problem for sure, really its most likely an issue with webkitgtk. There has been significant progress made in regards to its performance and stability since the 2.12 series...
Just tested it with the latest versions available on Gentoo:
Still the same issue. No interesting output in the logs or in the console. I've noticed that the profile picture doesn't get displayed, while in the gtk-greeter it does.
Which graphics stack does your system have? Which driver are you using?
It is a integrated Intel HD Graphics 4000 and the kernel driver in use is i915.
@paescuj Could you let me know if you still see this issue with the latest release?
Unfortunately still the same issue using the latest release. However the profile picture is displayed now.
There must be a problem during the pre-authentication process. Possibly due to some special configuration / software compilation on my system. I'll try to figuring out more about this.
Are you using systemd on your system? If so could you check the journal after the issue occurs and post anything you find that is related to the greeter?
Just switched from OpenRC to systemd. Now, the greeter shows a black screen with the following text:
Error opening file: No such file or directory
This is the output of the journal:
Jan 03 23:46:46 localhost systemd[1]: Started Light Display Manager.
Jan 03 23:46:46 localhost lightdm[21252]: ** (lightdm:21252): CRITICAL **: session_get_login1_session_id: assertion 'session != NULL' failed
Jan 03 23:46:46 localhost lightdm[21267]: pam_unix(lightdm-greeter:session): session opened for user root by (uid=0)
Jan 03 23:46:46 localhost systemd-logind[4489]: New session 6 of user root.
Jan 03 23:46:46 localhost systemd[1]: Started Session 6 of user root.
Jan 03 23:46:46 localhost org.a11y.Bus[21276]: Activating service name='org.a11y.atspi.Registry'
Jan 03 23:46:46 localhost org.a11y.Bus[21276]: ** (process:21278): WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
Jan 03 23:46:46 localhost org.a11y.Bus[21276]: Successfully activated service 'org.a11y.atspi.Registry'
Jan 03 23:46:46 localhost org.a11y.atspi.Registry[21283]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Jan 03 23:46:48 localhost systemd-logind[4489]: Removed session 3.
Does the greeter relies on gnome? Because I don't have the gnome environment installed - I'm using awesome wm.
No it doesnt need the full gnome stack. You can see the dependencies on the README. Could you check to see if this directory exists and is not empty? /usr/share/backgrounds
Yes, it does exist and there is a picture in it.
You followed the instructions on the README to build and install the greeter correct? Could you check the file permissions on /usr/share/lightdm-webkit/themes
and make sure the mode is 755? Also check that the theme's index file exists: /usr/share/lightdm-webkit/themes/antergos/index.html
Yes, I did. I can confirm that the mode of /usr/share/lightdm-webkit/themes
is 755
and the file /usr/share/lightdm-webkit/themes/antergos/index.html
exists.
Sorry this is difficult to debug remotely (obviously). Does pressing Tab allow you to focus the password entry field? When you checked the webkit dev console did you switch it to the "Console" tab and then ensure the filters were set to show all messages?
Yes, it really is - thank you for your efforts!
No, the theme doesn't get loaded at all. Just the following:
There aren't any messages in the "Console" tab.
Could you post the contents of /etc/lightdm/lightdm-webkit2-greeter.conf
here?
/etc/lightdm/lightdm-webkit2-greeter.conf:
#
# [greeter]
# debug_mode = Greeter theme debug mode.
# detect_theme_errors = Provide an option to load a fallback theme when theme errors are detected.
# screensaver_timeout = Blank the screen after this many seconds of inactivity.
# secure_mode = Don't allow themes to make remote http requests.
# time_format = A moment.js format string so the greeter can generate localized time for display.
# time_language = Language to use when displaying the time or "auto" to use the system's language.
# webkit_theme = Webkit theme to use.
#
# NOTE: See moment.js documentation for format string options: http://momentjs.com/docs/#/displaying/format/
#
[greeter]
debug_mode = true
detect_theme_errors = true
screensaver_timeout = 300
secure_mode = true
time_format = LT
time_language = auto
webkit_theme = antergos
#
# [branding]
# background_images = Path to directory that contains background images for use by themes.
# logo = Path to logo image for use by greeter themes.
# user_image = Default user image/avatar. This is used by themes for users that have no .face image.
#
# NOTE: Paths must be accessible to the lightdm system user account (so they cannot be anywhere in /home)
#
[branding]
background_images = /usr/share/backgrounds
logo = /usr/share/lightdm-webkit/themes/antergos/img/antergos.png
user_image = /usr/share/lightdm-webkit/themes/antergos/img/antergos-logo-user.png
Hmm..I am at a loss here. I don't see how it possible that you are seeing errors in the console that mention antergos-wallpapers
:confused: It would be helpful to know exactly what the error said though.
I never had errors mentioning antergos-wallpaper
. Instead the greeter has freezed (https://github.com/Antergos/lightdm-webkit2-greeter/issues/95#issue-195595325) and I was unable to login.
Then I switched from OpenRC to systemd (https://github.com/Antergos/lightdm-webkit2-greeter/issues/95#issuecomment-270253109) and now I'm getting a black screen.
Probably my report in this ticket is a bit messy, so if you like to, you can close this issue and I will add a report about the black screen to issue #46.
I must have gotten your issue mixed up with some other issue. Sorry :grimacing:
@paescuj Could you open a new issue for the black screen problem? Be sure to include your logs. Thanks.
After clicking on the clock in the antergos greeter theme, the user and password fields appears but the greeter kind of freezes - the cursor can still be moved around but I'm unable to click on anything or fill in the password field. Similar behaviour also in simple theme. Maybe the greeter has some problem when getting information about the user?
Versions used:
Couldn't find anything interesting in the logs:
lightdm.log:
x-0-greeter.log:
x-0.log: