Bug 228151 - kdm support for XDG_SESSION_COOKIE
kdm support for XDG_SESSION_COOKIE
Status: CLOSED DUPLICATE of bug 228111
Product: Fedora
Classification: Fedora
Component: kdebase (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2007-02-10 12:15 EST by Ilya Konstantinov
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-05-01 08:50:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ilya Konstantinov 2007-02-10 12:15:27 EST
kdm should add the XDG_SESSION_COOKIE environment variable, like gdm does.
Otherwise ConsoleKit doesn't work in kdm-initiated sessions, breaking things
like  mounting through HAL (since HAL nowadays validates mount requests through
Comment 1 Matthew Miller 2007-04-10 12:32:56 EDT
Fedora 7 test bugs should be filed against "devel", not against test1/2/3. This
isn't obvious, I know. Moving this report so it isn't lost.

This is a bulk message -- I apologize if this was actually meant to be targeted
against a different release. If so, please fix or let me know. Thanks.
Comment 2 Rex Dieter 2007-04-30 13:34:26 EDT
Related to bug #228111 ?
Comment 3 Ilya Konstantinov 2007-04-30 15:37:33 EDT
This is indeed a prerequisite for ConsoleKit to work. You can make it a
dependency of bug #228111.
Comment 4 Kevin Kofler 2007-05-01 08:50:46 EDT
XDG_SESSION_COOKIE is actually set by my patch in #228111.

+	if (ck_session_cookie != NULL) {
+		env = setEnv ( env, "XDG_SESSION_COOKIE", ck_session_cookie );
+	}

(and WITH_CONSOLE_KIT is currently always defined in dm.h, I haven't bothered 
making it conditional).

*** This bug has been marked as a duplicate of 228111 ***

Note You need to log in before you can comment on or make changes to this bug.