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?
Solved! Go to Solution.
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
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
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
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
thank you