olpc-dm ck-connector patch
Marco Pesenti Gritti
mpgritti at gmail.com
Mon Jun 23 22:09:08 EDT 2008
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 implemented as a small executable
run by xinitrc:
http://cvs.fedoraproject.org/viewcvs/rpms/xorg-x11-xinit/F-9/ck-xinit-session.c?rev=1.1&view=log
http://cvs.fedoraproject.org/viewcvs/rpms/xorg-x11-xinit/F-9/xinitrc?rev=1.5&view=markup
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.
Marco
More information about the Devel
mailing list