...
http://pimylifeup.com/raspberry-pi-webcam-server/
add the following 2 lines to /etc/init.d/motion
after the #
lines
LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libv4l/v4l1compat.so export LD_PRELOAD
You can open a window and see the stream
...