Linux Lite Forums

General => On Topic => Topic started by: Jerry on November 16, 2014, 06:01:04 PM

Title: Tracking down the elusive lightdm-webkit-greeter bug
Post by: Jerry on November 16, 2014, 06:01:04 PM
Whilst making changes to the new login screen, I noticed in the /usr/share/lightdm-webkit/themes/linuxlite/index.theme file the following line was:

Code: [Select]
session=gnome
So I changed it to:

Code: [Select]
session=xfce4
and it seems to have done no harm. I've made this change on my main system as well as in VB.
I am hoping that this is the cause of the occasional time where you login and the webkit-greeter window appears and you have to close it.
If you'd like to jump on the 'test that theory bandwagon' please feel free and let me know how you get on :)
Title: Re: Tracking down the elusive lightdm-webkit-greeter bug
Post by: gold_finger on November 16, 2014, 07:26:35 PM
Just changed it on my system.  Will let you know if it causes any immediate issues.  I've had the occational greeter window pop-up before, but not very often -- so probably won't know for sure if problem solved until a few weeks go by.
Title: Re: Tracking down the elusive lightdm-webkit-greeter bug
Post by: Jerry on November 16, 2014, 07:27:40 PM
That's ok gold_finger, thanks for helping.
Title: Re: Tracking down the elusive lightdm-webkit-greeter bug
Post by: Scott on November 16, 2014, 11:23:47 PM
Just changed it on my system too. Like gold_finger the problem doesn't occur very often. About the only semi-consistent thing I could say about it is when it does happen it will happen on maybe three consecutive boots and then not again for a month or more.
Title: Re: Tracking down the elusive lightdm-webkit-greeter bug
Post by: gold_finger on December 14, 2014, 01:06:20 PM
Just following up on this.  So far no webkit greeter has popped-up on my main system that was changed a few weeks ago.

HOWEVER -- I just installed LL 2.2 (32-bit) yesterday to spare laptop to test some things out and today got the pop-up.  Checked referenced file and noticed that it was already set to "session=xfce", so I assume that fix was added to the ISO file.  Apparently that didn't fix the issue.

Oh well -- guess it will remain a mystery.  :-\
Title: Re: Tracking down the elusive lightdm-webkit-greeter bug
Post by: Jerry on December 14, 2014, 02:44:10 PM
Thanks gold_finger. I've had it appear once in 2.2 I take pride in offering a bug free OS so in 3.0 it's quite likely I'll drop lightdm webkit and use lightdm greeter or something else.
Title: Re: Tracking down the elusive lightdm-webkit-greeter bug
Post by: technomancer on March 26, 2015, 12:06:03 PM
I have the "lightdm-webkit-greeter" as an empty window, window popping up at every startup when i log into my profile. However on my spouses profile it never comes up. I assume it has something to do with customizations I have done. I will try the fix below, and post any findings....... ::)
Title: Re: Tracking down the elusive lightdm-webkit-greeter bug
Post by: technomancer on March 26, 2015, 12:10:37 PM
It looks as if the entry is correct. Any ideas ? I am going to try the default theme.

(http://s5.postimg.org/3rjltvt6b/lightdm_error.jpg)

Update: I switched back to the Default window theme and
window appearance theme and logged in several times-> no more odd behavior.no window.
Most likely a theming issue/setting. Solved for me.
As far as to why it happens,

I may look into it -----------unless Jerry goes to lightdm-greeter instead of lightdm-webkit.
Title: Re: Tracking down the elusive lightdm-webkit-greeter bug
Post by: rokytnji on March 26, 2015, 04:37:26 PM
For me. On my touchscreen Dell. When I got a Lightdm ghost desktop that i could just close in the toolbar.

I ran a strace and a dmesg | tail in terminal right afterwards to see if I could figure out the errors.
It was just a mental exercise for me so I did not post about it.

Just command line foo stuff. It does not happen enough (all the time) to really concern me.
I have a heavily customized theme and icon and font Linux-Lite install.

https://www.linuxliteos.com/forums/index.php?topic=117.msg9599#msg9599 (https://www.linuxliteos.com/forums/index.php?topic=117.msg9599#msg9599)
Title: Re: Tracking down the elusive lightdm-webkit-greeter bug
Post by: Jerry on March 26, 2015, 08:45:27 PM
Thanks for the info everyone :)
Title: Re: Tracking down the elusive lightdm-webkit-greeter bug
Post by: newtusmaximus on April 20, 2015, 11:52:00 AM
Took upgrade route to 2.4 from 2.0 on desktop.  been running fine everyday use for a few weeks.  Today the "greeter" raised it head and refuses to close. Minimised.   Screen running on default  desktop settings.  Updates done weekly.
Title: Re: Tracking down the elusive lightdm-webkit-greeter bug
Post by: anon222 on April 21, 2015, 07:50:33 PM
When this happens, please check the logs in /var/log/lightdm/
also kernel messages
Code: [Select]
cat /var/log/dmesgI wonder if it has to do with the certain hardware like graphic cards or just because of some configuration.
Whilst making changes to the new login screen, I noticed in the /usr/share/lightdm-webkit/themes/linuxlite/index.theme file the following line was:

