Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Every time I log in (in Ubuntu or Ubuntu Classic session environment) only Classic Gnome loads. I installed the graphics driver (nvidia gforce 7200) and tried to run unity --replace but the screen simply freezes.

Running unity in debug mode gave me a pretty extensive file. These errors got my attention (since they show up if I don't run unity in debug mode):

** (:3487): GLib-GObject-WARNING ** : invalid (NULL) pointer instance
** (:3487): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

** (:3487): CRITICAL ** : bamf_application_get_desktop_file: assertion 'BAMF_IS_APPLICATION (application)' failed
** (:3487): GLib-GObject-WARNING **: invalid cast from `BamfWindow' to 'BamfApplication'

The whole log file (sorry but parts of it are in portuguese):

compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libcore.so : No such file or directory
compiz (core) - Debug: Could not stat() file /usr/lib/compiz/libcore.so : No such file or directory
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libccp.so : No such file or directory
Backend     : gconf
Integration : true
Profile     : unity
Adding plugins
Initializing core options...done
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 1
Window created on XQueryTree, map state isViewable? 1
Window created on XQueryTree, map state isViewable? 1
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 1
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libbailer.so : No such file or directory
Initializing bailer options...done
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libdetection.so : No such file or directory
Initializing detection options...done
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libcomposite.so : No such file or directory
Initializing composite options...done
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libopengl.so : No such file or directory
Initializing opengl options...done
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libcompiztoolbox.so : No such file or directory
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libdecor.so : No such file or directory
Initializing decor options...done
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libplace.so : No such file or directory
Initializing place options...done
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libimgpng.so : No such file or directory
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libmove.so : No such file or directory
Initializing move options...done
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libgrid.so : No such file or directory
Initializing grid options...done
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libunitymtgrabhandles.so : No such file or directory
Initializing unitymtgrabhandles options...done
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libregex.so : No such file or directory
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libsnap.so : No such file or directory
Initializing snap options...done
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libsession.so : No such file or directory
Initializing session options...done
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libanimation.so : No such file or directory
Initializing animation options...done
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libmousepoll.so : No such file or directory
Initializing mousepoll options...done
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libresize.so : No such file or directory
Initializing resize options...done
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libvpswitch.so : No such file or directory
Initializing vpswitch options...done
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libexpo.so : No such file or directory
Initializing expo options...done
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libworkarounds.so : No such file or directory
Initializing workarounds options...done
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libwall.so : No such file or directory
Initializing wall options...done
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libezoom.so : No such file or directory
Initializing ezoom options...done
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libstaticswitcher.so : No such file or directory
Initializing staticswitcher options...done
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libfade.so : No such file or directory
Initializing fade options...done
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libscale.so : No such file or directory
Initializing scale options...done
compiz (core) - Debug: Could not stat() file /home/david/.compiz-1/plugins/libunityshell.so : No such file or directory
** (<unknown>:3487): DEBUG: Unity accessibility initialization
** (<unknown>:3487): DEBUG: Shows on edge: 1

(<unknown>:3487): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(<unknown>:3487): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

Screen geometry changed:
  Monitor 0(primary)
   0x0x1280x800

unity-panel-service: nenhum processo localizado
** (<unknown>:3487): DEBUG: PanelController:: Added Panel for Monitor 0
Initializing unityshell options...done
Couldn't find a perfect decorator match; trying all decorators
Starting unity-window-decorator
** (<unknown>:3487): DEBUG: PlaceEntry: Aplicações
** (<unknown>:3487): DEBUG: PlaceEntry: Comandos
** (<unknown>:3487): DEBUG: PlaceEntry: Ficheiros & Pastas
** (<unknown>:3487): DEBUG: /com/canonical/unity/applicationsplace
** (<unknown>:3487): DEBUG: /com/canonical/unity/filesplace
** (<unknown>:3487): DEBUG: Setting to primary screen rect: x=0 y=0 w=1280 h=800

(<unknown>:3487): GLib-GObject-WARNING **: invalid cast from `BamfWindow' to `BamfApplication'

** (<unknown>:3487): CRITICAL **: bamf_application_get_desktop_file: assertion `BAMF_IS_APPLICATION (application)' failed

(<unknown>:3487): GLib-GObject-WARNING **: invalid cast from `BamfWindow' to `BamfApplication'

** (<unknown>:3487): CRITICAL **: bamf_application_get_desktop_file: assertion `BAMF_IS_APPLICATION (application)' failed

(<unknown>:3487): GLib-GObject-WARNING **: invalid cast from `BamfWindow' to `BamfApplication'

** (<unknown>:3487): CRITICAL **: bamf_application_get_desktop_file: assertion `BAMF_IS_APPLICATION (application)' failed

(<unknown>:3487): GLib-GObject-WARNING **: invalid cast from `BamfWindow' to `BamfApplication'

** (<unknown>:3487): CRITICAL **: bamf_application_get_desktop_file: assertion `BAMF_IS_APPLICATION (application)' failed

(<unknown>:3487): GLib-GObject-WARNING **: invalid cast from `BamfWindow' to `BamfApplication'

** (<unknown>:3487): CRITICAL **: bamf_application_get_desktop_file: assertion `BAMF_IS_APPLICATION (application)' failed

(<unknown>:3487): GLib-GObject-WARNING **: invalid cast from `BamfWindow' to `BamfApplication'

** (<unknown>:3487): CRITICAL **: bamf_application_get_desktop_file: assertion `BAMF_IS_APPLICATION (application)' failed

(<unknown>:3487): GLib-GObject-WARNING **: invalid cast from `BamfWindow' to `BamfApplication'

** (<unknown>:3487): CRITICAL **: bamf_application_get_desktop_file: assertion `BAMF_IS_APPLICATION (application)' failed
** (<unknown>:3487): DEBUG: Acquired the name com.canonical.Unity.Launcher on the session bus

** (<unknown>:3487): DEBUG: IndicatorAdded: libapplication.so
** (<unknown>:3487): DEBUG: IndicatorAdded: libsoundmenu.so
** (<unknown>:3487): DEBUG: IndicatorAdded: libmessaging.so
** (<unknown>:3487): DEBUG: IndicatorAdded: libdatetime.so
** (<unknown>:3487): DEBUG: IndicatorAdded: libme.so
** (<unknown>:3487): DEBUG: IndicatorAdded: libsession.so

(<unknown>:3487): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
Setting Update "flip_left_edge"
Setting Update "fullscreen_visual_bell"
** (<unknown>:3487): DEBUG: TrayChild Rejected: notificação de actualização update-notifier Update-notifier
** (<unknown>:3487): DEBUG: TrayChild Rejected: notificação de actualização update-notifier Update-notifier
share|improve this question
    
Welcome to Ask Ubuntu! This question should instead be filed as a bug report, thanks! Instructions here. –  Jorge Castro May 4 '11 at 13:01
add comment

closed as too localized by jrg, Bruno Pereira, htorque, jokerdino, fossfreedom Feb 1 '12 at 12:43

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

I had a similar error with ubuntu 11.10 and unity 4.24. I struggled for several days reinstalling parts of unity and compiz to no avail.

The solution was to open ccsm (you may need to install it - CompizConfig Settings Manager) and diaable Gnome Compatibility and enable Unity. After completing these steps Unity was back to normal.

I do recall enabling Gnome Compatibility at some point but it hadn't occurred that this could be the problem.

Hope this helps you. rb

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.