I was reading up the docs about how to autostart scripts on the raspberry pi and I saw the posts where we can insert a line in
However, only inserting the appropriate line in /etc/xdg/lxsession/LXDE-pi works for me. So could someone explain what is the difference between the two?
On another note, I am connecting using ssh and I do "startlxde", which works fine. However, if I do "startx", it gives a few errors/warnings about some g22 module and nothing happens for a long time. I have to Ctrl-C it. Is startx operational on the RPi, and if not, why hasn't it been removed/blocked.
edit: I also found a "startlxde-pi". Does anyone know why this is there, and how's it different from "startlxde"?