Hello David and John,
Thanks for your reactions. Sorry for the delay, was occupied with some other duties like skiing....
echo $DISPLAY from the debian command line returns nothing (a blank line).
The same command form the debian command line coming from the LXDE interface gives: :0. So I issue the sudo python myprog.py command after the LXDE shell has been loaded: that works for me.I need sudo because of the Adafruit library, but I suppose that is another story.
Would be great to run the program without LXDE but I guess that will not work.
The next problem is: how to run the program automatically upon start-up. I prefer without LXDE but I am afraid that is not possible. So I need to start myprog.py form a kind of start-up script....
Btw: what is X11? The link is not terribly clear for me as a novice...
Best regards,
Harke