How do I get Raspberry Pi to boot directly into browser?

view story

http://stackoverflow.com – I have put the following line in my /etc/bash.bashrc file: chromium--kiosk www.bbc.co.uk However I then get an error at start up: "(chromium:2100): Gtk-WARNING **: cannot open display:" If I set the Pi to boot into OS at startup it chromium never appears but if I start a terminal window it suddenly opens chromium in kiosk mode and with the specified web page! What am I doing wrong? (HowTos)