[Linux-aus] Booting Into X Application
    Jeff Waugh 
    jdub at perkypants.org
       
    Thu Sep  5 03:26:06 UTC 2002
    
    
  
<quote who="David Brodrick">
> I would like my app to restart if someone shuts it down or it crashes. 
> 
> Maybe I could write a 
> 
> while /bin/true; do ./myapp; done 
> 
> type wrapper scipt and call this from .xsession.
Or you could just rely on X restarting.
> However then I still need to call startx from somewhere. Can I do this
> from an /etc/init.d/ script?
Sure, one good way of doing it is starting X from /etc/inittab, then you can
set it to respawn.
- Jeff
-- 
                    Two words: Japanese technofetishism.                    
    
    
More information about the linux-aus
mailing list