I just installed xbuntu on a new netbook (acer ao756) and I believe I
run into this exact same problem:   After I enter my password and hit
return, it takes a long time to start  xfce.   I checked /var/log and
found some strange error messages in three log files, all seeming
related to lightdm.  Note in particular log file #3, the warning at
36sec and at 86sec (and more to the point, the time gap preceeeding
these two).

I run xubuntu 12.04 on my desktop as well and I have never experience
this delay between login and xfce starting.  The desktop does have
higher spec and to my surprise I have the same  x-0-greeter.log error
(log file #1) before, but lightdm on the desktop has no warning message
(log file #3).   All, this slow-login problem on the netbook happens
often but not always -- 50-60% of the time?

One more thing:   the directory /usr/share/themes/Greybird-lightdm has a
lot few files/folders than other themes (e.g. Default).  I wonder if
this is an xfce thing or it is a general lightdm problem (see log #1 for
example).

Other than this problem I really love this little netbook.   Thanks for your 
help!
--------------------
Error log #1:  /var/log/lightdm/x-0-greeter.log

(lightdm-gtk-greeter:1381): Gtk-WARNING **: Theme parsing error  : 
gtk-widgets.css
:1175:60: Failed to open file '/usr/share/themes/Greybird-lightdm/gtk-2.0/resize
_grip.png': No such file or directory

(lightdm-gtk-greeter:1381): Gtk-WARNING **: Theme parsing error: gtk-widgets.css
:1240:50: Failed to open file '/usr/share/themes/Greybird-lightdm/gtk-3.0/progre
ssbar.png': No such file or directory

(lightdm-gtk-greeter:1381): Gtk-WARNING **: Theme parsing error: gtk.css:76:29: 
Failed to import: Error opening file: No such file or directory

(lightdm-gtk-greeter:1381): Gtk-WARNING **: Theme parsing error: gtk.css:77:33: 
Failed to import: Error opening file: No such file or directory
-----------
Error log #2:  .x-session-errors

openConnection: connect: No such file or directory
cannot connect to brltty at :0
xfce4-settings-helper: Another instance is already running. Leaving...

(polkit-gnome-authentication-agent-1:1828): GLib-CRITICAL **: g_variant_new_stri
ng: assertion `string != NULL' failed

(polkit-gnome-authentication-agent-1:1828): polkit-gnome-1-WARNING **: Failed to
 register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The nam
e org.gnome.SessionManager was not provided by any .service files
** Message: applet now removed from the notification area
** Message: using fallback from indicator to GtkStatusIcon
** Message: applet now embedded in the notification area

(xfce4-indicator-plugin:1887): libindicator-WARNING **: IndicatorObject class do
es not have an accessible description.

(xfce4-indicator-plugin:1887): libindicator-WARNING **: IndicatorObject class do
es not have an accessible description.
** Message: moving back from GtkStatusIcon to indicator
** Message: applet now removed from the notification area

(xfce4-indicator-plugin:1887): LIBDBUSMENU-GLIB-WARNING **: Getting layout faile
d: Operation was cancelled

(xfce4-indicator-plugin:1887): GLib-GIO-CRITICAL **: g_dbus_proxy_call_internal:
 assertion `G_IS_DBUS_PROXY (proxy)' failed

(xfce4-indicator-plugin:1887): GLib-CRITICAL **: g_variant_get_type: assertion `
value != NULL' failed

(xfce4-indicator-plugin:1887): GLib-CRITICAL **: g_variant_type_is_subtype_of: a
ssertion `g_variant_type_check (type)' failed

(xfce4-indicator-plugin:1887): GLib-CRITICAL **: g_variant_get_type: assertion `
value != NULL' failed

(xfce4-indicator-plugin:1887): GLib-CRITICAL **: g_variant_type_is_subtype_of: a
ssertion `g_variant_type_check (type)' failed

(xfce4-indicator-plugin:1887): GLib-CRITICAL **: g_variant_get_double: assertion
 `g_variant_is_of_type (value, G_VARIANT_TYPE_DOUBLE)' failed

(xfce4-indicator-plugin:1887): GLib-CRITICAL **: g_variant_get_type: assertion `
value != NULL' failed

(xfce4-indicator-plugin:1887): GLib-CRITICAL **: g_variant_type_is_subtype_of: a
ssertion `g_variant_type_check (type)' failed

(xfce4-indicator-plugin:1887): GLib-CRITICAL **: g_variant_get_boolean: assertio
n `g_variant_is_of_type (value, G_VARIANT_TYPE_BOOLEAN)' failed

(xfce4-indicator-plugin:1887): GLib-CRITICAL **: g_variant_get_type: assertion `
value != NULL' failed

(xfce4-indicator-plugin:1887): GLib-CRITICAL **: g_variant_type_is_subtype_of: a
ssertion `g_variant_type_check (type)' failed

(xfce4-indicator-plugin:1887): GLib-CRITICAL **: g_variant_get_double: assertion
 `g_variant_is_of_type (value, G_VARIANT_TYPE_DOUBLE)' failed

(xfce4-indicator-plugin:1887): GLib-CRITICAL **: g_variant_get_type: assertion `
value != NULL' failed

(xfce4-indicator-plugin:1887): GLib-CRITICAL **: g_variant_type_is_subtype_of: a
ssertion `g_variant_type_check (type)' failed

(xfce4-indicator-plugin:1887): GLib-CRITICAL **: g_variant_get_double: assertion
 `g_variant_is_of_type (value, G_VARIANT_TYPE_DOUBLE)' failed

(xfce4-indicator-plugin:1887): GLib-CRITICAL **: g_variant_get_type: assertion `
value != NULL' failed

(xfce4-indicator-plugin:1887): GLib-CRITICAL **: g_variant_type_is_subtype_of: a
ssertion `g_variant_type_check (type)' failed

(xfce4-indicator-plugin:1887): GLib-CRITICAL **: g_variant_get_int32: assertion 
`g_variant_is_of_type (value, G_VARIANT_TYPE_INT32)' failed

(xfce4-indicator-plugin:1887): Gtk-CRITICAL **: IA__gtk_widget_realize: assertio
n `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed

(xfce4-indicator-plugin:1887): GLib-CRITICAL **: g_variant_get_type: assertion `
value != NULL' failed

(xfce4-indicator-plugin:1887): GLib-CRITICAL **: g_variant_type_is_subtype_of: a
ssertion `g_variant_type_check (type)' failed

(xfce4-indicator-plugin:1887): GLib-CRITICAL **: g_variant_get_int32: assertion 
`g_variant_is_of_type (value, G_VARIANT_TYPE_INT32)' failed
-------------------
Error log #3:  /var/log/lightdm/lightdm.log

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.2.1, UID=0 PID=1168
[+0.00s] DEBUG: Loaded 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: Adding default seat
[+0.00s] DEBUG: Starting seat
[+0.00s] DEBUG: Starting new display for greeter
[+0.00s] DEBUG: Starting local X display
[+0.01s] DEBUG: X server :0 will replace Plymouth
[+0.03s] DEBUG: Using VT 7
[+0.03s] DEBUG: Activating VT 7
[+0.03s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+0.03s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
[+0.03s] DEBUG: Launching X Server
[+0.03s] DEBUG: Launching process 1212: /usr/bin/X :0 -auth /var/run/lightdm/roo
t/:0 -nolisten tcp vt7 -novtswitch -background none
[+0.03s] DEBUG: 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/S
eat0
[+0.55s] DEBUG: Got signal 10 from process 1212
[+0.55s] DEBUG: Got signal from X server :0
[+0.55s] DEBUG: Stopping Plymouth, X server is ready
[+0.57s] DEBUG: Connecting to XServer :0
[+0.57s] DEBUG: Starting greeter
[+0.57s] DEBUG: Started session 1282 with service 'lightdm', username 'lightdm'
[+0.68s] DEBUG: Session 1282 authentication complete with return value 0: Succes
s
[+0.68s] DEBUG: Greeter authorized
[+0.68s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
[+0.68s] DEBUG: Session 1282 running command /usr/lib/lightdm/lightdm-greeter-se
ssion /usr/sbin/lightdm-gtk-greeter
[+1.02s] DEBUG: Greeter connected version=1.2.1
[+1.02s] DEBUG: Greeter connected, display is ready
[+1.02s] DEBUG: New display ready, switching to it
[+1.02s] DEBUG: Activating VT 7
[+2.32s] DEBUG: Greeter start authentication for USERNAME
[+2.32s] DEBUG: Started session 1541 with service 'lightdm', username 'USERNAME'
[+2.33s] DEBUG: Session 1541 got 1 message(s) from PAM
[+2.33s] DEBUG: Prompt greeter with 1 message(s)
[+9.96s] DEBUG: Continue authentication
[+11.35s] DEBUG: Session 1541 authentication complete with return value 0: Succe
ss
[+11.35s] DEBUG: Authenticate result for user USERNAME: Success
[+11.36s] DEBUG: User USERNAME authorized
[+11.37s] DEBUG: Greeter sets language en_US
[+11.38s] WARNING: Could not call SetLanguage: GDBus.Error:org.freedesktop.Accou
nts.Error.Failed: not access to HOME yet so language not saved
[+11.38s] DEBUG: Greeter requests session xubuntu
[+11.38s] DEBUG: Using session xubuntu
[+11.38s] DEBUG: Stopping greeter
[+11.38s] DEBUG: Session 1282: Sending SIGTERM
[+11.49s] DEBUG: Session 1282 exited with return value 0
[+11.49s] DEBUG: Greeter quit
[+36.51s] WARNING: Could not call SetXSession: Timeout was reached
[+61.54s] WARNING: Could not call FindUserByName: Timeout was reached
[+61.54s] DEBUG: Dropping privileges to uid 1000
[+61.54s] DEBUG: Restoring privileges
[+86.56s] WARNING: Could not call FindUserByName: Timeout was reached
[+86.56s] DEBUG: Dropping privileges to uid 1000
[+86.56s] DEBUG: Writing /home/USERNAME/.dmrc
[+86.56s] DEBUG: Restoring privileges
[+86.63s] DEBUG: Starting session xubuntu as user USERNAME
[+86.63s] DEBUG: Session 1541 running command /usr/sbin/lightdm-session startxfc
e4
[+86.66s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManag
er/Session0
[+86.66s] DEBUG: Greeter closed communication channel

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/996791

Title:
  Xubuntu 12.04 extremely slow login

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/996791/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to