consolekit and user groups

Kay Sievers kay.sievers at vrfy.org
Thu Jan 22 07:36:05 PST 2009


On Thu, Jan 22, 2009 at 15:54, William Jon McCann
<william.jon.mccann at gmail.com> wrote:
> On Wed, Jan 21, 2009 at 10:07 AM, Yan Seiner <yan at seiner.com> wrote:
>> I've been looking at consolekit but I'm having a hard time getting
>> traction.  The docs assume you already have a pretty deep knowledge of
>> hal and dbus, and there are no examples I've found for newbies.
>>
>> Im working on a multi-seat setup and I'm trying to figure out how to
>> assign hardware resources to a user.  Here's what I am trying to do:
>>
>> I have a group of hardware resources that are assigned to a seat.
>> Currently I am working on the premise that all of the resources are
>> attached to a USB hub.  Anything plugged in to the hub gets assigned to
>> the seat - cameras, dvd players, etc.  That hardware is then made
>> available to the user logged in on that seat.
>>
>> My concept has been to assign all those resources to a group: seatX.
>> When user userX logs in, he is made a member of group seatX, and has
>> access to those resources.
>>
>>  From reading the docs, this is what consoleKit is all about.  But as I
>> said, I can't get traction at all.  Is there a consolekit for idiots
>> guide? Some simple examples showing how users/ groups, and hardware is
>> handled?  Or even where in the chain of login events/hotplug
>> events/whatever events these things are done?
>>
>
> Yeah, ConsoleKit was designed with all this in mind.  There are only a
> few bits left to do.  Some of these are described here:
> https://fedoraproject.org/wiki/Desktop/Whiteboards/Multiseat
>
> David and Kay were looking into this a bit recently so maybe they can
> give an update.

We don't have anything specific so far, we just put basic udev
infrastructure in place, no implementation of such features.

We will come up with the udev managed ACLs, which will use udev rules
instead of HAL fdi files. The "seat" thing will probably just a
special-case of the user ACLs, and we will keep that in mind when we
come up with a prototype for the udev/ConsoleKit ACL management. For
now it's nothing but the collection of ideas how to possibly do it.

Cheers,
Kay


More information about the hal mailing list