Org Freedesktop Ckconnector Error
Sign in Pricing Blog Support Search GitHub This repository Watch 18 Star 67 Fork 17 ConsoleKit2/ConsoleKit2 Code Issues 16 Pull requests 1 Projects 0 Pulse Graphs Permalink Branch: master Switch branches/tags Branches Tags 1.0 gh-pages master Nothing to show 1.1.0 1.0.2 1.0.1 1.0.0 0.9.5 0.9.4 0.9.3 0.9.2 0.9.1 0.9.0 Nothing to show Find file Copy path ConsoleKit2/libck-connector/ck-connector.c Fetching contributors… Cannot retrieve contributors at this time Raw Blame History 880 lines (760 sloc) 29.7 KB /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- * * ck-connector.c : Code for login managers to register with ConsoleKit. * * Copyright (c) 2007 David Zeuthen * Copyright (c) 2007 William Jon McCann * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, * copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following * conditions: * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * OTHER DEALINGS IN THE SOFTWARE. */ #include #include #include #include #include #include #include "ck-connector.h" #define N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) #if defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) #define _CK_FUNC
Log In [x] | Forgot Password Login: [x] Format For Printing -XML -Clone This Bug -Last Comment First Last Prev Next This bug is not in your last search results. Bug642943 - missing necessary meego allow for OpenSessionWithParameters from org.freedesktop.ConsoleKit.Manager Summary: missing necessary meego allow for OpenSessionWithParameters from org.freedesk... Status: CLOSED WONTFIX Aliases: None Product: Fedora Classification: Fedora Component: ConsoleKit (Show other bugs) Sub Component: --- Version: 14 Hardware: All Linux Priority low Severity urgent TargetMilestone: --- TargetRelease: --- Assigned To: Lennart Poettering QA Contact: Fedora Extras Quality Assurance https://github.com/ConsoleKit2/ConsoleKit2/blob/master/libck-connector/ck-connector.c Docs Contact: URL: Whiteboard: Keywords: Duplicates: 645074 (view as bug list) Depends On: Blocks: MeeGo12 Show dependency tree /graph Reported: 2010-10-14 05:14 EDT by Ingvar Hagelund Modified: 2011-10-11 06:06 EDT (History) CC List: 9 users (show) chgonzalezg jarmo.rosenqvist lpoetter mbooth pbrobinson sahilahuja seth.anil theholyettlz valent.turkovic See Also: Fixed In Version: Doc Type: Bug Fix Doc Text: Story Points: --- https://bugzilla.redhat.com/show_bug.cgi?id=642943 Clone Of: Environment: Last Closed: 2011-10-11 06:06:37 EDT Type: --- Regression: --- Mount Type: --- Documentation: --- CRM: Verified Versions: Category: --- oVirt Team: --- RHEL 7.3 requirements from Atomic Host: Cloudforms Team: --- Attachments (Terms of Use) Patch for OpenSessionWithParameters (680 bytes, patch) 2010-12-06 10:42 EST, Peter Robinson no flags Details | Diff Patch for aspec to add OpenSessionWithParameters patch to build (1.35 KB, patch) 2010-12-06 10:43 EST, Peter Robinson no flags Details | Diff Add an attachment (proposed patch, testcase, etc.) External Trackers Tracker ID Priority Status Summary Last Updated FreeDesktop.org 32244 None None None Never Groups: None (edit) Description Ingvar Hagelund 2010-10-14 05:14:39 EDT 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): ConsoleKit-0.4.2-2.fc14.1.i686 How reproducible: Always 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 Actual results: [00.046981] [1197
#include #include #include #include #include "ck-connector.h" Go to the source code of this file. https://sourcecodebrowser.com/consolekit/0.2.10/ck-connector_8c.html Classes struct _CkConnector Defines #defineN_ELEMENTS(arr)(sizeof (arr) / sizeof ((arr)[0])) #define_CK_FUNCTION_NAME"unknown function" #defineCK_CONNECTOR_ERROR"org.freedesktop.CkConnector.Error" #define_CK_WARNING_FORMAT"arguments to %s() were incorrect, assertion \"%s\" failed in file https://lists.fedoraproject.org/pipermail/devel/2010-December/146603.html %s line %d.\n" #define_ck_return_if_fail(condition) #define_ck_return_val_if_fail(condition, val) Functions static intlookup_parameter_type (const char *name) static dbus_bool_tadd_param_basic (DBusMessageIter *iter_array, const char *name, int type, const void org freedesktop *value) static void_ck_connector_free (CkConnector *connector) voidck_connector_unref (CkConnector *connector) Decrements the reference count of a CkConnector, disconnecting from the bus and freeing the connector if the count reaches 0. CkConnector *ck_connector_ref (CkConnector *connector) Increments the reference count of a CkConnector. CkConnector *ck_connector_new (void) Constructs a new Connector org freedesktop ckconnector to communicate with the ConsoleKit daemon. dbus_bool_tck_connector_open_session (CkConnector *connector, DBusError *error) Connects to the D-Bus system bus daemon and issues the method call OpenSession on the ConsoleKit manager interface. static dbus_bool_tck_connector_open_session_with_parameters_valist (CkConnector *connector, DBusError *error, const char *first_parameter_name, va_list var_args) dbus_bool_tck_connector_open_session_with_parameters (CkConnector *connector, DBusError *error, const char *first_parameter_name,...) Opens a new session with parameter from variable argument list. dbus_bool_tck_connector_open_session_for_user (CkConnector *connector, uid_t user, const char *display_device, const char *x11_display, DBusError *error) Connects to the D-Bus system bus daemon and issues the method call OpenSessionWithParameters on the ConsoleKit manager interface. const char *ck_connector_get_cookie (CkConnector *connector) Gets the cookie for the current open session. dbus_bool_tck_connector_close_session (CkConnector *connector, DBusError *error) Issues the CloseSession method call on the ConsoleKit manager interface. Variables struct { char *name inttype }parameter_lookup [] Class Documentation struct _CkConnector Definition at line 64 of fi
by: [ date ] [ thread ] [ subject ] [ author ] On Fri, Dec 3, 2010 at 11:31 AM, Rudolf Kastl wrote: > After installing the complete stack yesterday and trying to login i > figured that it doesent work in the current state. Havent deeply > analyzed it but the first errors in the logs are related to consolekit > [00.000067] > > [11545] user "rkastl", tty #2, session "/usr/bin/mutter --sm-disable" > [00.014231] [11545] Error: Unable to open session with ConsoleKit: > org.freedesktop.CkConnector.Error: Unable to open session: Rejected > send message, 3 matched rules; type="method_call", sender=":1.285" > (uid=501 pid=11545 comm="/usr/sbin/uxlaunch) > interface="org.freedesktop.ConsoleKit.Manager" > member="OpenSessionWithParameters" error name="(unset)" > requested_reply=0 destination="org.freedesktop.ConsoleKit" (uid=0 > pid=1857 comm="/usr/sbin/console-kit-daemon)) > [00.014231] [11545] Error: Unable to open session with ConsoleKit: > org.freedesktop.CkConnector.Error: Unable to open session: Rejected > send message, 3 matched rules; type="method_call", sender=":1.285" > (uid=501 pid=11545 comm="/usr/sbin/uxlaunch) > interface="org.freedesktop.ConsoleKit.Manager" > member="OpenSessionWithParameters" error name="(unset)" > requested_reply=0 destination="org.freedesktop.ConsoleKit" (uid=0 > pid=1857 comm="/usr/sbin/console-kit-daemon)) > > not sure if it is already reported or worth reporting with the current > rawhide state (or any changes already pending fixing it) Its already reported. See RHBZ # 642943 , the MeeGo problem in general is being tracked in # 628921 The session is starting and I get some popups (selinux etc) but I get the white screen, the above bug doesn't seem to affect it too much, I'm at a bit of a loss where to go from here but the opensuse guys are seeing it as wel