Hello, I was unaware of not being able to produce GUI ideas w/ daemons. Now, I know! Thanks to you two people for trying things out and knowing stuff. Thank you.
Seth On Friday, December 7, 2018 at 8:10:32 AM UTC-6, Harke Smits wrote: > > WOW!!!!! You made my day! This works! I am working about two weeks to get > this going but I was completely at the wrong track! > Thank you so much for your advice. > IOU! > Best regards, enjoy the weekend, > Harke > > On Fri, 7 Dec 2018 at 14:04, Tarmo Kuuse <[email protected] <javascript:>> > wrote: > >> 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 a topic in the >> Google Groups "BeagleBoard" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/beagleboard/goOORlttd2c/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/beagleboard/1b9386b7-9f25-4ed7-b5ac-373a1287bdd6%40googlegroups.com >> >> <https://groups.google.com/d/msgid/beagleboard/1b9386b7-9f25-4ed7-b5ac-373a1287bdd6%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- 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/15eacff0-6b85-4a56-9c7c-0b1b2cc99a90%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
