I've been having these errors show up recently. I first noticed them after xfce4 took a long time to log out, then at the next startx, it took a long time to paint the screen, and had a Xorg cursor set and window styles instead of the typical xfce styles. I got things back to "normal" by deleting ~/.cache/sessions/* (all but the 'thumbs' subdirectory).
However, these errors below still show up, and my google searches aren't helping me to diagnose them. Any clues / help are appreciated.
Startup Errors:
Code:
** (nm-applet:4583): CRITICAL **: dbus_set_g_error: assertion 'gerror == NULL || *gerror == NULL' failed
xfdesktop:4566): GLib-GIO-CRITICAL **: g_file_get_path: assertion 'G_IS_FILE (file)' failed
xfdesktop:4566): GLib-GIO-CRITICAL **: g_file_get_path: assertion 'G_IS_FILE (file)' failed
xfdesktop:4566): GLib-GIO-CRITICAL **: g_file_get_path: assertion 'G_IS_FILE (file)' failed
xfdesktop:4566): GLib-GIO-CRITICAL **: g_file_get_path: assertion 'G_IS_FILE (file)' failed
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook in not available for interactive use of PyGTK
set_interactive(1)
QGtkStyle was unable to detect the current GTK+ theme
I think the python2.7 error is related to hplip, if I remove it from the session, that error doesn't appear, but the GLib-GIO-CRITICAL messages still show up.
When I run nm-applet from a terminal, I get a similar dbus error:
Code:
$ nm-applet
** (nm-applet:5809): CRITICAL **: dbus_set_g_error: assertion `gerror == NULL || *gerror == NULL' failed
Segmentation fault
/var/log/messages
Code:
May 1 06:48:32 slackmachine kernel: [75972.503334] nm-applet[5809]: segfault at ffff3ff0 ip b64096ae sp bf969b40 error 4 in libc-2.15.so[b63c3000+17e000]
~/.xinitrc
Code:
#!/bin/sh
# xinitrc.xfce - modified to work around xfce4session bug
# https://bugzilla.xfce.org/show_bug.cgi?id=8841
########################################################################
## Merge in defaults and keymaps ##
########################################################################
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
if [ -f $sysresources ]; then
/usr/bin/xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
/usr/bin/xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
/usr/bin/xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
/usr/bin/xmodmap $usermodmap
fi
########################################################################
## Start xfce Desktop Environment ##
########################################################################
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
exec ck-launch-session dbus-launch --exit-with-session /usr/bin/startxfce4
else
exec dbus-launch --exit-with-session /usr/bin/startxfce4
fi