On Sun, 27 Aug 2006 22:36:31 +0300 Eugen Minciu <[EMAIL PROTECTED]> wrote: I've figured out what causes the problem, but I don't know how to fix it this time.
This happens because once I replace the execl() call in entrance_session_start_user_session, the environment variables for the user are no longer loaded. If anyone could tell me how to load these settings from C code, I'd very much appreciate it. As things stand, at this point, entrance does work with this, and the E17 session starts, but many issues can quickly be noticed, probably caused by not setting the environment variables to some proper values. > On Sun, 27 Aug 2006 22:30:58 +0300 > Eugen Minciu <[EMAIL PROTECTED]> wrote: > > Sorry, it seems that if I use this I get some issues within e. If I try to > start an application from the run command thingie, it will tell me that the > application failed to start. > > I'll try to see what causes this. If anyone would be willing to investigate > and/or give me any clues it would be appreciated. > > > Here's a new patch for entranced and entrance. > > > > This time I did what the comment suggested in both places. I used strtok > > and parsed directly into a char ** which then gets run by execv/execvp. > > > > If my code strikes you as ugly (I'm not sure if it should) be sure to tell > > me what I did wrong and I'll try to fix it some more. > > > > BTW, this diff is made from e17/apps/entrance. I'm sorry, is this what you > > meant or should I have made it dirrectly from e17/ ? > > > > Eugen. > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel