I have answered this before here
If you are using Jessie then there should already be an existing folder for LX-Session. The folder is the following:
if you are using an older version then you can create it using:
mkdir -p /home/pi/.config/lxsession
Now, you can create a file :
add the tag in the file of your browser:
@firefox-esr (@iceweasel) # whichever you are using
press CTRL+O and CTRL+X
then reboot your Pi:
This should get your browser working on reboot of Pi.
try installing the
sudo apt-get install firefox-esr
autostart file in the
for some Pis it is in
To have FireFox perform a clean start up. Need to go to about:config and search for exit then toggle " browser.helperApps.deleteTempFileOnExit " to false on reboot FireFox will open clean.