I have added to sudo nano /etc/xdg/lxsession/LXDE/autostartthe line:python /path/to/script.pyThis launches script.py on boot.  Which is what I want.  However, I can't see the output from script.py about what it is doing.  Autostart just runs it in the background.  How can I get script.py to run in a terminal?I'm using debian.
Run autostart program in a terminal instead of having it run hidden in background
debian;boot;lxde
You should see the output from your program in ~/.xsession-errors. If you want to run the command in a terminal itself you have to install a terminal which allows you to specify the command to be executed (most of them should support it), i.e. for xterm you can run:xterm -e python /path/to/scriptand place it in your autostart file.