In my case I needed to set the display variable on my crontab command:
*/5 * * * * DISPLAY=:0 /home/pi/scripts/refresh.sh # refresh webpage every 5 minutes
Make sure to create crontab when logged in as kiosk user (not root!) via:
Hi All, New to the forums, intermediate Linux understanding - purchased a couple Pi's (one destined to be running Raspbmc, and the other Wheezy web server) SD cards: Patriot LX 16GB microSDHC's (PSF16GMCSDHC10) with adapter Distros tried: Raspbian-wheezy-2012-08-16, Raspbian-R3 (unofficial), Raspbmc...