You are not logged in.

#1 2015-06-20 09:09:44

MilanKnizek
Member
Registered: 2005-12-13
Posts: 88

[SOLVED] LightDM & WebKit greeter: temporary time-outs during start

Hello,

I am trying to figure out what is causing the webkit greeter to time outs. (It takes about 11 seconds do display the greeter.)

The lightdm.log reads:

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.14.0, UID=0 PID=30219
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registered seat module xlocal
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.03s] DEBUG: Monitoring logind for seats
[+0.03s] DEBUG: New seat added from logind: seat0
[+0.03s] DEBUG: Loading properties from config section SeatDefaults
[+0.03s] DEBUG: Seat seat0: Starting
[+0.03s] DEBUG: Seat seat0: Creating greeter session
[+0.03s] DEBUG: Seat seat0: Creating display server of type x
[+0.03s] DEBUG: Could not run plymouth --ping: Failed to execute child process "plymouth" (No such file or directory)
[+0.03s] DEBUG: Using VT 7
[+0.03s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.03s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.03s] DEBUG: DisplayServer x-0: Writing X server authority to /run/lightdm/root/:0
[+0.03s] DEBUG: DisplayServer x-0: Launching X Server
[+0.03s] DEBUG: Launching process 30223: /usr/sbin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.03s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.03s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.03s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.03s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.03s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+0.03s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.04s] DEBUG: User /org/freedesktop/Accounts/User2000 added
[+0.13s] DEBUG: Seat seat0 changes active session to
[+0.13s] CRITICAL: session_get_login1_session_id: assertion 'session != NULL' failed
[+0.98s] DEBUG: Got signal 10 from process 30223
[+0.98s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+0.98s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+1.04s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+1.04s] DEBUG: Session pid=30242: Started with service 'lightdm-greeter', username 'lightdm'
[+1.06s] DEBUG: Session pid=30242: Authentication complete with return value 0: Success
[+1.06s] DEBUG: Seat seat0: Session authenticated, running command
[+1.06s] DEBUG: Launching process 30244: /usr/bin/numlockx on
[+1.08s] DEBUG: Process 30244 exited with return value 0
[+1.08s] DEBUG: Seat seat0: Exit status of /usr/bin/numlockx on: 0
[+1.08s] DEBUG: Session pid=30242: Running command /usr/sbin/lightdm-webkit-greeter
[+1.08s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+1.08s] DEBUG: Session pid=30242: Logging to /var/log/lightdm/x-0-greeter.log
[+1.11s] DEBUG: Activating VT 7
[+1.11s] DEBUG: Activating login1 session c184
[+1.11s] DEBUG: Seat seat0 changes active session to c184
[+1.11s] DEBUG: Session c184 is already active
[+11.42s] DEBUG: Session pid=30242: Greeter connected version=1.14.0 resettable=false

The x-0-greeter.log reads ("Adresář nebo soubor neexistuje" stands for "Directory or file does not exist"):

sh: /usr/lib/nspluginwrapper/i386/linux/npviewer: Adresář nebo soubor neexistuje
sh: /usr/lib/nspluginwrapper/i386/linux/npviewer: Adresář nebo soubor neexistuje
*** NSPlugin Wrapper *** ERROR: failed to execute NSPlugin viewer

.... looong timeout ...

*** NSPlugin Wrapper *** ERROR: failed to initialize plugin-side RPC client connection
*** NSPlugin Wrapper *** WARNING:(/build/src/nspluginwrapper-1.4.4/src/npw-wrapper.c:3556):invoke_NP_Initialize: assertion failed: (rpc_method_invoke_possible(g_rpc_c
sh: /usr/lib/nspluginwrapper/i386/linux/npviewer: Adresář nebo soubor neexistuje
*** NSPlugin Wrapper *** ERROR: failed to execute NSPlugin viewer

.... looong timeout ...


*** NSPlugin Wrapper *** ERROR: failed to initialize plugin-side RPC client connection
*** NSPlugin Wrapper *** WARNING:(/build/src/nspluginwrapper-1.4.4/src/npw-wrapper.c:3556):invoke_NP_Initialize: assertion failed: (rpc_method_invoke_possible(g_rpc_c

(lightdm-webkit-greeter:30253): GLib-GObject-WARNING **: gsignal.c:2451: signal 'show-error' is invalid for instance '0x7f6bc970a090' of type 'LightDMGreeter'

(lightdm-webkit-greeter:30253): GLib-GObject-WARNING **: gsignal.c:2451: signal 'timed-login' is invalid for instance '0x7f6bc970a090' of type 'LightDMGreeter'

(lightdm-webkit-greeter:30253): GLib-GObject-WARNING **: gsignal.c:2451: signal 'quit' is invalid for instance '0x7f6bc970a090' of type 'LightDMGreeter'

It is probably related to webkit (or one of its dependencies), since with the gtk greeter this does not happen. I had a similar temporary freeze with html themes for MDM (Mate DM).

I was not able to find out what actually searches for /usr/lib/nspluginwrapper/i386/linux/npviewer. After installing nsplugginwrapper, the log got extended with search messages for ICA client... Might be some old configuration files? But where?

I have the following versions of lightdm and webkit related packages:

community/lightdm 1:1.14.0-3
    A lightweight display manager
community/lightdm-gtk-greeter 1:2.0.1-2
    GTK+ greeter for LightDM
local/lightdm-webkit-greeter 0.1.2-6
    A lightweight display manager
local/lightdm-webkit-theme-userdock 1.0.2-1
    User Dock theme for the LightDM Webkit Greeter
community/pywebkitgtk 1.1.8-3
    Python bindings to the WebKit GTK+ port
extra/qt5-webkit 5.4.2-1 (qt qt5)
    Classes for a WebKit2 based implementation and a new QML API
extra/qtwebkit 2.3.4-2
    An open source web browser engine (Qt port)
extra/webkit2gtk 2.8.3-1
    GTK+ Web content engine library
extra/webkitgtk 2.4.9-1
    GTK+ Web content engine library
extra/webkitgtk2 2.4.9-1
    GTK+ Web content engine library for GTK2

Last edited by MilanKnizek (2015-06-20 12:03:41)


--
Milan Knizek
http://knizek.net

Offline

#2 2015-06-20 12:03:14

MilanKnizek
Member
Registered: 2005-12-13
Posts: 88

Re: [SOLVED] LightDM & WebKit greeter: temporary time-outs during start

Ok, solved now.

I had an obsolete ICA client "so" file in /usr/lib/mozilla/plugins dir, which required nspluginwrapper and did not work anyway. It must have been several years when I used ICA last time.


--
Milan Knizek
http://knizek.net

Offline

Board footer

Powered by FluxBB