From: anon4321 <ano...@co...> - 2009-04-26 14:40:13
|
Using the overo desktop image, the seemly easiest way of displaying an "appliance" interface is to write a x windows program and run it in place of the enlightenment desktop. If I understand things, the path to executing the desktop is: - init processes all the scripts in the /etc/rcX.d directory where X is the runlevel which by default is 5 specified in /etc/inittab. - /etc/rc5.d has a script called S99gpe-dm which runs /usr/bin/gpe-dm - from the information here http://gpe.handhelds.org/projects/GPE-login.shtml gpe-dm runs /etc/X11/Xinit - Xinit runs all the scripts in /etc/X11/Xinit.d - the /etc/X11/Xinit.d/99gpe-login script sources /etc/sysconfig/gpelogin which sets the AUTOLOGIN value to true so that login is actually skipped and things continue to run as root - 99gpe-login also executes /etc/X11/Xsession - Xsession runs everything in /etc/X11/Xsession.d - Xsession.d contains the script 99xWindowManager which simple executes x-window-manager - in the desktop image, /usr/bin/x-window-manager starts enlightenment via /usr/bin/enlightenment_start. So, if I change x-window-manager to start an X application, it looks more "appliance-like". If I was making a picture frame, the X application would just start showing pictures. I tested this by just running sol (itaire) in x-window-manager. Solitaire starts automatically and even if you close it, it restarts. What do you guys think? Is this a good way to go? What problems would I encounter (like security, GUI strangeness)? Thanks. Bill Matt Singer wrote: > > Dave, > > I have a overo on order but not received yet so my answer is based on > other platforms... > > I think the easiest thing to go is to: > > 1) Edit /etc/inittab - Change run level 5 to not start the display > manager, but run either startx or xinit > 2) Edit root's .xinit file to start your program. > > Matt Singer > > -----Original Message----- > From: Ryan [mailto:gu...@ra...] > Sent: Thursday, April 23, 2009 4:35 PM > To: 'General mailing list for gumstix users.' > Subject: Re: [Gumstix-users] How to make Overo with Palo43 auto-login > > For what its worth...if you really want to control boot time you could > write/modify your own init. I'm probably off a bit, but init is pretty > much the first process that gets created and one of the things it normally > does is kick off the /etc/rc.* scripts that Dave mentioned. If you > need/want that level of control you could look up info on linux init, I'm > guessing someone here with more linux experience than myself could explain > it better. > > Kind regards, > Ryan > > -----Original Message----- > From: Dave Hylands [mailto:dhy...@gm...] > Sent: Thursday, April 23, 2009 12:25 PM > To: General mailing list for gumstix users. > Subject: Re: [Gumstix-users] How to make Overo with Palo43 auto-login > > Hi guys, > >> I was wondering where one would start if you were building an appliance > like >> a picture frame, weather station or answering machine. >> >> Ideally, I'd like to know how to take control of the graphics display and >> have an X application start on boot up to display the appliance interface >> without logging in or seeing the normal desktop. >> >> Any good sources for this type of information? > > So there is a difference between automatically logging in, and > starting a program at boot time. > > You can have stuff start automatically at boot time by adding entries > into /etc/rc.d (this is what buildroot uses - OE might be slightly > different - but the concept is the same). > > This is the technique used to start the web server, ssh server, etc > which all automatically start without anybody having to login. > > You generally don't need to make the login automatic, since the login > is purely for human interaction with the machine. > > -- > Dave Hylands > Shuswap, BC, Canada > http://www.DaveHylands.com/ > > ---------------------------------------------------------------------------- > -- > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > ---------------------------------------------------------------------------- > -- > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensign option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.0.238 / Virus Database: 270.12.0/2068 - Release Date: 04/23/09 > 06:30:00 > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensign option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > -- View this message in context: http://www.nabble.com/How-to-make-Overo-with-Palo43-auto-login-tp23149240p23242825.html Sent from the Gumstix mailing list archive at Nabble.com. |