Michael Meeks wrote:
Hi there,

        I append a couple of patches that make 'uxlaunch' work (well not fully,
yet[1]) - for me on openSUSE, I hope git format-patch output, in-line
works well.

        I was also amused, when reading the code to see another hand-written
piece of 'fork / exec' code - does it deal with file descriptors
properly ? it is normal to double fork, and so on. Then of course, when
I ran it, and X crashes [ like it does ;-] - I ended up in a hung state;
the pstree output:

     
├─rc(329)───startpar(690)───xdm(763)───uxlaunch(823)───uxlaunch.bin(824)─┬─Xorg(830)
     │                                                                        
└─bkl-orbiter(973)

$ ps auwx | grep Xorg
root       830  0.1  0.0      0     0 ?        Zs   05:08   0:00 [Xorg] 
<defunct>

        Though strangely uxlaunch.bin is blocked in the waitpid for the right
pid. I can reproduce the problem by doing a killall -15 Xorg on an Intel
build.

        Any chance we can use g_spawn there instead ?

        Regards,

                Michael.

[1] - still having grief with ConsoleKit:
Error: Unable to open session with ConsoleKit:
org.freedesktop.CkConnector.Error: Unable to open session: Rejected send
message, 2 matched rules; type="method_call", sender=":1.4" (uid=1000
pid=824 comm="/usr/sbin/uxlaunch.bin ")
interface="org.freedesktop.ConsoleKit.Manager"
member="OpenSessionWithParameters" error name="(unset)"
requested_reply=0 destination="org.freedesktop.ConsoleKit" (uid=0
pid=828 comm="/usr/sbin/console-kit-daemon "))

for consolekit to work your pam setup needs to be correct and you need
to allow OpenSessionWithParameters in the the dbus config file...
_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org 
once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to