On Friday 07 Jan 2011, Ralph Corderoy wrote:
> John Carlyle-Clarke wrote:
> > Of course, if you have more than one X session running, or if you are
> > running X remotely, then things may go a bit wonky since DISPLAY will
> > need to be something else!
> 
> One way for this to happen is to "switch user" so that other user logs
> in on their own desktop.  `echo $DISPLAY' will show something else on
> that second X server, probably ":20.0".  So if one day that other user
> beats you to the machine, he gets :0.0 and you get lumbered with :20.0.
> 
> Where is this script to run at boot time?  It may also fail if the
> user's desktop isn't up and running by then.

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.

-- 
                Terry Coles
                64 bit computing with Kubuntu Linux


--
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