Re: olpc-dm ck-connector patch

2008-06-24 Thread Marco Pesenti Gritti
2008/6/24 Marco Pesenti Gritti <[EMAIL PROTECTED]>: > If you change olpc-session to run sugar as: > > exec ck-xinit-session /usr/bin/sugar > > The COOKIE is set but for some reason ck still doesn't give us permissions :( After further testing it seem to work fine. There are some caveats on how the

Re: olpc-dm ck-connector patch

2008-06-24 Thread Marco Pesenti Gritti
2008/6/24 Tomeu Vizoso <[EMAIL PROTECTED]>: > On Tue, Jun 24, 2008 at 4:09 AM, Marco Pesenti Gritti > <[EMAIL PROTECTED]> wrote: >> Ok, so I have a theory which I *hope* explains the whole thing. >> >> In Fedora 7 xinit had ConsoleKit support implemented as a patch: >> >> http://cvs.fedoraproject.o

Re: olpc-dm ck-connector patch

2008-06-24 Thread Tomeu Vizoso
On Tue, Jun 24, 2008 at 4:09 AM, Marco Pesenti Gritti <[EMAIL PROTECTED]> wrote: > Ok, so I have a theory which I *hope* explains the whole thing. > > In Fedora 7 xinit had ConsoleKit support implemented as a patch: > > http://cvs.fedoraproject.org/viewcvs/rpms/xorg-x11-xinit/F-7/xinit-1.0.2-2-poke

Re: olpc-dm ck-connector patch

2008-06-23 Thread Marco Pesenti Gritti
Ok, so I have a theory which I *hope* explains the whole thing. In Fedora 7 xinit had ConsoleKit support implemented as a patch: http://cvs.fedoraproject.org/viewcvs/rpms/xorg-x11-xinit/F-7/xinit-1.0.2-2-poke-ck.patch?rev=1.1&view=log This worked fine for us. In Fedora 9, ConsoleKit support is

Re: olpc-dm ck-connector patch

2008-06-23 Thread Marco Pesenti Gritti
Same on latest Update.1 image I have no way to test olpc-3 tonight but I assume XDG_SESSION_COOKIE is not set there, since that's where all of this started :) Marco On Tue, Jun 24, 2008 at 2:34 AM, Marco Pesenti Gritti <[EMAIL PROTECTED]> wrote: > On my stock Fedora 9, XDG_SESSION_COOKIE is set

Re: olpc-dm ck-connector patch

2008-06-23 Thread Marco Pesenti Gritti
On my stock Fedora 9, XDG_SESSION_COOKIE is set correctly when running startx... Marco On Tue, Jun 24, 2008 at 1:44 AM, Marco Pesenti Gritti <[EMAIL PROTECTED]> wrote: > It looks like xinit in Fedora is supposed to support ConsoleKit: > > https://bugzilla.redhat.com/show_bug.cgi?id=233183 > > Not

Re: olpc-dm ck-connector patch

2008-06-23 Thread Marco Pesenti Gritti
It looks like xinit in Fedora is supposed to support ConsoleKit: https://bugzilla.redhat.com/show_bug.cgi?id=233183 Not sure why this would not be working... Marco ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel

olpc-dm ck-connector patch

2008-06-20 Thread Daniel Drake
Hi, Background for others: olpc3 is a bit broken because HAL doesn't let sugar do anything like mount USB drives, reboot/shutdown, etc. This is because HAL is not able to determine if sugar is the "active" user of the machine. sugar (well, olpc-dm) needs to register itself with ConsoleKit so that