How to run x application automatically in Wayland environment

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to run x application automatically in Wayland environment

Jump to solution
3,325 Views
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?

Labels (4)
1 Solution
3,258 Views
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

View solution in original post

4 Replies
3,258 Views
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 Kudos
3,258 Views
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 Kudos
3,259 Views
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,258 Views
liyigang
Contributor III

thank you

0 Kudos