Launch JavaFX application on boot, when it exits run a normal desktop for the pi user.If you want to start the desktop as root, I'd do it this way: That starts the desktop as root but without changing all the user config locations and file from those of the user pi. On sudo startx: yeah that's a bad idea.All of these can affect whether your program runs or not. Without going into too much detail (I can't I'm not a systemd expert) things like what the current directory is, where systemd look to find stuff you've not specified a full path to, and more. On systemd vs logged in user: there are a lot of things that aren't immediately obvious which are different in those cases. ![]() Now, to try and address some of your problems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |