我已经为树莓派3创建了x11 yocto(嵌入式)构建。 我希望我的QT应用程序在启动时启动。 我已经完成的工作如下
1- created a launch script (acess_service) and placed it in /etc/init.d location (with 755 permissions)
2- executed update-rc.d access_service defaults
3- This step has created links of my service file in all /etc/rcX.d folders
4- I can launch the script to start and stop from terminal
像/etc/init.d/access_service start
并停止,我的图形应用程序成功启动。
现在的问题是,当我重新启动PC时,它永远不会自动启动。我只看到终端。
我也尝试了其他几个选项,例如将启动脚本添加到inittab或配置文件中 该选项似乎都不适合自动启动应用程序。 有人可以帮忙吗?