Hi Terry,

> This is going to run on our TC live disc with the command to start it
> being in /opt/bootlocal.sh.  There will only be one user when it is
> run and I know that X & the desktop are running when it gets to this
> part of the script.  I suppose it could conceivably happen the other
> way round, but I haven't seen it yet.
> 
> However, just in case; is there a reliable way of testing to see if X
> is up before launching Chromium?  If so, I could wait in a loop until
> it is.

I think you're approaching it the wrong way around.  When the X server
starts it runs a command and when that command finishes the X server
stops.  The command normally starts a window or session manager which in
turn start up panels, initial applications, etc.  It's here that you
should be running a browser.

Because of the flexibility it's hard to give explicit instructions as to
how to set this up.  Is there a ~/.xsession or ~/.xsessionrc file?  If
it's a shell script you should be able to spot where to run the browser
in there.

Alternatively, http://www.tinycorelinux.com/faq.html#appstart

Cheers,
Ralph.


--
Next meeting:  Crown Hotel, Blandford Forum, Tuesday 2011-01-11 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue

Reply via email to