olpc-dm ck-connector patch
Marco Pesenti Gritti
mpgritti at gmail.com
Tue Jun 24 05:44:46 EDT 2008
2008/6/24 Tomeu Vizoso <tomeu at tomeuvizoso.net>:
> On Tue, Jun 24, 2008 at 4:09 AM, Marco Pesenti Gritti
> <mpgritti at gmail.com> 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:
>> This worked fine for us.
>> In Fedora 9, ConsoleKit support is implemented as a small executable
>> run by xinitrc:
>> Now, olpc-dm is calling startx like this:
>> execl("/usr/bin/startx", "startx", "/usr/bin/olpc-session", "--",
>> "-fp", "built-ins", "-wr", NULL);
>> Which means that the default xinitrc is not executed and hence we
>> never run ck-xinit-session.
>> *If* my theory is correct (I can't verify it right now) then fixing
>> this could be as easy as running ck-xinit-session from olpc-session.
> Hmm, who calls olpc-session? It doesn't appear in pstree.
> Modifying startx to call xinit inside ck-xinit-session didn't fixed
> these issues:
> │ ├─login───bash
> │ ├─mingetty
> │ └─olpc-dm───startx───ck-xinit-sessio───xinit─┬─X
> Any other idea?
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 :(
More information about the Devel