Beaglebone引导至Qt App [英] Beaglebone Boot to Qt App

查看:100
本文介绍了Beaglebone引导至Qt App的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我搜索了&谷歌很多,但我不能让这个工作.

I have searched & googled a lot but I cannot get this to work.

我希望Beaglebone可以启动进入我的Qt应用程序.但是,我得到的是GUI可以正常启动,然后在几秒钟内Angstrom登录屏幕将覆盖我的GUI,该GUI仍在后台运行.

I want the Beaglebone to boot up into my Qt application. However, what I get is that the GUI boots up OK but then in a few seconds the Angstrom login screen overwrites my GUI, which stays running in the background.

我在/etc/systemd/system中设置了systemd服务,如下所示:

I set up a systemd service as follows in /etc/systemd/system:

#!/bin/sh

[Unit]
Description=Meta Systemd script
[Service]
USER=root
WorkingDirectory=/home/root
ExecStart=/bin/sh -c 'source /etc/profile ; /home/root/meta6 -qws'
After=local-fs.target
Type=oneshot
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

我通过以下方式激活了它:

I activated it with:

systemctl enable meta.service

我通过以下方式禁用了gdm:

I disabled gdm with:

systemctl disable gdm

我怀疑也许我应该更改After语句以等待直到其他服务完成.但是呢?

I suspect that maybe I should change the After statement to wait 'til some other service is complete. But what?

关于, 詹姆斯

推荐答案

以下命令将禁用Beaglebone Black运行埃的gdm

The following commands will disable gdm on Beaglebone Black running angstrom

update-rc.d -f gdm remove
systemctl disable gdm.service

这篇关于Beaglebone引导至Qt App的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