I am trying to use an embedded wizard based on STM32MP1.I am testing using the STM32MP157C-DK2 discovery board.I have successfully run the demo application by referring to the link below.https://doc.embedded-wizard.de/getting-started-stm32mp157c-dk2?v=10.00
But now the weston service starts automatically on boot.In order to run the EW App, a procedure to terminate the weston service is required.# systemctl stop firstname.lastname@example.org
I tried to disable the automatic start of the weston service by referring to the wiki below.https://wiki.st.com/stm32mpu/wiki/How_to_stop_and_start_Weston
but it does not work properly.Still the weston service will run automatically and a demo application will appear.Status is static after disable as shown below.
root@stm32mp1:~# systemctl disable email@example.com@stm32mp1:~# systemctl status firstname.lastname@example.org[[0;1;32m*[[0m email@example.com - Weston Wayland Compositor (on tty7) Loaded: loaded (/lib/systemd/system/weston@.service; static; vendor preset: disabled) Active: [[0;1;32mactive (running)[[0m since Fri 2021-03-05 06:00:23 UTC; 16min ago Main PID: 3884 (weston) Memory: 792.0K CGroup: /firstname.lastname@example.org > 3884 /usr/bin/weston --log=/var/log/weston.log --xwayland
Do you know how to disable the weston service so that the EW app can run automatically at boot time?
Thank you in advance.
According to ST Wiki following command should disable the automatic start of the Weston service:
systemctl disable email@example.com
However, this is not working on my STM32MP157C-DK2 system, too. An alternativ solution, that is working for me is to mask the service:
systemctl mask firstname.lastname@example.org to disable the Weston service andsystemctl unmask email@example.com to re-enable the Weston service
Thanks for the answer.
I have already tried the mask option.The weston service was not running.
root@stm32mp1:/usr/local# systemctl status firstname.lastname@example.org
Loaded: masked (Reason: Unit email@example.com is masked.)
Active: inactive (dead)
However, when I run EmbeddedWizard, an initialization failure occurs.
Initialize Display... [failed]
Ask Embedded Wizard
Welcome to the question and answer site for Embedded Wizard users and UI developers.
Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!