Hi Harke, > No problem, I can do that, in fact I have done that many times with the >>> same results. I can enter: cd /home/debian/eme/ and then: python aceme.py >>> or I can enter: python /home/debian/eme/aceme.py. That works in both ways >>> exactly the same. When run under the bash it gives an error saying that >>> Tkinter does not work because of a $Display error. When run under QTerminal >>> in LXQT it works fine. This is the reason that I must be sure in the >>> service file that the graphics modules are loaded first. In fact this is >>> the (only) way to start the application. >>> Conclusion: the command line: python /home/debian/eme/aceme.py works >>> perfectly. However, this is not what I need to put after: ExecStart (as far >>> as I understand....). Now I have: ExecStart=/home/debian/eme/aceme.py. And >>> I made aceme.py executable. >>> I do not know bash scripts so if necessary please help me here. >>> I hope this helps in the analysis. >>> >> Do I understand correctly that your application, which you're trying to run on boot, displays a GUI? I strongly suspect systemd cannot launch GUI programs. It's meant for daemons which work in the background and don't display anything.
Not having done this personally on a Beagle, I'd try to go for something like this: 1. Ensure Beagle starts a graphical environment (LXQT or which ever you prefer) 2. LXQT automatically logs in with your user and brings up the desktop 3. LXQT autostart mechanism triggers your application. Somebody has written instructions for step 3 here: https://wiki.archlinux.org/index.php/LXQt#Autostart -- Kind regards, Tarmo -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/1b9386b7-9f25-4ed7-b5ac-373a1287bdd6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
