Hi, Why not separate the two questions in two dedicated mail threads?
As for question two, I guess you are starting the service from a command line outside of the X environment. In that case you want to set the DISPLAY environment variable. You could also have the service start as part of the graphical session. The exact details depend on your graphical environment (I think you need to know the session manager) Best wishes, Hugo Op ma 3 feb. 2020 09:48 schreef Destroy <[email protected]>: > Hi everybody, > > I have two topics to which haven't find a solution. > The first one is the automount of usb sticks, i saw there is many solution > to solve this topic (usbmount, udisks2, autofs, fstab ecc..) but what is > the best solution on BBB and such as I can implement it. > The second one is start a graphical application immediately after boot. > Now I use a IoT image on my BBB and I start the server X at the boot time > with a service. > The problem is when try to run my application in another service, after > the server X start, I recieve the error "cannot open display". > > Thank to all for the support. > > -- > 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/538b632e-1b8d-45d0-ab7c-217d9ce08614%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/538b632e-1b8d-45d0-ab7c-217d9ce08614%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAHK0gJ0BNEnQQ3fxq2jCsLya-4sEG-C2S8B-3WpASLvqQ2KnYA%40mail.gmail.com.
