[Linux-aus] Booting Into X Application
    David Brodrick 
    brodrick at fastmail.fm
       
    Wed Sep  4 21:46:09 UTC 2002
    
    
  
> If your app can manage its own size, set up an .xsession or .xinitrc like
> this:
> 
> exec /usr/bin/application
> 
> Then run startx. Your app will start with no window manager or desktop
> environment. Without killing X, no one will be able to start or use software
> other than your own.
Great, thanks Jeff!
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. However then I still
need to call startx from somewhere. Can I do this from an /etc/init.d/
script?
Cheers again,
  Dave
    
    
More information about the linux-aus
mailing list