Code: [Select]
session=gnome
So I changed it to:

Code: [Select]
session=xfce4
and it seems to have done no harm. I've made this change on my main system as well as in VB.
I am hoping that this is the cause of the occasional time where you login and the webkit-greeter window appears and you have to close it.
If you'd like to jump on the 'test that theory bandwagon' please feel free and let me know how you get on :)
Jerry,
I've set it to
Code: [Select]
session=xfcebecause session deskop file is named xfce.desktop
Code: [Select]
ls /usr/share/xsessions/
xfce.desktop

This never happens to me. Maybe I've changed something else too.
Here is my full conf:
Code: [Select]
cat /usr/share/lightdm-webkit/themes/linuxlite/index.theme
[theme]
name=LinuxLite
description=LinuxLite logon
engine=lightdm-webkit-greeter
url=index.html
session=xfce
Code: [Select]
cat /usr/share/lightdm/lightdm.conf.d/40-lightdm-webkit-greeter.conf
[SeatDefaults]
greeter-session=lightdm-webkit-greeter
user-session=xfce
autologin-user=linux
Code: [Select]
cat /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[SeatDefaults]
greeter-wrapper=/usr/lib/lightdm/lightdm-greeter-session
Code: [Select]
cat /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
[SeatDefaults]
# Dump core
xserver-command=X -core
Code: [Select]
cat /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[SeatDefaults]
guest-wrapper=/usr/lib/lightdm/lightdm-guest-session
Code: [Select]
cat /etc/lightdm/lightdm.conf
[SeatDefaults]
autologin-guest=false
autologin-user=linux
autologin-user-timeout=0
autologin-session=lightdm-autologin
Code: [Select]
cat /etc/lightdm/lightdm-webkit-greeter.conf
#
# background = Background file to use, either an image path or a color (e.g. #772953)
# theme-name = GTK+ theme to use
# font-name = Font to use
# xft-antialias = Whether to antialias Xft fonts (true or false)
# xft-dpi = Resolution for Xft in dots per inch (e.g. 96)
# xft-hintstyle = What degree of hinting to use (hintnone, hintslight, hintmedium, or hintfull)
# xft-rgba = Type of subpixel antialiasing (none, rgb, bgr, vrgb or vbgr)
#
[greeter]
background=#ffffff
theme-name=LinuxLite
webkit-theme=linuxlite
font-name=Free Sans 20
xft-antialias=true
xft-dpi=96
xft-hintstyle=slight
xft-rgba=rgb
Code: [Select]
cat /etc/lightdm/users.conf
#
# User accounts configuration
#
# NOTE: If you have AccountsService installed on your system, then LightDM will
# use this instead and these settings will be ignored
#
# minimum-uid = Minimum UID required to be shown in greeter
# hidden-users = Users that are not shown to the user
# hidden-shells = Shells that indicate a user cannot login
#
[UserList]
minimum-uid=500
hidden-users=nobody nobody4 noaccess
hidden-shells=/bin/false /usr/sbin/nologin
Title: Re: Tracking down the elusive lightdm-webkit-greeter bug
Post by: Jerry on April 22, 2015, 01:49:54 AM
Thanks for sharing your file contents misko. We tried setting session=xfce and it still occurs completely at random. I'd actually like to use gdm given its support and theming but the list of deps it pulls in is crazy!