Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 360987

Summary: x11-apps/xdm: Include internal ConsoleKit support
Product: Gentoo Linux Reporter: Samuli Suominen (RETIRED) <ssuominen>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: enhancement CC: billie, leho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://lists.x.org/archives/xorg-devel/2011-February/019615.html
See Also: http://bugs.freedesktop.org/show_bug.cgi?id=17325
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Xdm ebuild modified to integrate consolekit support.

Description Samuli Suominen (RETIRED) gentoo-dev 2011-03-28 19:24:19 UTC
Reported upstream ML here:

http://lists.x.org/archives/xorg-devel/2011-February/019615.html

Reported to both Fedora, and Debian but not yet in use.  OpenSUSE and Mandriva are using this.

One of the downstream bugs, with the latest rev. of the patch attached:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=615020

I'm not yet sure how good or bad idea this is, but reporting before I forget. Will return to this bug soon.
Comment 1 Dmitry A. Bakshaev 2011-05-03 11:47:41 UTC
another patch available from https://bugs.archlinux.org/task/22671.
tested on gentoo with x11-apps/xdm-1.1.10-r1.
Comment 2 Leho Kraav (:macmaN @lkraav) 2011-05-16 18:47:19 UTC
i applied the arch patches, xdm compiles, but ck-list-sessions still has FALSE for everything. do i still need to remove nox11 from pam_ck_connector.so with these xdm patches?
Comment 3 Dmitry A. Bakshaev 2011-05-19 16:38:28 UTC
(In reply to comment #2)
> i applied the arch patches, xdm compiles,
are you pass "--with-consolekit" to configure?

> but ck-list-sessions still has FALSE
> for everything. do i still need to remove nox11 from pam_ck_connector.so with
> these xdm patches?
no.

on my system:
grep pam_ck_connector /etc/pam.d/*
/etc/pam.d/system-login:session         optional        pam_ck_connector.so nox11
Comment 4 tao 2011-09-03 19:17:16 UTC
Created attachment 285449 [details, diff]
Xdm ebuild modified to integrate consolekit support.

I have slightly modified original ebuild to use xdm-consolekit.diff from patch mentioned in comment 1.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2012-01-28 07:52:12 UTC
Fixed in 1.1.11-r1
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2012-02-03 08:38:09 UTC
adding link to upstream bug:

http://bugs.freedesktop.org/show_bug.cgi?id=17325

it looks like this might actually get merged soon ...