I am running a python program from raspberry pi, which running this as text console mode. In normal desktop mode my program working, but when in text console mode, it says that
gtk-warning cannot open display
I want to run my program as autostart but it is not working. what is the solution??