I want to execute an application as root user(sudo) on startup. I'm using Beaglebone black with debian jessie lxqt image. I have created a .desktop entry to autostart my app in /etc/xdg/autostart also enabled the autologin feature of lightdm. It works smoothly on the very first boot then on the second time it shows the login window and on the third time it works. It works on alternate boot.
My .xsessio-errors displays the invalid MIT-Magic key error on sometimes and X server connection refused error on other times. Tried the exporting .Xauthority of debian user to root user. No change. -- 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]. For more options, visit https://groups.google.com/d/optout.
