Disable weston autostart in STM32MP157C-DV2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-03-04 12:15 AM
I am evaluate the STM32MP157C-DV2 board.
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
root@stm32mp1:~# systemctl disable weston@root.service
root@stm32mp1:~# reboot
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 weston@root.service
root@stm32mp1:~# systemctl status weston@root.service
[[0;1;32m*[[0m weston@root.service - 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: /system.slice/system-weston.slice/weston@root.service
> 3884 /usr/bin/weston --log=/var/log/weston.log --xwayland
What's the problem?
Thank you in advance.
Solved! Go to Solution.
- Labels:
-
Graphics and Display
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-03-16 2:48 AM
Hi @hochul yoo ,
Sorry the wiki page was not up-to-date, this is missing informations ( added in couple of days) :
The Weston service is automatically started on boot thanks to an udev rules file, most of the time located in /etc/udev/rules.d/*weston*, for instance /etc/udev/rules.d/71-weston-drm.rules.
To disable this service, rename this file (by changing its extension for instance), then restart your board.
To re-enable this service, rename this file according to the udev rules of your system.
Hope it help
Olivier
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-03-16 2:48 AM
Hi @hochul yoo ,
Sorry the wiki page was not up-to-date, this is missing informations ( added in couple of days) :
The Weston service is automatically started on boot thanks to an udev rules file, most of the time located in /etc/udev/rules.d/*weston*, for instance /etc/udev/rules.d/71-weston-drm.rules.
To disable this service, rename this file (by changing its extension for instance), then restart your board.
To re-enable this service, rename this file according to the udev rules of your system.
Hope it help
Olivier
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-03-17 2:00 AM
Thank you.
It works fine.
