• Rob's side project: I recently started Gun-Forums.com and we currently have a $100 raffle - if you're into guns, join up and enter the raffle to win $100.00. Gun Forums

Auto-starting a GUI application in BeagleBone black over debian distribution


New Member

I'm trying to launch my application at startup. Its a GUI application, so my usual go to of crontab isn't a good idea. I also require to export a variable DISPLAY as 0 before the python application is run.

I've tried using following script in /home/debian/.config/autostart/fileName.desktop, but no joy
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
export DISPLAY=:0
@lxterminal -e /usr/bin/python3 ~/path/to/the/file.py
Please suggest on what I can do here.


Well-Known Member
You can set startup applications in the settings of your desktop envoirment.

Members online