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