Skip to content
This repository has been archived by the owner. It is now read-only.

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

Open
k3vin73 opened this issue Jan 21, 2017 · 12 comments

Comments

Projects
None yet
7 participants
@k3vin73
Copy link

commented Jan 21, 2017

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

This comment has been minimized.

Copy link
Member

commented Jan 21, 2017

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

@k3vin73

This comment has been minimized.

Copy link
Author

commented Jan 21, 2017

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

This comment has been minimized.

Copy link
Member

commented Jan 21, 2017

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

@k3vin73

This comment has been minimized.

Copy link
Author

commented Jan 21, 2017

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.

@k3vin73

This comment has been minimized.

Copy link
Author

commented Jan 24, 2017

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

@lots0logs

This comment has been minimized.

Copy link
Member

commented Jan 24, 2017

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

@lots0logs

This comment has been minimized.

Copy link
Member

commented Jan 24, 2017

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

@bajidu

This comment has been minimized.

Copy link

commented Feb 28, 2017

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

This comment has been minimized.

Copy link

commented Jun 10, 2017

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

This comment has been minimized.

Copy link

commented Jun 20, 2017

+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

This comment has been minimized.

Copy link

commented Nov 5, 2017

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

This comment has been minimized.

Copy link

commented Nov 5, 2017

/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.background_images.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;

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.