How to run x application automatically in Wayland environment

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to run x application automatically in Wayland environment

跳至解决方案
3,371 次查看
liyigang
Contributor III

hi,

     On imx6 platform, use yocto warrior to generate Wayland image, QT program or chromium can be run manually at the terminal,However, there is no response to the automatic running of QT program at boot time。

   Wayland doesn't seem to have the. Desktop function. What do I need to do if I want to run an X application automatically?

标签 (4)
1 解答
3,304 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Li yigang,

The question is not related to i.MX or linux BSP, just on how to run a application automatically when linux starts up.

Actually , you can get a lot of experience from internet.

for you question, it is very similar to boot on ubuntu :

-------------------------

Open/home/root/.profile, and the line:

/usr/bin/chromium/chrome --no-sandbox --disable-setuid-sandbox --user-data-dir=/home/root

------------------------

Try it, please!

Have  a nice day!

B.R,

weidong

在原帖中查看解决方案

4 回复数
3,304 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

Hi,

  X application should run on the xwayland image, not wayland.

Hope the information is helpful to you.

Have a nice day!

B.R,

Weidong

0 项奖励
3,304 次查看
liyigang
Contributor III

The following two ways of making images have been tried

DISTRO=fsl-imx-xwayland MACHINE=imx6qsabresd source fsl-setup-release.sh -b build-xwayland

DISTRO=fsl-imx-wayland MACHINE=imx6qsabresd source fsl-setup-release.sh -b build-wayland

I want to run chromium automatically when I starting up

0 项奖励
3,305 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Li yigang,

The question is not related to i.MX or linux BSP, just on how to run a application automatically when linux starts up.

Actually , you can get a lot of experience from internet.

for you question, it is very similar to boot on ubuntu :

-------------------------

Open/home/root/.profile, and the line:

/usr/bin/chromium/chrome --no-sandbox --disable-setuid-sandbox --user-data-dir=/home/root

------------------------

Try it, please!

Have  a nice day!

B.R,

weidong

3,304 次查看
liyigang
Contributor III

thank you

0 项奖励