Antergos / web-greeter

A modern, visually appealing greeter for LightDM.
http://antergos.github.io/web-greeter
GNU General Public License v3.0
233 stars 57 forks source link

An error detected in the current theme that could interfere with the system login process again #108

Open kevinG73 opened 7 years ago

kevinG73 commented 7 years ago

Hello, I installed lightdm without encountering any error Then I installed lightdm-webkit2-greeter Then configured like on arch linux wiki sudo leafpad /etc/lightdm/lightdm-webkit2-greeter.conf http://pastebin.com/VmV2y003

And i enabled the greeter sudo leafpad /etc/lightdm/lightdm.conf http://pastebin.com/eRCk73G1

when i did it $ lightdm --test-mode --debug

i get it error was detected in the current theme that could interfere with the system login ... (maybe it doesn't support test debug but i do'nt know really ) debug message with the test

http://pastebin.com/CFcUqmnT and another logs , most important

cat /var/log/lightdm/x-0-greeter.log http://pastebin.com/wnwdMkTK

But with "lightdm-gtk-greeter" there is no problem

lots0logs commented 7 years ago

Hi, the greeter does not support lightdm's --test-mode. Have you tried it normally?

kevinG73 commented 7 years ago

yes several times i tried normally.

lightdm-gtk-greeter:6709): Gtk-WARNING **: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar) i noticed it in /var/log/lightdm/x-0-greeter.log i tried to fix in downgrading gtk3 but it doesn't work black screen with gtk3-3.18

lots0logs commented 7 years ago

That log is from GTK greeter. Could you post a log that is from an attempt made to login using webkit2 greeter?

kevinG73 commented 7 years ago

it's that i posted as i can't login throught lightdm webkit2 . but when i choose cancel while login it works . but when i boot everytime same message again.

kevinG73 commented 7 years ago

I get the same message from /var/log/lightdm/x-0-greeter.log , nothing about lightdm webkit2

lots0logs commented 7 years ago

Try enabling debug mode in the greeter config file and then see if it outputs any errors to the log.

lots0logs commented 7 years ago

Also check in /var/log/lightdm/x-0-greeter.log.old

bajidu commented 7 years ago

I have the same issue - nearly. With the first login everything is ok, but logging in and out again the error prompts. Seems to be an issue with javascript being loaded.

In my case the /var/log/lightdm/seat0-greeter.log tells me:

file:///usr/share/lightdm-webkit/themes/glitchdm/js/main.js:1:30: CONSOLE ERROR ReferenceError: Can't find variable: lightdm

** (lightdm-webkit2-greeter:549): WARNING **: [ERROR] :: A problem was detected with the current theme.....

So the weird thing is just that it works fine the first time (new system start) Hope this helps!

eratio08 commented 7 years ago

Hey, I get the same error after locking the screen (from /var/log/lightdm/seat0-greeter.log)

file:///usr/share/lightdm-webkit/themes/macos/resources/js/script.js:197:26: CONSOLE ERROR ReferenceError: Can't find variable: lightdm

** (lightdm-webkit2-greeter:27408): WARNING **: [ERROR] :: A problem was detected with the current theme. Falling back to default theme...

The first login after the system start always works. I'm using light locker. Don't know if this has any effect on the process. (error occurs with the MacOS Theme https://github.com/ZoomTen/lightdm-webkit-theme-macos - could also be a bad usage by the theme)

zyfdegh commented 7 years ago

+1 I got some similar log

$ cat /uar/lowlightdm/seat0-greeter.log
libua error: ua_getDriuerName() failed with unknown libva error,driuer_name=(null) 
libua error: ua_getDriuerName() failed with unknown libua error,driuer_name=(null) 
libua error: ua_getDriuerName() failed with unknown libva error,driuer_name=(null) 
undefined:13824:52: CONSOLE ERROR TypeError: undefined is not an object (evaluating 'user.username') 
** (lightdm-webkit2-greeter:397): WARNING **: [ERROR] :: A problem was detected with the current theme. Falling back to default theme... 
file:///usr/share/lightdm-webkit/themes/antergos/js/greeter.js:337:66: CONSOLE ERROR TypeError: undefined is not an object (evaluating '_util.background_images.length') 
dermitdemdino commented 6 years ago

Same here: /var/log/lightdm/seat0-greeter.log:

(lightdm-webkit2-greeter:646): WARNING : [ERROR] :: A problem was detected with the current theme. Falling back to default theme...

killajoe commented 6 years ago

/usr/share/lightdm-webkit/themes/antergos/js/greeter.js

_file:///usr/share/lightdm-webkit/themes/antergos/js/greeter.js:337:66: CONSOLE ERROR TypeError: undefined is not an object (evaluating '_util.backgroundimages.length')

init_config_values() {
        var logo, user_image, debug, background_images, background_images_dir;

        if ( 'undefined' !== typeof( config ) ) {

            logo = config.get_str( 'branding', 'logo' ) || 'img/antergos.png';
            user_image = config.get_str( 'branding', 'user_image' ) || 'img/antergos-logo-user.png';
            background_images_dir = config.get_str( 'branding', 'background_images' ) || '/usr/share/antergos/wallpapers';
            debug = config.get_bool( 'greeter', 'debug_mode' ) || false;