Typically, your init process will be a shell script of some sort that sets up your environment (launches daemons, mounts partitions, etc.) and then launches your app. There are several "slim" environments (SLiM login manager, Slim for PHP5, Slim templates for Ruby, etc.), so I'm not sure which one you are referring to. If you need an X server, launch it from the shell script you have as your init process and then launch your app from with the init process shell script or as some start-up script in your X environment. As long as the init process shell script launches all of the pieces that you need to get everything working, and the shell script never terminates, you'll be fine.
Andrew On Saturday, February 1, 2014 12:13:12 AM UTC-5, Kishor Dhanawade wrote: > > Hello Andrew sir, > My applixcation is GUI application and it requires > desktop environment (slim in my case). Is it possible to execute GUI > appllication as init process.And I have already removed non required > deamons and services.I got success in reducing about 4-5 second. thank you > for your help. > > > > > On Thu, Jan 30, 2014 at 2:44 AM, Andrew Henderson > <[email protected]<javascript:> > > wrote: > >> Hello Kishor. I suggest that you read about the "fbcondecor" kernel >> patch to learn about how to keep a boot splashscreen up beyond that of the >> Tux penguin logo that you have now. >> >> Much of the time period where the logo is not on the screen is due to >> filesystem checks and daemons starting. You should make your application >> become the "init" process for your system and manually start whatever >> daemons you need. That will probably cut your boot time in half, at least. >> I trimmed down my system and got the boot to about 20 seconds, but when I >> made my app the init process the boot went down to about 8 seconds when the >> app started and fully usable in about 10 seconds. >> >> Andrew >> >> >> On Saturday, January 25, 2014 7:15:25 AM UTC-5, Kishor Dhanawade wrote: >>> >>> Hii, >>> I am using a Beaglebone black board for my application with >>> ubuntu-12.04(armhf)-3.8.13 kernel. My application is executing after 20 >>> seconds from power on. For this much of time I want to keep the linux >>> logo(penguin logo) appearing on screen before my application starts. Right >>> now it is appearing for 2 seconds after that blank screen for 18 seconds. >>> What modification should I do to achieve 2 seconds to 20 seconds?? >>> Thanking you. >>> >>> Regards, >>> Kishor >>> >> -- >> For more options, visit http://beagleboard.org/discuss >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "BeagleBoard" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/beagleboard/04U3ssflXoM/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
