Description of problem:
When trying to run the meego environment, it fails to start because org.freedesktop.ConsoleKit.Manager is not allowed to send OpenSessionWithParameters (or something like that, I'm no dbus guru).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum groupinstall "MeeGo NetBook UX Environment"
2. Log in from gdm, selecting a "Fedora Netbook" session
3. meego wont start, find dbus related messages in uxlaunch.log
[00.046981]  Error: Unable to open session with ConsoleKit: org.freedesktop.CkConnector.Error: Unable to open session: Rejected send message, 2 matched rules; type="method_call", sender=":1.331" (uid=500 pid=11976 comm="/usr/sbin/uxlaunch) interface="org.freedesktop.ConsoleKit.Manager" member="OpenSessionWithParameters" error name="(unset)" requested_reply=0 destination="org.freedesktop.ConsoleKit" (uid=0 pid=1287 comm="/usr/sbin/console-kit-daemon))
No dbus/consolekit related errors
Adding these lines to /etc/dbus-1/system.d/ConsoleKit.conf makes the problem disappear. I put them around line 42, together with OpenSession.
This does not fix meego, but gets me a bit further.
*** Bug 645074 has been marked as a duplicate of this bug. ***
Just bumping the Severity on this one. There's nothing much more important to a user interface than the ability to display it :)
Just for the record: Fixing the dbus rights does not make the meego session work. It is still just a white screen.
So new Meego won't be in Fedora 14 release? Will it be added later as an update?
Valent, that's a definition question :-)
Looks to me like most packages are in, but the session doesn't start properly.
(In reply to comment #4)
> So new Meego won't be in Fedora 14 release? Will it be added later as an
Work in progress. I ran out of free time due to work. Its moving slowly forward in rawhide atm, and once its working there I'll be looking at back porting fixes.
Created attachment 465003 [details]
Patch for OpenSessionWithParameters
A patch for the addition of OpenSessionWithParameters to the conf file
Created attachment 465004 [details]
Patch for aspec to add OpenSessionWithParameters patch to build
A patch to the spec file to add the previous patch to the build.
Lennart: Any issues if I apply the patch to ConsoleKit?
Comparing with Smeegol, I found that in startmoblin, the following line is commented:
The related configuration files are also missing. This results in the default plugin being used by mutter and the screen being white.
Creating the needed files, the uxlaunch.log shows that mutter tries but fails to load moblin-netbook.so. The reason:
(mutter:2603): mutter-WARNING **: Could not load library [/usr/lib64/mutter/plugins/moblin-netbook.so (/usr/lib64/mutter/plugins/moblin-netbook.so: undefined symbol: mutter_plugin_effect_completed)]
Downgraded mutter to mutter-mbl-2.29.1_1.0-1.fc14 as searching for the error seemed to indicate that this may be the resulof of an API breakage. The plugin error disappears but various applications are unable to open the display and the session dies.
This could be a caused by the warning:
(mutter:1691): GLib-GObject-WARNING **: specified class size for type `MoblinNetbookPlugin' is smaller than the parent type's `MutterPlugin' class size
followed by errors like:
gnome-screensaver: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
moblin-panel-myzone: Fatal IO error 2 (No such file or directory) on X server :0.0.
(In reply to comment #10)
> Comparing with Smeegol, I found that in startmoblin, the following line is
> #export GCONF_DEFAULT_SOURCE_PATH=/etc/gconf/2/moblin.path
> The related configuration files are also missing. This results in the default
> plugin being used by mutter and the screen being white.
I have meego working locally on rawhide. We have forward movement. Aiming for f-15 at the moment, not decided whether it will be pushed back to f-14.
Great news for Fedora and Meego! Hope it also gets into F14.
Hmm, nope, this policy change is not unproblematic, since clients can pass whatever they want. In fact the documentation explcitly says that OpenSessionWithParameters() is privileged:
There must be another way to fix this. The client asking for this, is it running as normal user?
> There must be another way to fix this. The client asking for this, is it
> running as normal user?
Yes, its a UX just as gnome 3 is (it uses mutter too)
Since the necessary parts may appear, and over time even work together in f15, but will be hard to backport to f14, I suggest to just close this ticket as WONTFIX.