When I read the documentation its says don't run xastir as root. Wouldn't the example here runs as the root user by using sudo?
My pi boots into the startx gui. I want xastir to start on boot but after startx gui is up. Otherwise xastir starts but runs in the background. I have to kill the service and restart it to make visible on the desktop.