I wanted to run a self made application based on C++ and opencv when I power on my Pi. My application is controlling the GPIO ports as well thus needs to be run as root. Followed a few articles in parts because all the methods of a perticular article were not working. 1) To auto log in and auto start Pi I have followed this article http://www.opentechguides.com/how-to/article/raspberry-pi/5/raspberry-pi-auto-start.html
2) I copied my application into the ./bin folder
3) To autostart the LXDE terminal and to auto run my application i used the following link http://www.raspberrypi-spy.co.uk/2014/05/how-to-autostart-apps-in-rasbian-lxde-desktop/ After doing all this I rebooted my pi but got stuck at boot with the following error
First I get a blank screen and for a second my Pi-Cam's Led glows then nothing at all then I'll need Ctrl+Alt+F1 to get the above screen. I cannot log into my pi. I tried Ctrl+C, Exit etc but nothing works.