Autostart web page on login

Hi guys… I’ve got a BBB with a LCD7 cape running debian 7.0 “wheezy”, that I need to automatically open a web page on auto login. I don’t have a ~/.xinitrc file. I’ve tried editing the ~/.bashrc file with
chromium-browser --kiosk [http://example.com](http://example.com/)
and
chromium-browser --start-fullscreen --app=/var/www/info.php
I’ve also tried using openbox but with no success. I edited the ~/.config/openbox/autostart.sh When I open the terminal and type
openbox-session
it says:
Obt-Message: Xinerama extension is not present on the server
Openbox-Message: A window manager is already running on screen 0
What am I doing wrong…? Any help will be appreciated.

I got it solved. sudo nano /usr/share/xsessions/lightdm-xsession.desktop change the file to look like this: [Desktop Entry] Version=1.0 Name=Openbox Session Exec=openbox-session Icon= Type=Application. Then create a autorun file: sudo nano ~/.config/openbox/autostart and add the following: chromium --kiosk http://www.website.yo.website

i have done that using as follows:
in file vim /etc/init/tty1.conf
commented line :
exec /sbin/getty 8 34200 …
added line :
exec /usr/bin/login -f -p ubuntu </dev/tty1 > /dev/tty1 <2&1 #auto login for user ubuntu
exec startx #start X-Server
Finally in file ~/.config/openbox/autostart
mygui #this is the programme i want to run in kiosk mode.
that’s all.But only thing i cant prevent is, in every 10minutes HDMI monitor get blue.i think its screensaver or powersaver .whatever but it is eating my brain out.no solution yet.And by the way what “–kiosk” stands for in your autostart file?