Red Hat Bugzilla – Bug 729642
Failed to load session "gnome" because of missing metacity dependency
Last modified: 2011-10-24 18:09:44 EDT
It seems like f16 gnome-session(?) has an invisible dependency to metacity.
If gnome shell fails and it wants to fall back to compatibility mode and metacity isn't available it will give a scary and unusable messagebox:
Failed to load session "gnome"
dmesg gives a better hint:
gnome-session: WARNING: Session 'gnome' runnable check failed: Exited with code 1
gnome-session: WARNING: Unable to find default provider 'metacity' of required provider 'windowmanager'
I would prefer a rpm dependency to metacity so it didn't fail in the failure mode.
Alternatively, if the fallback mode really is optional then it should give some hint of the reason for the failure (that both shell and fallback failed, and especially why compatibility mode failed)
I realize that this is a consequence of the slightly hackish fallback mode and how the two modes in some ways are tightly integrated, and I don't know the best way to solve it. It did however show up for me like a bug, so I wanted to let you know and report it as such.
I get the same thing with ol' F15.
-- Bruce Jerrick
I don't think this is simple lack of metacity being installed.
With F15 I get the same thing with a custom spin that is a superset
of the F15 "Software Development" package set; also with a spin that
is essentially the same package set as my F14 installation.
AndI have seen a "metacity" process after the failure.
I don't see the problem in a stock F15 "Software Development"
installation or my F14 installation.
-- Bruce Jerrick
PS. Sorry if this is a bit garbled -- either this interface or
Bill's wonderful Internet Exploder is acting screwball.
Bruce: I am sure there can be many reasons GNOME fails to load and this message is shown. My focus in this report is that it is unfortunate that metacity is mandatory for the expected behaviour but isn't a requirement at the rpm level. I suggest you file a separate issue in the bugtracker if you have a different issue.
Mea culpa (that's Latin for "oops").
It turns out that I got this error under F15 because I was inadvertently
using F14 notification-daemon-0.5.0-1.fc14 . Updating to F15 (core)
notification-daemon-0.7.1-1.fc15 fixed the problem.
So there should be a suitable Requires in gnome-session .
In any case, the only error messages I got were exactly those mentioned
in the Description above, which is probably sub-optimal.
*** This bug has been marked as a duplicate of bug 746693 ***