Running Firefox in a While-loop for Kiosk

Kok, Auke sofar at
Wed Jul 18 07:21:16 CEST 2007

alexgill at wrote:
> Hello List,
> I have an LTSP setup with Firefox running atop XFCE (xfwm and xfdesktop) for the purpose of providing kiosk functionality.  My goal is to have FF always up -- and so it'd re-open after being closed.
> I'm using the "autostart" feature to launch the script at startup:
>     while true; do /usr/bin/firefox; done;
> Sometime this gets out of hand and will start launching ad infinitum....  But other times, it works nicely.  
> Has anyone every tried having such a large app loop like this?  Any advice on getting Firefox to always relauch in a sane and reliable way??

don't use the xfce-session manager. make a classical .xinitrc and have it end 
with `exec /usr/bin/firefox`. On start, have the user automatically logged on. 
If something goes wrong, ctrl-alt-backspace will fix everything.


More information about the Xfce mailing list